edu.stanford.nlp.trees.international.tuebadz
Class TueBaDZHeadFinder

java.lang.Object
  extended by edu.stanford.nlp.trees.AbstractCollinsHeadFinder
      extended by 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

Field Summary
 
Fields inherited from class edu.stanford.nlp.trees.AbstractCollinsHeadFinder
defaultRule, nonTerminalInfo, tlp
 
Constructor Summary
TueBaDZHeadFinder()
           
 
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 edu.stanford.nlp.trees.AbstractCollinsHeadFinder
determineHead, determineNonTrivialHead, postOperationFix, traverseLocate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TueBaDZHeadFinder

public TueBaDZHeadFinder()
Method Detail

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