|
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.MappedPrevModBaseNPAware
danbikel.parser.CKYItem.KBestHack
public static class CKYItem.KBestHack
A hack to approximate k-best parsing by effectively turning
off dynamic programming (usability depends on reducing the beam size
from its normal value). Two KBestHack chart items
are only equal if they are object-equal.
| 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.KBestHack()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Returns whether this object is object-equal to the specified object. |
int |
hashCode()
Returns the value of System.identityHashCode(this). |
| Methods inherited from class danbikel.parser.CKYItem.MappedPrevModBaseNPAware |
|---|
mappedPrevModsEqual |
| Methods inherited from class danbikel.parser.CKYItem |
|---|
children, clear, containsVerb, containsVerbRecursive, edgeIndex, end, garbage, getConstraint, getLabel, hasAntecedent, hasEquivalentItem, headChild, headLabel, 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.KBestHack()
| Method Detail |
|---|
public int hashCode()
System.identityHashCode(this).
hashCode in class CKYItem.MappedPrevModBaseNPAwareSystem.identityHashCode(this).public boolean equals(Object obj)
equals in class CKYItem.MappedPrevModBaseNPAwareobj - the object to be compared to this object
|
Parsing Engine | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||