Sha256: 0cf3cebca588f58c4f86f1fc7206833ef54b30e8d7c3a878835090c458bd905e
Contents?: true
Size: 334 Bytes
Versions: 6
Compression:
Stored size: 334 Bytes
Contents
module Sastrawi module Stemmer module Context module Visitor class DontStemShortWord def visit(context) context.stop_process if short_word?(context.current_word) end def short_word?(word) word.length <= 3 end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems