I have just started looking into the Stanford NLP libraries. I downloaded and uncompressed the core file that includes everything, then tried to run the demo file (StanfordCoreNlpDemo.java).
import edu.stanford.nlp.io.*;
import edu.stanford.nlp.ling.*;
import edu.stanford.nlp.pipeline.*;
import edu.stanford.nlp.semgraph.SemanticGraph;
import edu.stanford.nlp.semgraph.SemanticGraphCoreAnnotations;
import edu.stanford.nlp.trees.*;
import edu.stanford.nlp.util.*;
All of the import lines trigger an "error: package edu.stanford.nlp. does not exist" message.
Can anyone tell me what I need to do to make the demo work?
Include the class path while compiling the core java file by
javac -cp stanford-corenlp-3.5.0.jar filename.java