Class: Treat::Loaders::OpenNLP

Inherits:
BindIt
  • Object
show all
Defined in:
lib/treat/loaders/open_nlp.rb

Overview

A helper class to load the OpenNLP package.

Class Method Summary collapse

Class Method Details

.load(language = nil) ⇒ Object


6
7
8
9
# File 'lib/treat/loaders/open_nlp.rb', line 6

def self.load(language = nil)
  require 'open-nlp'
  super(OpenNLP, :open_nlp, language)
end