edu.stanford.nlp.ie.pnp
Class HumanClassifier
java.lang.Object
|
+--edu.stanford.nlp.ie.pnp.HumanClassifier
- public class HumanClassifier
- extends Object
Command-line PNP test to measure human accuracy.
- See Also:
main(java.lang.String[])
Constructor Summary |
HumanClassifier(String cat1Name,
String cat2Name,
String testFilename,
String answerFilename)
Constructs a new HumanClassifier to test human accuracy at distinguishing
betwene the two given categories. |
Method Summary |
static void |
main(String[] args)
Runs the commans-line human tester. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HumanClassifier
public HumanClassifier(String cat1Name,
String cat2Name,
String testFilename,
String answerFilename)
- Constructs a new HumanClassifier to test human accuracy at distinguishing
betwene the two given categories.
main
public static void main(String[] args)
- Runs the commans-line human tester.
Usage: java HumanClassifier cat1-name cat2-name testFilename answerFilename
.
Only works for binary classification between two categories.
Stanford NLP Group