Sha256: a7f940f76b299d1101756d8e734106b68fdbef858bb13e23f96f921bf2a05302
Contents?: true
Size: 367 Bytes
Versions: 5
Compression:
Stored size: 367 Bytes
Contents
module Sastrawi module Morphology module Disambiguator class DisambiguatorPrefixRule10 def disambiguate(word) contains = /^me([lrwy])([aiueo])(.*)$/.match(word) if contains matches = contains.captures return matches[0] << matches[1] << matches[2] end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems