Sha256: 8282d63a10f07630e6f6628c8897fdf4d0b710a80594970036e72ee71471fdb7
Contents?: true
Size: 363 Bytes
Versions: 4
Compression:
Stored size: 363 Bytes
Contents
module Sastrawi module Morphology module Disambiguator class DisambiguatorPrefixRule29 def disambiguate(word) contains = /^peng([bcdfghjklmnpqrstvwxyz])(.*)$/.match(word) if contains matches = contains.captures return matches[0] << matches[1] end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems