public class TueBaDZHeadFinder extends AbstractCollinsHeadFinder
defaultLeftRule, defaultRightRule, defaultRule, nonTerminalInfo, tlp| Constructor and Description |
|---|
TueBaDZHeadFinder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
basicCategory(java.lang.String category) |
protected Tree |
determineNonTrivialHead(Tree t,
Tree parent)
Called by determineHead and may be overridden in subclasses
if special treatment is necessary for particular categories.
|
protected Tree |
findMarkedHead(Tree t)
A way for subclasses for corpora with explicit head markings
to return the explicitly marked head
|
boolean |
isLabelAnnotationIntroducingCharacter(char ch)
Say whether this character is an annotation introducing
character.
|
determineHead, determineHead, makesCopulaHead, postOperationFix, traverseLocateprotected Tree findMarkedHead(Tree t)
AbstractCollinsHeadFinderfindMarkedHead in class AbstractCollinsHeadFindert - a tree to find the head ofpublic java.lang.String basicCategory(java.lang.String category)
public boolean isLabelAnnotationIntroducingCharacter(char ch)
ch - The character to checkprotected Tree determineNonTrivialHead(Tree t, Tree parent)
determineNonTrivialHead in class AbstractCollinsHeadFindert - The tre to determine the head daughter ofparent - The parent of t (or may be null)