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