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

7 lines
262 B
Bash
Raw Normal View History

2021-01-09 03:43:33 +01:00
#!/bin/sh
#
# usage: ./stanford-postagger.sh model textFile
# e.g., ./stanford-postagger.sh models/english-left3words-distsim.tagger sample-input.txt
java -mx300m -cp 'stanford-postagger.jar:' edu.stanford.nlp.tagger.maxent.MaxentTagger -model $1 -textFile $2