public class TueBaDZHeadFinder extends AbstractCollinsHeadFinder
defaultLeftRule, defaultRightRule, defaultRule, nonTerminalInfo, tlp
Constructor and Description |
---|
TueBaDZHeadFinder() |
Modifier and Type | Method and Description |
---|---|
String |
basicCategory(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, traverseLocate
protected Tree findMarkedHead(Tree t)
AbstractCollinsHeadFinder
findMarkedHead
in class AbstractCollinsHeadFinder
t
- a tree to find the head ofpublic boolean isLabelAnnotationIntroducingCharacter(char ch)
ch
- The character to checkprotected Tree determineNonTrivialHead(Tree t, Tree parent)
determineNonTrivialHead
in class AbstractCollinsHeadFinder
t
- The tre to determine the head daughter ofparent
- The parent of t (or may be null)