Module: OpenNLP
- Defined in:
- lib/open-nlp.rb,
lib/open-nlp/version.rb
Defined Under Namespace
Modules: Bindings, Config Classes: Base, ChunkerME, NameFinderME, POSTaggerME, Parser, SentenceDetectorME, SimpleTokenizer, TokenizerME
Constant Summary collapse
- VERSION =
'0.1.5'
Class Method Summary collapse
-
.const_missing(const) ⇒ Object
Forwards the handling of missing constants to the Bindings class.
-
.load ⇒ Object
Setup the JVM and load the default JARs.
-
.load_class(*args) ⇒ Object
Load a Java class into the OpenNLP namespace (e.g. OpenNLP::Loaded).
-
.method_missing(sym, *args, &block) ⇒ Object
Forward the handling of missing methods to the Bindings class.
Class Method Details
.const_missing(const) ⇒ Object
Forwards the handling of missing constants to the Bindings class.
25 26 27 |
# File 'lib/open-nlp.rb', line 25 def self.const_missing(const) OpenNLP::Bindings.const_get(const) end |
.load ⇒ Object
Setup the JVM and load the default JARs.
13 14 15 |
# File 'lib/open-nlp.rb', line 13 def self.load OpenNLP::Bindings.bind end |