public class Constituent extends Object
Constructor and Description |
---|
Constituent(String label,
Span span) |
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Returns the label of the constituent.
|
Span |
getSpan()
Returns the span of the constituent.
|
void |
setLabel(String label)
Assigns the label to the constituent.
|
public String getLabel()
public void setLabel(String label)
label
- The label to set.public Span getSpan()
Copyright © 2017 The Apache Software Foundation. All rights reserved.