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