Sha256: 7c813c7cf9428f5ed7d3ad072e26e345c2706e8d300b67e295fc9ba163eda0ef

Contents?: true

Size: 257 Bytes

Versions: 1

Compression:

Stored size: 257 Bytes

Contents

require 'sastrawi/version'

require 'sastrawi/stemmer/stemmer_factory'

module Sastrawi
  def self.stem(sentence)
    stemmer_factory = Sastrawi::Stemmer::StemmerFactory.new
    stemmer = stemmer_factory.create_stemmer

    stemmer.stem(sentence)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sastrawi-0.1.0.pre lib/sastrawi.rb