Stemmer v0.1.0-alpha.0 Stemmer.Step1c

Summary

Functions

Replace suffix y or Y by i if preceded by a non-vowel which is not the first letter of the word (so crycri, byby, saysay)

Functions

apply(word)
replace_suffix_y(word)

Replace suffix y or Y by i if preceded by a non-vowel which is not the first letter of the word (so crycri, byby, saysay).

Examples

iex> Stemmer.Step1c.replace_suffix_y("cry")
"cri"

iex> Stemmer.Step1c.replace_suffix_y("by")
"by"

iex> Stemmer.Step1c.replace_suffix_y("say")
"say"