class documentation

The Finnish Snowball stemmer.

Note
A detailed description of the Finnish stemming algorithm can be found under http://snowball.tartarus.org/algorithms/finnish/stemmer.html
Method stem Stem a Finnish word and return the stemmed form.
Class Variable __consonants The Finnish consonants.
Class Variable __double_consonants The Finnish double consonants.
Class Variable __long_vowels The Finnish vowels in their long forms.
Class Variable __restricted_vowels A subset of the Finnish vowels.
Class Variable __step1_suffixes Suffixes to be deleted in step 1 of the algorithm.
Class Variable __step2_suffixes Suffixes to be deleted in step 2 of the algorithm.
Class Variable __step3_suffixes Suffixes to be deleted in step 3 of the algorithm.
Class Variable __step4_suffixes Suffixes to be deleted in step 4 of the algorithm.
Class Variable __vowels The Finnish vowels.

Inherited from _StandardStemmer:

Method _r1r2_standard Return the standard interpretations of the string regions R1 and R2.
Method _rv_standard Return the standard interpretation of the string region RV.

Inherited from _LanguageSpecificStemmer (via _StandardStemmer):

Method __init__ Undocumented
Method __repr__ Print out the string representation of the respective class.
Instance Variable stopwords Undocumented
def stem(self, word): (source)

Stem a Finnish word and return the stemmed form.

Parameters
word:str or unicodeThe word that is stemmed.
Returns
unicodeThe stemmed form.
__consonants: unicode = (source)

The Finnish consonants.

__double_consonants: tuple = (source)

The Finnish double consonants.

__long_vowels: tuple = (source)

The Finnish vowels in their long forms.

__restricted_vowels: unicode = (source)

A subset of the Finnish vowels.

__step1_suffixes: tuple = (source)

Suffixes to be deleted in step 1 of the algorithm.

__step2_suffixes: tuple = (source)

Suffixes to be deleted in step 2 of the algorithm.

__step3_suffixes: tuple = (source)

Suffixes to be deleted in step 3 of the algorithm.

__step4_suffixes: tuple = (source)

Suffixes to be deleted in step 4 of the algorithm.

__vowels: unicode = (source)

The Finnish vowels.