lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule10.rb in sastrawi-0.1.3 vs lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule10.rb in sastrawi-0.1.4
- old
+ new
@@ -6,10 +6,10 @@
contains = /^me([lrwy])([aiueo])(.*)$/.match(word)
if contains
matches = contains.captures
- return matches[0] << matches[1] << matches[2]
+ return "#{matches[0]}#{matches[1]}#{matches[2]}"
end
end
end
end
end