Package com.keenresearch.keenasr
Enum Class KASRDecodingGraph.KASRSpeakingTask
java.lang.Object
java.lang.Enum<KASRDecodingGraph.KASRSpeakingTask>
com.keenresearch.keenasr.KASRDecodingGraph.KASRSpeakingTask
- All Implemented Interfaces:
Serializable
,Comparable<KASRDecodingGraph.KASRSpeakingTask>
,Constable
- Enclosing class:
- KASRDecodingGraph
public static enum KASRDecodingGraph.KASRSpeakingTask
extends Enum<KASRDecodingGraph.KASRSpeakingTask>
KASRSpeakingTask defines a type of interaction which might be useful when building a decoding
graph, so that the way decoding graph is built can be fine tuned to the task.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDefault task.Oral reading task is can be used when user is reading aloud, typically in educational applications. -
Method Summary
Modifier and TypeMethodDescriptionint
intValue()
Returns the enum constant of this class with the specified name.static KASRDecodingGraph.KASRSpeakingTask[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
KASRSpeakingTaskDefault
Default task. -
KASRSpeakingTaskOralReading
Oral reading task is can be used when user is reading aloud, typically in educational applications. Decoding graph optimized for this task will take into account common mistakes that might be made during reading providing optimized performance.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
intValue
public int intValue()- Returns:
- integer value of the enum.
-