edu.stanford.nlp.parser.lexparser
Class FactoredParser

java.lang.Object
  extended by edu.stanford.nlp.parser.lexparser.FactoredParser

public class FactoredParser
extends Object


Method Summary
static void main(String[] args)
           
static int setOptionFlag(Options op, String[] args, int i)
          Set an option based on flags inside an Options object.
 
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)

setOptionFlag

public static int setOptionFlag(Options op,
                                String[] args,
                                int i)
Set an option based on flags inside an Options object. Some options: -printTT print the training trees in raw, annotated, and annotated+binarized form. Useful for debugging and other miscellany. -printAnnotated use only in conjunction with -printTT. Redirects printing of annotated training trees to .
  • -forceTags when the parser is tested against a set of gold standard trees, use the tagged yield, instead of just the yield, as input

Parameters:
op - An Options argument which is updated according to the option processed.
args - An array of options arguments, command-line style
i - The index in args to start at when processing an option
Returns:
The index in args of the position after the last element used in processing this option, or the value i unchanged if a valid option couldn't be processed starting at position i.


Stanford NLP Group