@orama/stemmers

v1.0.1
Stemmers for Orama
full-text search search fuzzy search typo-tolerant search full-text stemming

Orama Stemmers

Orama can analyze the input and perform a stemming operation, which allows the engine to perform more optimized queries, as well as save indexing space.

Right now, Orama supports 30 languages and stemmers out of the box:

  • Arabic
  • Armenian
  • Bulgarian
  • Chinese (Mandarin - stemmer not supported)
  • Danish
  • Dutch
  • English
  • Finnish
  • French
  • German
  • Greek
  • Hindi
  • Hungarian
  • Indonesian
  • Irish
  • Italian
  • Japanese
  • Nepali
  • Norwegian
  • Portuguese
  • Romanian
  • Russian
  • Sanskrit
  • Serbian
  • Slovenian
  • Spanish
  • Swedish
  • Tamil
  • Turkish
  • Ukrainian
import { create } from '@orama/orama'
import { stemmer, language } from '@orama/stemmers/italian'

const db = create({
  schema: {
  components: {
    tokenizer: {
      stemming: true,
      stemmer,
      language
    }
  }
})

Read more in the official docs: https://docs.oramasearch.com/open-source/text-analysis/stemming.

License

Apache 2.0

npm i @orama/[email protected]

Metadata

Downloads

Maintainers