danbikel.parser.util
Class AddFakePos
java.lang.Object
danbikel.parser.util.AddFakePos
public class AddFakePos
- extends Object
Reads in a file of gold-standard parsed sentences and a file of
machine-parsed sentences, replacing every occurrence of
null in the machine-parsed file with the original
sentence and then adding fake parts of speech for each word of that
original sentence that will not to be deleted by the scorer.
Method Summary |
static void |
main(String[] args)
Reads in parse trees either from a specified file or from standard input
and adds fake parts of speech to raw (un-parsed) sentences. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(String[] args)
- Reads in parse trees either from a specified file or from standard input
and adds fake parts of speech to raw (un-parsed) sentences.
usage: <gold parse file> <filename>
where specifying - for the filename indicates to
read the parser output from standard input.
Author: Dan Bikel.