Package com.oracle.bmc.aispeech.model
Enum RealtimeParameters.Punctuation
- java.lang.Object
-
- java.lang.Enum<RealtimeParameters.Punctuation>
-
- com.oracle.bmc.aispeech.model.RealtimeParameters.Punctuation
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<RealtimeParameters.Punctuation>
- Enclosing class:
- RealtimeParameters
public static enum RealtimeParameters.Punctuation extends Enum<RealtimeParameters.Punctuation> implements BmcEnum
Configure punctuations in the generated transcriptions.Disabled by default. - NONE: No punctuation in the transcription response - SPOKEN: Punctuations in response only when verbally spoken - AUTO: Automatic punctuation in the response, spoken punctuations are disabled
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RealtimeParameters.Punctuation
create(String key)
String
getValue()
static RealtimeParameters.Punctuation
valueOf(String name)
Returns the enum constant of this type with the specified name.static RealtimeParameters.Punctuation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final RealtimeParameters.Punctuation None
-
Spoken
public static final RealtimeParameters.Punctuation Spoken
-
Auto
public static final RealtimeParameters.Punctuation Auto
-
-
Method Detail
-
values
public static RealtimeParameters.Punctuation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RealtimeParameters.Punctuation c : RealtimeParameters.Punctuation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RealtimeParameters.Punctuation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static RealtimeParameters.Punctuation create(String key)
-
-