public class LeftHeadFinder extends java.lang.Object implements HeadFinder
| Constructor and Description |
|---|
LeftHeadFinder() |
| Modifier and Type | Method and Description |
|---|---|
Tree |
determineHead(Tree t)
Determine which daughter of the current parse tree is the head.
|
Tree |
determineHead(Tree t,
Tree parent)
Determine which daughter of the current parse tree is the head
given the parent of the tree.
|
public Tree determineHead(Tree t)
HeadFinderdetermineHead in interface HeadFindert - The parse tree to examine the daughters ofpublic Tree determineHead(Tree t, Tree parent)
HeadFinderdetermineHead in interface HeadFindert - The parse tree to examine the daughters ofparent - The parent of tree t