lib/string_extensions.rb in ealdent-uea-stemmer-0.9.4 vs lib/string_extensions.rb in ealdent-uea-stemmer-0.9.5

- old
+ new

@@ -25,9 +25,21 @@ def remove_suffix(suffix_size) self[0, size - suffix_size] end - def stem + def uea_stem DefaultUEAStemmer.instance.stem(self) + end + + def stem + uea_stem + end + + def uea_stem_with_rule + DefaultUEAStemmer.instance.stem_with_rule(self) + end + + def stem_with_rule + uea_stem_with_rule end end