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