Repository
Current version released
3 years ago
Versions
snowball
Snowball stemmers for deno. These stemmers are based on the compiled JavaScript stemmers from the snowball project version 2.2.0.
Usage
EnglishStemmer
import { EnglishStemmer } from "https://deno.land/x/snowball.english_stemmer.ts";
const englishStemmer = new EnglishStemmer();
const stem = englishStemmer.stem("enthusiastically");
assertStrictEquals(stem, "enthusiast");
Supported Languages
Unless specified, there is only one stemmer available called Language
Stemmer.
- Arabic
- Armenian
- Basque
- Catalan
- Danish
- Dutch
- DutchStemmer
- KraaijPohlmannStemmer
- English
- EnglishStemmer - Porter 2 or snowball algorithm
- PorterStemmer - Porter 1 stemmer
- LovinsStemmer - The first published stemming algorithm
- Finnish
- French
- German
- Greek
- Hindi
- Hungarian
- Indonesian (needs to be fixes)
- Irish
- Italian
- Lithuanian
- Nepali
- Norwegian
- Protugese
- Romanian
- Russian
- Serbian
- Spanish
- Swedish
- Tamil
- Turkish
- Yiddish