Skip to content

gkostadinov/py-bulgarian-stemmer

Repository files navigation

Bulgarian Stemmer

py-bulgarian-stemmer

This stemmer is based on Preslav Nakov's BULSTEM.

Sample usage

1) Load a stem rules context: The stemmer can load both pickle and plaintext files containing the stemming rules.

stemmer = BulgarianStemmer('stem_rules_context_1.pkl') # or .txt

2) Stem a given word:

stemmed_word = stemmer('обикновен')
stemmer.print_word('уникалният') # if you want to print it in the console

About

Python implementation of a bulgarian stemmer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages