|
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
public class CKYItem
An item in a CKYChart
for use when parsing via a probabilistic
version of the CKY algorithm.
CKYChart
,
Serialized FormNested Class Summary | |
---|---|
static class |
CKYItem.BaseNPAware
A base NP–aware version of CKYItem that overrides CKYItem.BaseNPAware.equals(java.lang.Object) and CKYItem.BaseNPAware.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. |
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). |
static class |
CKYItem.MappedPrevModBaseNPAware
Overrides equals and hashCode methods to compare
the last previous modifier on each side of each chart item's head child
with respect to their respective equivalence classes, as determined by the
mapping provided by NTMapper.map(Symbol) . |
static class |
CKYItem.PrevModIsStart
Overrides equals and hashCode methods
to take the last previous modifier into account only insofar as
its equality to the initial Training.startSym() modifier. |
Field Summary | |
---|---|
protected static boolean |
baseNPsCannotContainVerbs
The value of the Settings.baseNPsCannotContainVerbs setting. |
protected Constraint |
constraint
The constraint associated with this chart item. |
protected byte |
containsVerb
The cached value of the result of the containsVerb() method
invoked on this chart item, initially set to containsVerbUndefined . |
protected static byte |
containsVerbFalse
One of three possible cached values of this item's “contains verb” status, indicating that the method containsVerb()
has been invoked on this item and its value is false (i.e.,
this item does not have a derivation dominating a verb). |
protected static byte |
containsVerbTrue
One of three possible cached values of this item's “contains verb” status, indicating that the method containsVerb()
has been invoked on this item and its value is true (i.e.,
this item has a derivation dominating a verb). |
protected static byte |
containsVerbUndefined
One of three possible cached values of this item's “contains verb” status, indicating that the method containsVerb()
has not yet been invoked on this item. |
protected int |
end
The index of the last word of the span covered by this item. |
protected boolean |
garbage
The boolean indicating whether this item has been eliminated from the chart because another, equivalent item was added (meaning that this item could not be immediately reclaimed, since the caller of Chart.add may have a handle onto this item). |
protected CKYItem |
headChild
The item representing the head child of the tree node represented by this chart item, or null if this item represents a
preterminal. |
protected Word |
headWord
The head word of this chart item. |
protected Symbol |
label
The label of this chart item. |
protected SLNode |
leftChildren
A list of CKYItem objects that are the children to the left
of the head child, with the head-adjacent child being last. |
protected SexpList |
leftPrevMods
The previous modifiers generated on the left of the head child. |
protected Subcat |
leftSubcat
The subcat frame representing the unmet requirements on the left side of the head as of the production of this chart item. |
protected boolean |
leftVerb
The boolean indicating whether a verb intervenes between the head child and the currently-generated left-modifying child. |
protected double |
logPrior
The log of the probability of the lexicalized root nonterminal label of the tree represented by this item. |
protected double |
logTreeProb
The log of the probability of the tree represented by this item. |
protected static char |
nonTreebankDelimiter
The value of Treebank.nonTreebankDelimiter() . |
protected static char |
nonTreebankLeftBracket
The value of Treebank.nonTreebankLeftBracket() . |
protected static char |
nonTreebankRightBracket
The value of Treebank.nonTreebankRightBracket() . |
protected int |
numParses
The total number of possible parses represented by this chart item. |
protected static int |
numPrevMods
The value of the property Settings.numPrevMods , cached here
for efficiency and convenience. |
protected static int |
numPrevWords
The value of the property Settings.numPrevWords , cached here
for efficiency and convenience. |
protected static boolean |
outputInsideProbs
The value of the Settings.decoderOutputInsideProbs setting. |
protected static boolean |
outputLexLabels
The value of the Settings.decoderOutputHeadLexicalizedLabels
setting. |
protected SLNode |
rightChildren
A list of CKYItem objects that are the children to the right
of the head child, with the head-adjacent child being last. |
protected SexpList |
rightPrevMods
The previous modifiers generated on the right of the head child. |
protected Subcat |
rightSubcat
The subcat frame representing the unmet requirements on the right side of the head as of the production of this chart item. |
protected boolean |
rightVerb
The boolean indicating whether a verb intervenes between the head child and the currently-generated right-modifying child. |
protected int |
start
The index of the first word of the span covered by this item. |
protected boolean |
stop
The boolean indicating whether this item has received its stop probabilities. |
protected static Word |
stopWord
The value of Training.stopWord() , cached here for efficiency
and convenience. |
protected static Symbol |
topSym
The value of Training.topSym() , cached for efficiency and
convenience. |
Fields inherited from class danbikel.parser.Item |
---|
logProb |
Constructor Summary | |
---|---|
CKYItem()
Default constructor. |
|
CKYItem(Symbol label,
Word headWord,
Subcat leftSubcat,
Subcat rightSubcat,
CKYItem headChild,
SLNode leftChildren,
SLNode rightChildren,
SexpList leftPrevMods,
SexpList rightPrevMods,
int start,
int end,
boolean leftVerb,
boolean rightVerb,
boolean stop,
double logTreeProb,
double logPrior,
double logProb)
Constructs a CKY chart item with the specified data. |
Method Summary | |
---|---|
SLNode |
children(boolean side)
Returns the modifier (children) list of the specified side of this item's head child, or null if the specified side has no modifiers. |
Item |
clear()
Sets the number of parses represented by this chart item to 1. |
boolean |
containsVerb()
Returns whether a verb has been generated anywhere in the surface string in the set of derivations of this chart item. |
protected boolean |
containsVerbRecursive()
A helper method for containsVerb() that returns whether a verb has
been generated anywhere in the surface string of the derivations of this
chart item. |
int |
edgeIndex(boolean side)
Returns the value of start() if the specified side is
Constants.LEFT or the value of end() otherwise. |
int |
end()
Returns the end word index of the span of this chart item. |
boolean |
equals(Object obj)
Returns true if and only if the specified object is
also an instance of a CKYItem and all elements of
this CKYItem are equal to those of the specified
CKYItem , except their left and right children lists
and their log probability values. |
boolean |
garbage()
Returns whether this item has been eliminated from the chart because another, equivalent item was added (meaning that this item could not be immediately reclaimed, since the caller of Chart.add may have
a handle onto this item). |
Constraint |
getConstraint()
Returns the constraint associated with this chart item, or null if this item has no associated constraint. |
protected Symbol |
getLabel(Symbol label,
boolean isHeadChild)
Helper method used by toSexpInternal(boolean) , to provide a
layer of abstraction so that the label can include, e.g., head
information. |
void |
hasAntecedent(Item antecedent)
Indicates that the specified item is an antecedent to this item, allowing a subclass instance to store a list of antecedents, or do other computation based on its antecedents. |
void |
hasEquivalentItem(Item equivalentItem)
Indicates that the specified item is equivalent to this item, allowing a subclass to do arbitrary computation when the decoder produces such an item (this method is guaranteed to be called by the decoder when that happens). |
int |
hashCode()
Computes the hash code based on all elements used by the equals(java.lang.Object) method. |
CKYItem |
headChild()
Returns the head child item of this item. |
Symbol |
headLabel()
Returns the root nonterminal label of the derivation of this item's head child. |
Word |
headWord()
Returns the head word of this chart item. |
int |
headWordIdx()
Recursively computes the index of the head word of this derivation. |
boolean |
isPreterminal()
Returns true if this item represents a preterminal. |
Object |
label()
Returns the symbol that is the label of this chart item. |
SLNode |
leftChildren()
Returns the left modifier item list of this item, or null if
there are no left modifier items. |
SexpList |
leftPrevMods()
Returns a list of previously-generated unlexicalized modifiers on the left side of the head child in this item's set of derivations. |
Subcat |
leftSubcat()
Returns the left subcat of this chart item. |
boolean |
leftVerb()
Returns whether a verb has been generated anywhere in the surface strings of the left modifiers of the head child. |
double |
logPrior()
Returns the marginal probability of generating the lexicalized root label of this item's set of derivations (strictly speaking, this is not a “prior” as the name of this method would suggest). |
double |
logProb()
Returns the log probability, or score, of this chart item. |
double |
logTreeProb()
Returns the probability of generating all the children of this chart item (head child and left and right modifier children). |
int |
numLeftChildren()
Returns the number of children in the left modifier item list. |
int |
numParses()
The total number of possible parses represented by this chart item. |
int |
numRightChildren()
Returns the number of children in the right modifier item list. |
SexpList |
prevMods(boolean side)
Returns the previous modifiers on the specified side of this item's head child. |
protected boolean |
prevWordsEqual(boolean side,
CKYItem other)
Returns whether the head words of modifier children on the specified side of this item are equal to those on the specified side of the specified other item. |
protected boolean |
prevWordsEqual(CKYItem other)
Returns whether the previous word lists of this chart item are equal to those of the specified item. |
SLNode |
rightChildren()
Returns the right modifier item list of this item, or null if
there are no right modifier items. |
SexpList |
rightPrevMods()
Returns a list of previously-generated unlexicalized modifiers on the right side of the head child in this item's set of derivations. |
Subcat |
rightSubcat()
Returns the right subcat of this chart item. |
boolean |
rightVerb()
Returns whether a verb has been generated anywhere in the surface strings of the right modifiers of the head child. |
void |
set(Symbol label,
Word headWord,
Subcat leftSubcat,
Subcat rightSubcat,
CKYItem headChild,
SLNode leftChildren,
SLNode rightChildren,
SexpList leftPrevMods,
SexpList rightPrevMods,
int start,
int end,
boolean leftVerb,
boolean rightVerb,
boolean stop,
double logTreeProb,
double logPrior,
double logProb)
Sets all of the data members of this chart item. |
void |
setChildren(boolean side,
SLNode children)
Sets the modifier (children) list on the specified side of this chart item. |
void |
setConstraint(Constraint constraint)
Sets the constraint for this item. |
CKYItem |
setDataFrom(CKYItem other)
Assigns data members of specified CKYItem to this item,
effectively performing a destructive shallow copy of the specified
item into this item. |
void |
setEdgeIndex(boolean side,
int index)
Sets the index of the leftmost or rightmost word spanned by this chart item. |
void |
setGarbage(boolean garbage)
Sets whether this item has been eliminated from the chart because another, equivalent item was added (meaning that this item could not be immediately reclaimed, since the caller of Chart.add may have a handle
onto this item). |
void |
setLabel(Object label)
Sets the label of this chart item. |
void |
setLeftSubcat(Subcat leftSubcat)
Sets the left subcat of this chart item to the specified value. |
void |
setLogPrior(double logPrior)
Sets the log of the marginal probability of the lexicalized root nonterminal label of this chart item to the specified value. |
void |
setLogProb(double logProb)
Sets the log of the probability of this chart item (its score) to the specified value. |
void |
setLogTreeProb(double logTreeProb)
Sets the log of the probability of generating all of this item's children to the specified value. |
void |
setPrevMods(boolean side,
SexpList prevMods)
Sets the previous modifier list on the specified side of this chart item's head child. |
void |
setRightSubcat(Subcat rightSubcat)
Sets the right subcat of this chart item to the specified value. |
void |
setSideInfo(boolean side,
Subcat subcat,
SLNode children,
SexpList prevMods,
int edgeIndex,
boolean verb)
Sets all the side-specific information for one side of this chart item. |
void |
setSubcat(boolean side,
Subcat subcat)
Sets the subcat on the specified side of this chart item's head child. |
void |
setVerb(boolean side,
boolean verb)
Sets whether a verb has been generated anywhere in the surface string on the specified side of this item's head child. |
protected static String |
shortBool(boolean bool)
Returns the string "t" if the specified boolean is true and the string "f" if the specified
boolean is false . |
protected static String |
shortContainsVerb(byte containsVerbValue)
Returns the string "undef" if the cached value of this item's “contains verb” status is containsVerbUndefined ; otherwise, returns the string that would
result in executing shortBool(containsVerb()) . |
int |
start()
Returns the start word index of the span of this chart item. |
boolean |
stop()
Returns whether this item has received its stop probabilities. |
Subcat |
subcat(boolean side)
Returns the subcat on the specified side of this item's head child. |
Sexp |
toSexp()
Returns the S-expression representation of the tree rooted at this chart item. |
protected Sexp |
toSexpInternal(boolean isHeadChild)
Returns the S-expression representation of the tree rooted at this chart item (helper method invoked by toSexp() ). |
String |
toString()
Returns a string containing all the information contained locally in this chart item (for debugging purposes). |
boolean |
verb(boolean side)
Returns whether a verb has been generated anywhere in the surface string on the specified side of this item's head child. |
Methods inherited from class danbikel.parser.Item |
---|
compareTo |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static boolean outputLexLabels
Settings.decoderOutputHeadLexicalizedLabels
setting.
protected static boolean outputInsideProbs
Settings.decoderOutputInsideProbs
setting.
protected static char nonTreebankLeftBracket
Treebank.nonTreebankLeftBracket()
.
protected static char nonTreebankRightBracket
Treebank.nonTreebankRightBracket()
.
protected static char nonTreebankDelimiter
Treebank.nonTreebankDelimiter()
.
protected static boolean baseNPsCannotContainVerbs
Settings.baseNPsCannotContainVerbs
setting.
protected static Symbol topSym
Training.topSym()
, cached for efficiency and
convenience.
protected static Word stopWord
Training.stopWord()
, cached here for efficiency
and convenience.
protected static int numPrevMods
Settings.numPrevMods
, cached here
for efficiency and convenience.
protected static int numPrevWords
Settings.numPrevWords
, cached here
for efficiency and convenience.
protected static final byte containsVerbUndefined
containsVerb()
has not yet been invoked on this item.
protected static final byte containsVerbTrue
containsVerb()
has been invoked on this item and its value is true (i.e.,
this item has a derivation dominating a verb).
protected static final byte containsVerbFalse
containsVerb()
has been invoked on this item and its value is false (i.e.,
this item does not have a derivation dominating a verb).
protected double logTreeProb
protected double logPrior
protected Symbol label
protected Word headWord
protected Subcat leftSubcat
protected Subcat rightSubcat
protected CKYItem headChild
null
if this item represents a
preterminal.
protected SLNode leftChildren
CKYItem
objects that are the children to the left
of the head child, with the head-adjacent child being last.
protected SLNode rightChildren
CKYItem
objects that are the children to the right
of the head child, with the head-adjacent child being last.
protected SexpList leftPrevMods
protected SexpList rightPrevMods
protected int start
protected int end
protected Constraint constraint
protected int numParses
protected boolean leftVerb
protected boolean rightVerb
protected boolean stop
protected boolean garbage
Chart.add
may have a handle onto this item).
protected byte containsVerb
containsVerb()
method
invoked on this chart item, initially set to containsVerbUndefined
.
Constructor Detail |
---|
public CKYItem()
public CKYItem(Symbol label, Word headWord, Subcat leftSubcat, Subcat rightSubcat, CKYItem headChild, SLNode leftChildren, SLNode rightChildren, SexpList leftPrevMods, SexpList rightPrevMods, int start, int end, boolean leftVerb, boolean rightVerb, boolean stop, double logTreeProb, double logPrior, double logProb)
label
- the unlexicalized root label of this chart itemheadWord
- the head word of this chart itemleftSubcat
- the subcat on the left side of this item's head childrightSubcat
- the subcat on the right side of this item's head
childheadChild
- the head child item of this chart itemleftChildren
- the modifiers on the left side of this item's head
childrightChildren
- the modifiers on the right side of this item's head
childleftPrevMods
- a list of the previous modifiers on the left side of
this item's head childrightPrevMods
- a list of the previous modifiers on the right side of
this item's head childstart
- the index of the first word spanned by this itemend
- the index of the last word spanned by this itemleftVerb
- whether a verb has been generated anywhere in the
surface string of the modifiers on the left side of
this item's head childrightVerb
- whether a verb has been generated anywhere in the
surface string of the modifiers on the right side of
this item's head childstop
- whether this item has received its stop probabilitieslogTreeProb
- the log of the probability of generating all of this
item's child items (head child and left and right
modifier children)logPrior
- the log of the marginal probability of this item's
lexicalized root labellogProb
- the log of the probability of this chart item (its
score)Method Detail |
---|
public void set(Symbol label, Word headWord, Subcat leftSubcat, Subcat rightSubcat, CKYItem headChild, SLNode leftChildren, SLNode rightChildren, SexpList leftPrevMods, SexpList rightPrevMods, int start, int end, boolean leftVerb, boolean rightVerb, boolean stop, double logTreeProb, double logPrior, double logProb)
label
- the unlexicalized root label of this chart itemheadWord
- the head word of this chart itemleftSubcat
- the subcat on the left side of this item's head childrightSubcat
- the subcat on the right side of this item's head
childheadChild
- the head child item of this chart itemleftChildren
- the modifiers on the left side of this item's head
childrightChildren
- the modifiers on the right side of this item's head
childleftPrevMods
- a list of the previous modifiers on the left side of
this item's head childrightPrevMods
- a list of the previous modifiers on the right side of
this item's head childstart
- the index of the first word spanned by this itemend
- the index of the last word spanned by this itemleftVerb
- whether a verb has been generated anywhere in the
surface string of the modifiers on the left side of
this item's head childrightVerb
- whether a verb has been generated anywhere in the
surface string of the modifiers on the right side of
this item's head childstop
- whether this item has received its stop probabilitieslogTreeProb
- the log of the probability of generating all of this
item's child items (head child and left and right
modifier children)logPrior
- the log of the marginal probability of this item's
lexicalized root labellogProb
- the log of the probability of this chart item (its
score)public Constraint getConstraint()
Item
null
if this item has no associated constraint.
getConstraint
in class Item
public void setConstraint(Constraint constraint)
Item
setConstraint
in class Item
constraint
- the constraint to be associated with this item.public Object label()
label
in class Item
public Word headWord()
public Subcat leftSubcat()
public Subcat rightSubcat()
public CKYItem headChild()
public SLNode leftChildren()
null
if
there are no left modifier items.
public int numLeftChildren()
public SLNode rightChildren()
null
if
there are no right modifier items.
public int numRightChildren()
public SexpList leftPrevMods()
Settings.numPrevMods
.
Settings.numPrevMods
public SexpList rightPrevMods()
Settings.numPrevMods
.
Settings.numPrevMods
public int start()
(end() - start()) + 1
.
public int end()
(end() - start()) + 1
.
public int headWordIdx()
public boolean leftVerb()
public boolean rightVerb()
public boolean stop()
Training.stopSym()
public double logProb()
logTreeProb() + logPrior()
.
logProb
in class Item
logTreeProb()
,
logPrior()
public double logTreeProb()
logProb()
,
logPrior()
public double logPrior()
logProb()
,
logTreeProb()
public Symbol headLabel()
public boolean garbage()
Chart.add
may have
a handle onto this item).
garbage
in class Item
Chart.add(int,int,Item)
public int numParses()
public Subcat subcat(boolean side)
side
- the side whose subcat is to be gotten
public SLNode children(boolean side)
null
if the specified side has no modifiers.
side
- the side whose children list is to be gotten
null
if the specified side has no modifiers.public SexpList prevMods(boolean side)
side
- the side whose previous modifier list is to be gotten
public boolean verb(boolean side)
side
- the side of this item's head child to be tested
public boolean containsVerb()
protected boolean containsVerbRecursive()
containsVerb()
that returns whether a verb has
been generated anywhere in the surface string of the derivations of this
chart item.
Settings.baseNPsCannotContainVerbs
public int edgeIndex(boolean side)
start()
if the specified side is
Constants.LEFT
or the value of end()
otherwise.
side
- the side of the span whose index is to be gotten
start()
if the specified side is
Constants.LEFT
or the value of end()
otherwise.public void setLabel(Object label)
setLabel
in class Item
label
- a Symbol
object that is to be the label of
this chart item
ClassCastException
- if label
is not an instance of
Symbol
public void setLeftSubcat(Subcat leftSubcat)
leftSubcat
- the left subcat to be set for this chart itempublic void setRightSubcat(Subcat rightSubcat)
rightSubcat
- the right subcat to be set for this chart itempublic void setLogTreeProb(double logTreeProb)
logTreeProb
- the log of the probability of generating all of this
item's children the log of the probability of generating
all of this item's childrenlogTreeProb()
public void setLogProb(double logProb)
setLogProb
in class Item
logProb
- the log of the probability of this chart item (its
score)logProb()
public void setLogPrior(double logPrior)
logPrior
- the log of the marginal probability of the lexicalized root
nonterminal label of this chart itemlogPrior()
public void setSubcat(boolean side, Subcat subcat)
side
- the side of this chart item's head child on which
to set the subcat, either Constants.LEFT
or
Constants.RIGHT
subcat
- the subcat to set on the specified side of this item's
head childpublic void setChildren(boolean side, SLNode children)
side
- the side of this item's head child on which to set
the modifier list, either Constants.LEFT
or
Constants.RIGHT
children
- the modifier list to set for this itempublic void setPrevMods(boolean side, SexpList prevMods)
side
- the side of this chart item's head child on which to set
the previous modifier list, either Constants.LEFT
or
Constants.RIGHT
prevMods
- the list of previous modifiers to set on the specified
side of this chart item's head childpublic void setEdgeIndex(boolean side, int index)
side
- the side of the span whose index is to be set, either Constants.LEFT
or Constants.RIGHT
index
- the index to be set on the specified sidestart()
,
end()
public void setVerb(boolean side, boolean verb)
side
- the side on whose verb-generated value is to be set, either
Constants.LEFT
or Constants.RIGHT
verb
- whether a verb has been generated anywhere in the surface
string on the specified side of this item's head childpublic void setSideInfo(boolean side, Subcat subcat, SLNode children, SexpList prevMods, int edgeIndex, boolean verb)
setSubcat(side, subcat); setChildren(side, children); setPrevMods(side, prevMods); setEdgeIndex(side, edgeIndex); setVerb(side, verb);
side
- the side of this item's head child on which to set
informatioon for this chart item, either Constants.LEFT
or Constants.RIGHT
subcat
- the subcat to be set on the specified side of this item's
head childchildren
- the children list to be set on the specified side of this
item's head childprevMods
- the previous modifier list to be set on the specified side
of this item's head childedgeIndex
- the edge index of the span of this item for either the
leftmost or rightmost sideverb
- whether a verb has been generated anywhere in the surface
string on the specified side of this item's head childpublic void setGarbage(boolean garbage)
Chart.add
may have a handle
onto this item).
setGarbage
in class Item
Item.garbage()
,
Chart.add(int,int,Item)
public void hasAntecedent(Item antecedent)
numParses
data member of this item by the
number of parses of the specified antecedent.
antecedent
- an antecedent of this itempublic void hasEquivalentItem(Item equivalentItem)
hasEquivalentItem
in class Item
equivalentItem
- the item that is equivalent to this itempublic boolean isPreterminal()
true
if this item represents a preterminal.
public boolean equals(Object obj)
true
if and only if the specified object is
also an instance of a CKYItem
and all elements of
this CKYItem
are equal to those of the specified
CKYItem
, except their left and right children lists
and their log probability values.
equals
in class Object
protected boolean prevWordsEqual(CKYItem other)
return prevWordsEqual(Constants.LEFT, other) && prevWordsEqual(Constants.RIGHT, other);
other
- the chart item whose previous word lists are to be compared
to this item's
prevWordsEqual(boolean, CKYItem)
protected boolean prevWordsEqual(boolean side, CKYItem other)
side
- the side on which to compare head words of modifier childrenother
- the other chart item with which to compare modifier
head words
public int hashCode()
equals(java.lang.Object)
method.
hashCode
in class Object
public Sexp toSexp()
toSexp
in interface SexpConvertible
toSexpInternal(boolean)
protected Sexp toSexpInternal(boolean isHeadChild)
toSexp()
).
isHeadChild
- indicates whether the caller of this method is the
head child of its parent
outputLexLabels
,
outputInsideProbs
protected Symbol getLabel(Symbol label, boolean isHeadChild)
toSexpInternal(boolean)
, to provide a
layer of abstraction so that the label can include, e.g., head
information.
outputLexLabels
,
outputInsideProbs
public String toString()
toString
in class Object
protected static final String shortBool(boolean bool)
true
and the string "f" if the specified
boolean is false
.
bool
- the boolean to be converted to a short string
true
and the string "f" if the
specified boolean is false
.protected static final String shortContainsVerb(byte containsVerbValue)
containsVerbUndefined
; otherwise, returns the string that would
result in executing shortBool(containsVerb())
.
containsVerbValue
-
containsVerbUndefined
; otherwise, returns the value of
shortBool(containsVerb())
.public CKYItem setDataFrom(CKYItem other)
CKYItem
to this item,
effectively performing a destructive shallow copy of the specified
item into this item.
other
- the item whose data members are to be assigned to this
instance
public Item clear()
clear
in class Item
|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |