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