public interface Phrase extends PhraseElement
Sentence
. It is formed by a label
that describes its syntactical function and a list of PhraseElement
s
that correspond to its children. These children can be either other
Phrase
s or LeafElement
s (Token
s and the
Space
s separating them).Modifier and Type | Method and Description |
---|---|
java.util.List<PhraseElement> |
getChildren()
Returns the children of this phrase, which can be either other
Phrase s or LeafElement s (Token s and the
Space s separating them). |
java.lang.String |
getLabel()
Returns the label that describes the syntactical function of this phrase.
|
java.lang.String getLabel()
java.util.List<PhraseElement> getChildren()
Phrase
s or LeafElement
s (Token
s and the
Space
s separating them).