here's a first shot at supporting JRuby, issue #8.
the goal was avoid breaking the api - all tests are passing in both MRI and JRuby. I was able to extract the specific bits in both mri_binding.rb and jruby_binding.rb and keep the common code in stanford-core-nlp.rb.
the only thing I modified was to set the default jar_path to deps/ instead of bin/
here's a first shot at supporting JRuby, issue #8.
the goal was avoid breaking the api - all tests are passing in both MRI and JRuby. I was able to extract the specific bits in both mri_binding.rb and jruby_binding.rb and keep the common code in stanford-core-nlp.rb.
the only thing I modified was to set the default jar_path to
deps/
instead ofbin/