edu.stanford.nlp.trees.international.tuebadz
Class TueBaDZHeadFinder
java.lang.Object
edu.stanford.nlp.trees.AbstractCollinsHeadFinder
edu.stanford.nlp.trees.international.tuebadz.TueBaDZHeadFinder
- All Implemented Interfaces:
- HeadFinder, Serializable
public class TueBaDZHeadFinder
- extends AbstractCollinsHeadFinder
A HeadFinder for TueBa-D/Z. First version.
- Author:
- Roger Levy (rog@csli.stanford.edu)
- See Also:
- Serialized Form
Method Summary |
protected Tree |
findMarkedHead(Tree t)
A way for subclasses for corpora with explicit head markings
to return the explicitly marked head |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TueBaDZHeadFinder
public TueBaDZHeadFinder()
findMarkedHead
protected Tree findMarkedHead(Tree t)
- Description copied from class:
AbstractCollinsHeadFinder
- A way for subclasses for corpora with explicit head markings
to return the explicitly marked head
- Overrides:
findMarkedHead
in class AbstractCollinsHeadFinder
- Parameters:
t
- a tree to find the head of
- Returns:
- the marked head-- null if no marked head
Stanford NLP Group