Closed darkphantum closed 12 years ago
I am getting an exception when I do
para = Paragraph meta.text_summary p_text = para.do(:segment, :parse) #error on :parse, :segment works fine
I have tried setting the path to english-left3words-distsim.tagger in the classpath env variable. That did not help
Error: edu.stanford.nlp.io.RuntimeIOException: ERROR: cannot find properties file "{pos.model=/home/varun/.rvm/gems/ruby-1.9.3-p286@global/gems/treat-1.2.0/lib/treat/../../models/stanford/taggers/english-left3words-distsim.tagger, parser.model=/home/varun/.rvm/gems/ruby-1.9.3-p286@global/gems/treat-1.2.0/lib/treat/../../models/stanford/grammar/englishPCFG.ser.gz, annotators=tokenize, ssplit, pos, lemma, parse}" in the classpath!
The problem was with JAVA_HOME pointing to java 7 instead of 6
Sweet, I'm sure that will be useful to someone else in the future. Thanks for reporting!
I am getting an exception when I do
I have tried setting the path to english-left3words-distsim.tagger in the classpath env variable. That did not help
Error: edu.stanford.nlp.io.RuntimeIOException: ERROR: cannot find properties file "{pos.model=/home/varun/.rvm/gems/ruby-1.9.3-p286@global/gems/treat-1.2.0/lib/treat/../../models/stanford/taggers/english-left3words-distsim.tagger, parser.model=/home/varun/.rvm/gems/ruby-1.9.3-p286@global/gems/treat-1.2.0/lib/treat/../../models/stanford/grammar/englishPCFG.ser.gz, annotators=tokenize, ssplit, pos, lemma, parse}" in the classpath!