Stemmer.Step1c (Stemmer v1.2.0)
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 cry
→ cri
, by
→ by
, say
→ say
).
Functions
Link to this function
apply(word)
Link to this function
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 cry
→ cri
, by
→ by
, say
→ say
).
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"