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.
  • Enum Constant Details

    • KASRSpeakingTaskDefault

      public static final KASRDecodingGraph.KASRSpeakingTask KASRSpeakingTaskDefault
      Default task.
    • KASRSpeakingTaskOralReading

      public static final KASRDecodingGraph.KASRSpeakingTask 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

      public static KASRDecodingGraph.KASRSpeakingTask[] 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

      public static KASRDecodingGraph.KASRSpeakingTask valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • intValue

      public int intValue()
      Returns:
      integer value of the enum.