public class NodeType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static NodeType |
DUMMY
NodeType to indicate dummy node.
|
static NodeType |
PHONE
NodeType to indicate the node contains a word.
|
static NodeType |
SILENCE_WITH_LOOPBACK
NodeType to indicate node containing silence with loopback.
|
static NodeType |
STATE
NodeType to indicate the node contains a word.
|
static NodeType |
UTTERANCE_BEGIN
NodeType to indicate the start of am utterance.
|
static NodeType |
UTTERANCE_END
NodeType to indicate the end of a speech utterance.
|
static NodeType |
WORD
NodeType to indicate the node contains a word.
|
Modifier | Constructor and Description |
---|---|
protected |
NodeType(java.lang.String name)
Constructs a NodeType with the given name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(NodeType nodeType)
Returns true if the given NodeType is equal to this NodeType.
|
java.lang.String |
toString()
Returns the name of this NodeType.
|
public static final NodeType DUMMY
public static final NodeType SILENCE_WITH_LOOPBACK
public static final NodeType UTTERANCE_END
public static final NodeType UTTERANCE_BEGIN
public static final NodeType WORD
public static final NodeType PHONE
public static final NodeType STATE
protected NodeType(java.lang.String name)
name
- of the node typepublic boolean equals(NodeType nodeType)
nodeType
- the NodeType to comparepublic java.lang.String toString()
toString
in class java.lang.Object