lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule38b.rb in sastrawi-0.1.0 vs lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule38b.rb in sastrawi-0.1.1
- old
+ new
@@ -1,10 +1,10 @@
module Sastrawi
module Morphology
module Disambiguator
class DisambiguatorPrefixRule38b
def disambiguate(word)
- contains = /^([bcdfghjklmnpqstvwxyz])el([aiueo])(.*)$/.match(word)
+ contains = /^([bcdfghjklmnpqrstvwxyz])el([aiueo])(.*)$/.match(word)
if contains
matches = contains.captures
return matches[0] << matches[1] << matches[2]