porter-stemmer vocabulary
Factor handbook ยป Vocabulary index


Documentation
Porter stemming algorithm

Metadata
Tags:text, algorithms
Authors:Slava Pestov


Words

Ordinary words
WordStack effect
(consonant-seq)( n i str -- n )
-ed( str -- str ? )
-ed/ing( str -- str )
-eed( str -- str )
-ing( str -- str ? )
-ion( str -- newstr )
consonant-end?( n seq -- ? )
consonant-seq( str -- n )
consonant?( i str -- ? )
cvc?( str -- ? )
double-consonant?( i str -- ? )
last-is?( str possibilities -- ? )
ll->l( str -- newstr )
r( str oldsuffix newsuffix -- str )
remove-e( str -- newstr )
remove-e?( str -- ? )
skip-consonants( i str -- i str )
skip-vowels( i str -- i str )
stem( str -- newstr )
stem-vowel?( str -- ? )
step1a( str -- newstr )
step1b( str -- newstr )
step1c( str -- newstr )
step2( str -- newstr )
step3( str -- newstr )
step4( str -- newstr )
step5( str -- newstr )


Files


Metadata files


Children from resource:basis
VocabularySummary
porter-stemmer.test