Sha256: 8a7fa09a9d597b78578b4f9166052a1df0288c8b730c0a3257581a350084eed7
Contents?: true
Size: 373 Bytes
Versions: 5
Compression:
Stored size: 373 Bytes
Contents
module Sastrawi module Morphology module Disambiguator class DisambiguatorPrefixRule19 def disambiguate(word) contains = /^memp([abcdfghijklmopqrstuvwxyz])(.*)$/.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