lib/opener/chained_daemon.rb in opener-chained-daemon-3.0.1 vs lib/opener/chained_daemon.rb in opener-chained-daemon-3.0.5
- old
+ new
@@ -3,18 +3,22 @@
require 'hashie'
require 'google/cloud/translate'
require 'opener/daemons'
+require_relative 'chained_daemon/languages_cache'
require 'opener/language_identifier'
require 'opener/tokenizer'
-# require ner before pos_tagger for compatible opennlp
-require 'opener/pos_tagger'
+require 'opener/pos_tagger' if RUBY_ENGINE == 'jruby'
require 'opener/polarity_tagger'
require 'opener/property_tagger'
require 'opener/opinion_detector_basic'
+require 'opener/stanza/tokenizer_pos'
require_relative 'chained_daemon/chained_daemon'
require_relative 'chained_daemon/cli'
require_relative 'chained_daemon/microsoft_translator'
require_relative 'chained_daemon/webservice'
+
+require_relative 'kaf/document'
+require_relative 'kaf/term'