porter2 v0.1.1 Porter2.Word

Functions concerned with the actual stemming and associated helper functions

Link to this section Summary

Link to this section Functions

Link to this function

is_word_short?(word)
is_word_short?(binary()) :: boolean()

Link to this function

primary_special_suffix_replacement(word)
primary_special_suffix_replacement(binary()) :: binary()

Link to this function

primary_suffix_deletion(word)
primary_suffix_deletion(binary()) :: binary()

Link to this function

r1_region(word)
r1_region(binary()) :: binary()

Link to this function

r2_region(word)
r2_region(binary()) :: binary()

Link to this function

remove_apostrophe_s_suffix(word)
remove_apostrophe_s_suffix(binary()) :: binary()

Link to this function

replace_suffixes(word)
replace_suffixes(binary()) :: binary()

Link to this function

reverse_r1_region(drow)
reverse_r1_region(binary()) :: binary()

Link to this function

reverse_r2_region(drow)
reverse_r2_region(binary()) :: binary()

Link to this function

secondary_special_suffix_replacement(word)
secondary_special_suffix_replacement(binary()) :: binary()

Link to this function

secondary_suffix_deletion(word)
secondary_suffix_deletion(binary()) :: binary()

Link to this function

transform_vowel_ys(word)
transform_vowel_ys(binary()) :: binary()

Link to this function

trim_leading_apostrophe(word)
trim_leading_apostrophe(binary()) :: binary()

Link to this function

word_ends_in_short_syllable?(word)
word_ends_in_short_syllable?(binary()) :: boolean()