Sha256: 099febd9013e900ffa9250ae2e07050ae170e743814a9717c2d788092d3ede41
Contents?: true
Size: 356 Bytes
Versions: 5
Compression:
Stored size: 356 Bytes
Contents
module Sastrawi module Morphology module Disambiguator class DisambiguatorPrefixRule18a def disambiguate(word) contains = /^meny([aiueo])(.*)$/.match(word) if contains matches = contains.captures return 'ny' << matches[0] << matches[1] end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems