edu.stanford.nlp.trees
Class SbjRetainingTreeNormalizer

java.lang.Object
  extended byedu.stanford.nlp.trees.TreeNormalizer
      extended byedu.stanford.nlp.trees.BobChrisTreeNormalizer
          extended byedu.stanford.nlp.trees.SbjRetainingTreeNormalizer

public class SbjRetainingTreeNormalizer
extends BobChrisTreeNormalizer

Same TreeNormalizer as BobChrisTreeNormalizer, but retains -SBJ labels on NP with the new identification NP#SBJ

Author:
Roger Levy

Field Summary
 
Fields inherited from class edu.stanford.nlp.trees.BobChrisTreeNormalizer
tlp
 
Constructor Summary
SbjRetainingTreeNormalizer()
           
 
Method Summary
protected  String cleanUpLabel(String label)
          Remove things like hyphened functional tags and equals from the end of a node label.
 
Methods inherited from class edu.stanford.nlp.trees.BobChrisTreeNormalizer
normalizeNonterminal, normalizeTerminal, normalizeWholeTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SbjRetainingTreeNormalizer

public SbjRetainingTreeNormalizer()
Method Detail

cleanUpLabel

protected String cleanUpLabel(String label)
Remove things like hyphened functional tags and equals from the end of a node label.

Overrides:
cleanUpLabel in class BobChrisTreeNormalizer


Stanford NLP Group