class documentation

The Danish Snowball stemmer.

Note
A detailed description of the Danish stemming algorithm can be found under http://snowball.tartarus.org/algorithms/danish/stemmer.html
Method stem Stem a Danish word and return the stemmed form.
Class Variable __consonants The Danish consonants.
Class Variable __double_consonants The Danish double consonants.
Class Variable __s_ending Letters that may directly appear before a word final 's'.
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 __vowels The Danish vowels.

Inherited from _ScandinavianStemmer:

Method _r1_scandinavian Return the region R1 that is used by the Scandinavian stemmers.

Inherited from _LanguageSpecificStemmer (via _ScandinavianStemmer):

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 Danish word and return the stemmed form.

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

The Danish consonants.

__double_consonants: tuple = (source)

The Danish double consonants.

__s_ending: unicode = (source)

Letters that may directly appear before a word final 's'.

__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.

__vowels: unicode = (source)

The Danish vowels.