Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
PhraseListOptions Class
- Package:
- com.azure.ai.speech.transcription.models
- Maven Artifact:
- com.azure:azure-ai-speech-transcription:1.0.0
- java.lang.Object
- com.azure.ai.speech.transcription.models.PhraseListOptions
Implements
public final class PhraseListOptions
implements JsonSerializable<PhraseListOptions>
Phrase list properties for transcription.
Constructor Summary
| Constructor | Description |
|---|---|
| PhraseListOptions() |
Creates an instance of PhraseListOptions class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static PhraseListOptions |
fromJson(JsonReader jsonReader)
Reads an instance of PhraseListOptions from the JsonReader. |
| Double |
getBiasingWeight()
Get the biasingWeight property: Biasing weight for phrase list (0.0-2.0). |
| List<String> |
getPhrases()
Get the phrases property: List of phrases for recognition. |
| PhraseListOptions |
setBiasingWeight(Double biasingWeight)
Set the biasingWeight property: Biasing weight for phrase list (0.0-2.0). |
| PhraseListOptions |
setPhrases(List<String> phrases)
Set the phrases property: List of phrases for recognition. |
| JsonWriter | toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
PhraseListOptions
public PhraseListOptions()
Creates an instance of PhraseListOptions class.
Method Details
fromJson
public static PhraseListOptions fromJson(JsonReader jsonReader)
Reads an instance of PhraseListOptions from the JsonReader.
Parameters:
Returns:
Throws:
getBiasingWeight
public Double getBiasingWeight()
Get the biasingWeight property: Biasing weight for phrase list (0.0-2.0).
Returns:
getPhrases
public List<String> getPhrases()
Get the phrases property: List of phrases for recognition.
Returns:
setBiasingWeight
public PhraseListOptions setBiasingWeight(Double biasingWeight)
Set the biasingWeight property: Biasing weight for phrase list (0.0-2.0).
Parameters:
Returns:
setPhrases
public PhraseListOptions setPhrases(List<String> phrases)
Set the phrases property: List of phrases for recognition.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java
Feedback
Was this page helpful?
