Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (5 sloc) 324 Bytes
require 'java'
Java::JavaLang::System.set_property "file.encoding","UTF-8"
SIMPLE_NLG_DEFAULT_LEXICON_PATH = Rails.root.join("lib/SimpleNLG/resources/default-lexicon.xml").to_s.freeze
SIMPLE_NLG_PATH = Rails.root.join("lib/SimpleNLG").to_s.freeze
Dir["#{SIMPLE_NLG_PATH}/*.jar"].each { |jar| require jar }
You can’t perform that action at this time.