public class Segment
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
id
Provided for the category segment type.
|
protected java.lang.String |
matchedAlternativeName
Optionally provided for the category segment type.
|
protected Matches |
matches
Defines a mapping between the inputQuery and segment.
|
protected SegmentType |
type
The type of a detected entity.
|
protected java.lang.String |
value
The value of the detected entity.
|
Constructor and Description |
---|
Segment() |
protected SegmentType type
protected java.lang.String value
protected Matches matches
protected java.lang.String id
protected java.lang.String matchedAlternativeName