CofeehousePy/services/corenlp/doc/tagger/stanford-postagger.bat

5 lines
246 B
Batchfile

:: usage: stanford-postagger model textFile
:: e.g., stanford-postagger models\english-left3words-distsim.tagger sample-input.txt
java -mx300m -cp "stanford-postagger.jar;" edu.stanford.nlp.tagger.maxent.MaxentTagger -model %1 -textFile %2