lib/sastrawi/stemmer/stemmer_factory.rb in sastrawi-0.1.0 vs lib/sastrawi/stemmer/stemmer_factory.rb in sastrawi-0.1.1

- old
+ new

@@ -3,9 +3,12 @@ require 'sastrawi/stemmer/cached_stemmer' require 'sastrawi/stemmer/stemmer' require 'sastrawi/stemmer/cache/array_cache' +## +# Stemmer factory helps creating a pre-configured stemmer + module Sastrawi module Stemmer class StemmerFactory def create_stemmer(is_dev = false) stemmer = Sastrawi::Stemmer::Stemmer.new(create_default_dictionary(is_dev))