public class PhraseAnnotation extends TextPipeAnnotation
Modifier and Type | Class and Description |
---|---|
static class |
PhraseAnnotation.Phrase
Penn Treebank phrase abbreviations.
|
Modifier and Type | Field and Description |
---|---|
PhraseAnnotation.Phrase |
phrase
The
PhraseAnnotation.Phrase label. |
boolean |
start
true if this is the start token of a phrase segment.
|
Constructor and Description |
---|
PhraseAnnotation(PhraseAnnotation.Phrase phrase,
boolean start) |
Modifier and Type | Method and Description |
---|---|
String |
getOrder()
Returns a string representation of the Phrase order of this phrase.
|
addAllAnnotations, addAnnotation, getAnnotationKeyList, getAnnotationsFor
public PhraseAnnotation.Phrase phrase
PhraseAnnotation.Phrase
label.public boolean start
public PhraseAnnotation(PhraseAnnotation.Phrase phrase, boolean start)