Parsing Engine

danbikel.parser.util
Class PrintNTs

java.lang.Object
  extended by danbikel.parser.util.PrintNTs

public class PrintNTs
extends Object

A class with a main method for reading trees and printing the complete set of nonterminals used in those trees.

See Also:
main(String[])

Method Summary
static void main(String[] args)
          Reads in parse trees either from a specified file or from standard input, collects all nonterminals and then prints them, one nonterminal per line, to standard output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
Reads in parse trees either from a specified file or from standard input, collects all nonterminals and then prints them, one nonterminal per line, to standard output. By default, tags are not considered nonterminals.
usage: [- | ] [-tags]
where specifying - or using no arguments at all indicates to read from standard input, and where specifying -tags indicates to consider part of speech tags to be nonterminals.


Parsing Engine

Author: Dan Bikel.