Stemmer v0.1.0-alpha.0 Stemmer.Step1b
Summary
Functions
Delete if the preceding word part contains a vowel, and after the deletion
Replace by ee
if in R1
Functions
Delete if the preceding word part contains a vowel, and after the deletion:
- if the word ends
at
,bl
oriz
adde
(soluxuriat
→luxuriate
), or - if the word ends with a double remove the last letter (so
hopp
→hop
), or - if the word is short, add
e
(sohop
→hope
)
Examples
iex> Stemmer.Step1b.remove_ed_edly_ing_ingly("luxuriating")
"luxuriate"
iex> Stemmer.Step1b.remove_ed_edly_ing_ingly("hopping")
"hop"
iex> Stemmer.Step1b.remove_ed_edly_ing_ingly("hoping")
"hope"