Sha256: c0591cc400e3086695dec150c62ee16df1423a4003325c85ed904149b01f0b83

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

module Sastrawi
  module Morphology
    module Disambiguator
      class DisambiguatorPrefixRule12
        def disambiguate(word)
          contains = /^mempe(.*)$/.match(word)

          if contains
            matches = contains.captures

            return "pe#{matches[0]}"
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sastrawi-0.1.4 lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule12.rb