|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdanbikel.parser.Item
danbikel.parser.CKYItem
danbikel.parser.CKYItem.BaseNPAware
public static class CKYItem.BaseNPAware
A base NP–aware version of CKYItem
that overrides equals(java.lang.Object)
and hashCode()
to take into account the lack of
dependence on the distance metric when the root label of an item's
set of derivations is NPB.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class danbikel.parser.CKYItem |
---|
CKYItem.BaseNPAware, CKYItem.KBestHack, CKYItem.MappedPrevModBaseNPAware, CKYItem.PrevModIsStart |
Field Summary |
---|
Fields inherited from class danbikel.parser.CKYItem |
---|
baseNPsCannotContainVerbs, constraint, containsVerb, containsVerbFalse, containsVerbTrue, containsVerbUndefined, end, garbage, headChild, headWord, label, leftChildren, leftPrevMods, leftSubcat, leftVerb, logPrior, logTreeProb, nonTreebankDelimiter, nonTreebankLeftBracket, nonTreebankRightBracket, numParses, numPrevMods, numPrevWords, outputInsideProbs, outputLexLabels, rightChildren, rightPrevMods, rightSubcat, rightVerb, start, stop, stopWord, topSym |
Fields inherited from class danbikel.parser.Item |
---|
logProb |
Constructor Summary | |
---|---|
CKYItem.BaseNPAware()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
Returns whether the specified object is equal (or “chart item equivalent”) to this item. |
int |
hashCode()
Returns a hash code for this item. |
Symbol |
headLabel()
Returns the root nonterminal label of the derivation of this item's head child. |
Methods inherited from class danbikel.parser.CKYItem |
---|
children, clear, containsVerb, containsVerbRecursive, edgeIndex, end, garbage, getConstraint, getLabel, hasAntecedent, hasEquivalentItem, headChild, headWord, headWordIdx, isPreterminal, label, leftChildren, leftPrevMods, leftSubcat, leftVerb, logPrior, logProb, logTreeProb, numLeftChildren, numParses, numRightChildren, prevMods, prevWordsEqual, prevWordsEqual, rightChildren, rightPrevMods, rightSubcat, rightVerb, set, setChildren, setConstraint, setDataFrom, setEdgeIndex, setGarbage, setLabel, setLeftSubcat, setLogPrior, setLogProb, setLogTreeProb, setPrevMods, setRightSubcat, setSideInfo, setSubcat, setVerb, shortBool, shortContainsVerb, start, stop, subcat, toSexp, toSexpInternal, toString, verb |
Methods inherited from class danbikel.parser.Item |
---|
compareTo |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CKYItem.BaseNPAware()
Method Detail |
---|
public Symbol headLabel()
CKYItem
headLabel
in class CKYItem
public boolean equals(Object obj)
equals
in class CKYItem
obj
- the object to be compared with this object
public int hashCode()
hashCode
in class CKYItem
|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |