|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.trees.AbstractCollinsHeadFinder
edu.stanford.nlp.trees.international.arabic.ArabicHeadFinder
public class ArabicHeadFinder
Right now, just returns the first child of a tree as the head. TO DO: make sure that -PRD marked elements are always chosen as heads.
Field Summary |
---|
Fields inherited from class edu.stanford.nlp.trees.AbstractCollinsHeadFinder |
---|
defaultRule, nonTerminalInfo, tlp |
Constructor Summary | |
---|---|
|
ArabicHeadFinder()
|
protected |
ArabicHeadFinder(TreebankLanguagePack tlp)
|
Method Summary | |
---|---|
protected Tree |
findMarkedHead(Tree t)
Predicatively marked elements in a sentence should be noted as heads |
Methods inherited from class edu.stanford.nlp.trees.AbstractCollinsHeadFinder |
---|
determineHead, determineNonTrivialHead, main, postOperationFix, traverseLocate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArabicHeadFinder()
protected ArabicHeadFinder(TreebankLanguagePack tlp)
Method Detail |
---|
protected Tree findMarkedHead(Tree t)
findMarkedHead
in class AbstractCollinsHeadFinder
t
- a tree to find the head of
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |