This stemmer is based on Preslav Nakov's BULSTEM.
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