edu.stanford.nlp.trees
Class SbjRetainingTreeNormalizer
java.lang.Object
|
+--edu.stanford.nlp.trees.TreeNormalizer
|
+--edu.stanford.nlp.trees.BobChrisTreeNormalizer
|
+--edu.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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SbjRetainingTreeNormalizer
public SbjRetainingTreeNormalizer()
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