Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@hkf
hkf / example.rb
Created January 18, 2013 21:09
stanford-core-nlp example
require 'stanford-core-nlp'
root = Dir.pwd
# Set an alternative path to look for the JAR files
# Default is gem's bin folder.
StanfordCoreNLP.jar_path = root + '/stanford-core-nlp-full/'
# Set an alternative path to look for the model files
# Default is gem's bin folder.