Package nltk :: Package stem :: Module snowball :: Class DutchStemmer
[hide private]
[frames] | no frames]

type DutchStemmer

source code

          object --+            
                   |            
        api.StemmerI --+        
                       |        
_LanguageSpecificStemmer --+    
                           |    
            _StandardStemmer --+
                               |
                              DutchStemmer

The Dutch Snowball stemmer.


Note: A detailed description of the Dutch stemming algorithm can be found under http://snowball.tartarus.org/algorithms /dutch/stemmer.html.

Instance Methods [hide private]
unicode
stem(self, word)
Stem a Dutch word and return the stemmed form.
source code

Inherited from _StandardStemmer (private): _r1r2_standard, _rv_standard

Inherited from _LanguageSpecificStemmer: __init__, __repr__

Class Variables [hide private]
unicode __vowels = u'aeiouyè'
The Dutch vowels.
tuple __step1_suffixes = (u'heden', u'ene', u'en', u'se', u's')
Suffixes to be deleted in step 1 of the algorithm.
tuple __step3b_suffixes = (u'baar', u'lijk', u'bar', u'end', u'ing',...
Suffixes to be deleted in step 3b of the algorithm.
Method Details [hide private]

stem(self, word)

source code 

Stem a Dutch word and return the stemmed form.

Parameters:
  • word (str, unicode) - The word that is stemmed.
Returns: unicode
The stemmed form.
Overrides: api.StemmerI.stem

Class Variable Details [hide private]

__step3b_suffixes

Suffixes to be deleted in step 3b of the algorithm.
Type:
tuple
Value:
(u'baar', u'lijk', u'bar', u'end', u'ing', u'ig')