📄️ Stemming
The following examples shows how to import Lyra's internals using ESM imports. If you're still using CommonJS, you can import Lyra from @lyrasearch/lyra/cjs/stemmer instead of @lyrasearch/lyra/stemmer.
📄️ Stop-words
The words which are generally filtered out before processing a natural language are called stop words. These are actually the most common words in any language (like articles, prepositions, pronouns, conjunctions, etc) and does not add much information to the text. Examples of a few stop words in English are “the”, “a”, “an”, “so”, “what”.