Sha256: 29a3202e0ac2d0e817715955d73b3152a4cee6b41429a4daed465057a0d50374
Contents?: true
Size: 376 Bytes
Versions: 67
Compression:
Stored size: 376 Bytes
Contents
module Picky module API module Tokenizer module Stemmer def extract_stemmer thing if thing.respond_to? :stem thing else raise ArgumentError.new <<-ERROR The stems_with option needs a stemmer, which responds to #stem(text) and returns stemmed_text." ERROR end end end end end end
Version data entries
67 entries across 67 versions & 1 rubygems