public class NERDemo
extends java.lang.Object
Usage: java -mx400m -cp "stanford-ner.jar:." NERDemo [serializedClassifier [fileName]]
If arguments aren't specified, they default to ner-eng-ie.crf-3-all2006.ser.gz and some hardcoded sample text.
To use CRFClassifier from the command line: java -mx400m edu.stanford.nlp.ie.crf.CRFClassifier -loadClassifier [classifier] -textFile [file] Or if the file is already tokenized and one word per line, perhaps in a tab-separated value format with extra columns for part-of-speech tag, etc., use the version below (note the 's' instead of the 'x'): java -mx400m edu.stanford.nlp.ie.crf.CRFClassifier -loadClassifier [classifier] -testFile [file]