lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule30a.rb in sastrawi-0.1.3 vs lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule30a.rb in sastrawi-0.1.4

- old
+ new

@@ -6,10 +6,10 @@ contains = /^peng([aiueo])(.*)$/.match(word) if contains matches = contains.captures - return matches[0] << matches[1] + return "#{matches[0]}#{matches[1]}" end end end end end