Sha256: ef98f0f2efafd2fd2376dbb948b53960c6bb5e7e54f19ef190d1ec0306a47c78
Contents?: true
Size: 756 Bytes
Versions: 1
Compression:
Stored size: 756 Bytes
Contents
module OpenNLP # Library version. VERSION = '0.1.1' # Require Java bindings. require 'open-nlp/bindings' # Require Ruby wrappers. require 'open-nlp/classes' # Setup the JVM and load the default JARs. def self.load OpenNLP::Bindings.bind end # Load a Java class into the OpenNLP # namespace (e.g. OpenNLP::Loaded). def self.load_class(*args) OpenNLP::Bindings.load_class(*args) end # Forwards the handling of missing # constants to the Bindings class. def self.const_missing(const) OpenNLP::Bindings.const_get(const) end # Forward the handling of missing # methods to the Bindings class. def self.method_missing(sym, *args, &block) OpenNLP::Bindings.send(sym, *args, &block) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
open-nlp-0.1.1 | lib/open-nlp.rb |