@orama/stemmers
v3.0.1
Published
Stemmers for Orama
Downloads
24,500
Readme
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.