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