|
|||||||||
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.CollinsHeadFinder
edu.stanford.nlp.trees.ModCollinsHeadFinder
public class ModCollinsHeadFinder
Implements a variant on the HeadFinder found in Michael Collins' 1999
thesis. This starts with
Collins' head finder. As in CollinsHeadFinder.java
, we've
added a head rule for NX
(returns rightmost), whereas no rule for the head of NX is found in any
of the versions of
Collins' head table that we have (did he perhaps use the NP rules for NX?).
Changes:
Field Summary |
---|
Fields inherited from class edu.stanford.nlp.trees.AbstractCollinsHeadFinder |
---|
defaultRule, nonTerminalInfo, tlp |
Constructor Summary | |
---|---|
ModCollinsHeadFinder()
|
|
ModCollinsHeadFinder(TreebankLanguagePack tlp)
|
Method Summary |
---|
Methods inherited from class edu.stanford.nlp.trees.CollinsHeadFinder |
---|
postOperationFix |
Methods inherited from class edu.stanford.nlp.trees.AbstractCollinsHeadFinder |
---|
determineHead, determineNonTrivialHead, findMarkedHead, main, traverseLocate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModCollinsHeadFinder()
public ModCollinsHeadFinder(TreebankLanguagePack tlp)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |