Stemmer v1.0.0-beta.0 Stemmer.Step3

Summary

Functions

Search for the longest among the following suffixes, and, if found and in R1, perform the action indicated

Functions

apply(word)
replace_suffix_in_r1(word)

Search for the longest among the following suffixes, and, if found and in R1, perform the action indicated.

Examples

iex> Stemmer.Step3.replace_suffix_in_r1("proportional")
"proportion"

iex> Stemmer.Step3.replace_suffix_in_r1("duplicate")
"duplic"

iex> Stemmer.Step3.replace_suffix_in_r1("dupliciti")
"duplic"

iex> Stemmer.Step3.replace_suffix_in_r1("duplical")
"duplic"

iex> Stemmer.Step3.replace_suffix_in_r1("colourful")
"colour"

iex> Stemmer.Step3.replace_suffix_in_r1("eagerness")
"eager"

iex> Stemmer.Step3.replace_suffix_in_r1("negative")
"negative"

iex> Stemmer.Step3.replace_suffix_in_r1("imaginative")
"imagin"