public class TestPOS extends Object
POSTagger
on labeled data and reports its performance. All output is
sent to STDOUT
.
java edu.illinois.cs.cogcomp.lbj.pos.TestPOS <text file>
(pos1 spelling1) (pos2 spelling2) ... (posN spellingN)
STDOUT
reporting precision, recall, and
F1 scores itemized by the POS tags discovered either in the labeled data or in the
predictions. The two rightmost columns are named "LCount"
and "PCount"
(standing for "labeled count" and "predicted count" respectively), and they report the number of
times the data contained each label and the number of times the classifier predicted each label
respectively. In the last row, overall accuracy is reported in the precision column. In the count
column, the total number of predictions (or labels, equivalently) is reported.Constructor and Description |
---|
TestPOS() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Implements the program described above.
|
public static void main(String[] args)
args
- The command line parameters.Copyright © 2017. All rights reserved.