Module: RaskeNLP

Defined in:
lib/raske-nlp.rb,
lib/raske-nlp/result.rb,
lib/raske-nlp/version.rb,
lib/raske-nlp/stop_list.rb

Defined Under Namespace

Classes: Result, StopList

Constant Summary collapse

DEFAULTS =
{
  min_phrase_length: 1,
  max_phrase_length: 3,
  min_frequency:     1,
  min_score:         1,
  stop_list:         StopList::ISO
}
VERSION =
"0.1.6"

Class Method Summary collapse

Class Method Details

.run(text, options = {}) ⇒ Object



14
15
16
# File 'lib/raske-nlp.rb', line 14

def self.run(text, options={})
  RaskeNLP::Result.new(text, DEFAULTS.merge(options))
end