azure-docs-sdk-java/docs-ref-autogen/com.microsoft.cognitiveserv...

196 строки
16 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig"
name: "PronunciationAssessmentConfig"
nameWithType: "PronunciationAssessmentConfig"
summary: "Represents pronunciation assessment configuration."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public final class **PronunciationAssessmentConfig**</br> implements <xref href=\"java.lang.AutoCloseable?alt=java.lang.AutoCloseable&text=AutoCloseable\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.PronunciationAssessmentConfig(java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.PronunciationAssessmentConfig(String referenceText)"
name: "PronunciationAssessmentConfig(String referenceText)"
nameWithType: "PronunciationAssessmentConfig.PronunciationAssessmentConfig(String referenceText)"
summary: "Initializes an instance of the Pronunciation<wbr>Assessment<wbr>Config For the parameters details, see https://docs.<wbr>microsoft.<wbr>com/azure/cognitive-services/speech-service/rest-speech-to-text\\#pronunciation-assessment-parameters"
parameters:
- description: "The reference text"
name: "referenceText"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PronunciationAssessmentConfig(String referenceText)"
desc: "Initializes an instance of the PronunciationAssessmentConfig For the parameters details, see https://docs.microsoft.com/azure/cognitive-services/speech-service/rest-speech-to-text\\#pronunciation-assessment-parameters"
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.PronunciationAssessmentConfig(java.lang.String,com.microsoft.cognitiveservices.speech.PronunciationAssessmentGradingSystem,com.microsoft.cognitiveservices.speech.PronunciationAssessmentGranularity)"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.PronunciationAssessmentConfig(String referenceText, PronunciationAssessmentGradingSystem gradingSystem, PronunciationAssessmentGranularity granularity)"
name: "PronunciationAssessmentConfig(String referenceText, PronunciationAssessmentGradingSystem gradingSystem, PronunciationAssessmentGranularity granularity)"
nameWithType: "PronunciationAssessmentConfig.PronunciationAssessmentConfig(String referenceText, PronunciationAssessmentGradingSystem gradingSystem, PronunciationAssessmentGranularity granularity)"
summary: "Initializes an instance of the Pronunciation<wbr>Assessment<wbr>Config For the parameters details, see https://docs.<wbr>microsoft.<wbr>com/azure/cognitive-services/speech-service/rest-speech-to-text\\#pronunciation-assessment-parameters"
parameters:
- description: "The reference text"
name: "referenceText"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "The point system for score calibration"
name: "gradingSystem"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.PronunciationAssessmentGradingSystem?alt=com.microsoft.cognitiveservices.speech.PronunciationAssessmentGradingSystem&text=PronunciationAssessmentGradingSystem\" data-throw-if-not-resolved=\"False\" />"
- description: "The evaluation granularity"
name: "granularity"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.PronunciationAssessmentGranularity?alt=com.microsoft.cognitiveservices.speech.PronunciationAssessmentGranularity&text=PronunciationAssessmentGranularity\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PronunciationAssessmentConfig(String referenceText, PronunciationAssessmentGradingSystem gradingSystem, PronunciationAssessmentGranularity granularity)"
desc: "Initializes an instance of the PronunciationAssessmentConfig For the parameters details, see https://docs.microsoft.com/azure/cognitive-services/speech-service/rest-speech-to-text\\#pronunciation-assessment-parameters"
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.PronunciationAssessmentConfig(java.lang.String,com.microsoft.cognitiveservices.speech.PronunciationAssessmentGradingSystem,com.microsoft.cognitiveservices.speech.PronunciationAssessmentGranularity,boolean)"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.PronunciationAssessmentConfig(String referenceText, PronunciationAssessmentGradingSystem gradingSystem, PronunciationAssessmentGranularity granularity, boolean enableMiscue)"
name: "PronunciationAssessmentConfig(String referenceText, PronunciationAssessmentGradingSystem gradingSystem, PronunciationAssessmentGranularity granularity, boolean enableMiscue)"
nameWithType: "PronunciationAssessmentConfig.PronunciationAssessmentConfig(String referenceText, PronunciationAssessmentGradingSystem gradingSystem, PronunciationAssessmentGranularity granularity, boolean enableMiscue)"
summary: "Initializes an instance of the Pronunciation<wbr>Assessment<wbr>Config For the parameters details, see https://docs.<wbr>microsoft.<wbr>com/azure/cognitive-services/speech-service/rest-speech-to-text\\#pronunciation-assessment-parameters"
parameters:
- description: "The reference text"
name: "referenceText"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "The point system for score calibration"
name: "gradingSystem"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.PronunciationAssessmentGradingSystem?alt=com.microsoft.cognitiveservices.speech.PronunciationAssessmentGradingSystem&text=PronunciationAssessmentGradingSystem\" data-throw-if-not-resolved=\"False\" />"
- description: "The evaluation granularity"
name: "granularity"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.PronunciationAssessmentGranularity?alt=com.microsoft.cognitiveservices.speech.PronunciationAssessmentGranularity&text=PronunciationAssessmentGranularity\" data-throw-if-not-resolved=\"False\" />"
- description: "If enables miscue calculation. When true, the pronounced words are compared to the reference text, and are marked with omission/insertion based on the comparison; when false, the recognized text will always be reference text."
name: "enableMiscue"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PronunciationAssessmentConfig(String referenceText, PronunciationAssessmentGradingSystem gradingSystem, PronunciationAssessmentGranularity granularity, boolean enableMiscue)"
desc: "Initializes an instance of the PronunciationAssessmentConfig For the parameters details, see https://docs.microsoft.com/azure/cognitive-services/speech-service/rest-speech-to-text\\#pronunciation-assessment-parameters"
methods:
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.applyTo(com.microsoft.cognitiveservices.speech.Recognizer)"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.applyTo(Recognizer recognizer)"
name: "applyTo(Recognizer recognizer)"
nameWithType: "PronunciationAssessmentConfig.applyTo(Recognizer recognizer)"
summary: "Applies the settings in this config to a recognizer."
parameters:
- description: "The target recognizer."
name: "recognizer"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.Recognizer?alt=com.microsoft.cognitiveservices.speech.Recognizer&text=Recognizer\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void applyTo(Recognizer recognizer)"
desc: "Applies the settings in this config to a recognizer."
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.close()"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.close()"
name: "close()"
nameWithType: "PronunciationAssessmentConfig.close()"
summary: "Explicitly frees any external resource attached to the object"
syntax: "public void close()"
desc: "Explicitly frees any external resource attached to the object"
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.enableContentAssessmentWithTopic(java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.enableContentAssessmentWithTopic(String topic)"
name: "enableContentAssessmentWithTopic(String topic)"
nameWithType: "PronunciationAssessmentConfig.enableContentAssessmentWithTopic(String topic)"
summary: "Enables content assessment with specified topic."
parameters:
- description: "the content topic."
name: "topic"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void enableContentAssessmentWithTopic(String topic)"
desc: "Enables content assessment with specified topic."
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.enableProsodyAssessment()"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.enableProsodyAssessment()"
name: "enableProsodyAssessment()"
nameWithType: "PronunciationAssessmentConfig.enableProsodyAssessment()"
summary: "Enables prosody assessment."
syntax: "public void enableProsodyAssessment()"
desc: "Enables prosody assessment."
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.fromJson(java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.fromJson(String json)"
name: "fromJson(String json)"
nameWithType: "PronunciationAssessmentConfig.fromJson(String json)"
summary: "Creates an instance of the Pronunciation<wbr>Assessment<wbr>Config from a json string"
modifiers:
- "static"
parameters:
- description: "the json string"
name: "json"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static PronunciationAssessmentConfig fromJson(String json)"
desc: "Creates an instance of the PronunciationAssessmentConfig from a json string"
returns:
description: "The pronunciation assessment configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig?alt=com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig&text=PronunciationAssessmentConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.getImpl()"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.getImpl()"
name: "getImpl()"
nameWithType: "PronunciationAssessmentConfig.getImpl()"
summary: "Returns the Pronunciation<wbr>Assessment<wbr>Config"
syntax: "public SafeHandle getImpl()"
desc: "Returns the PronunciationAssessmentConfig"
returns:
description: "The implementation of the PronunciationAssessmentConfig object"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.util.SafeHandle?alt=com.microsoft.cognitiveservices.speech.util.SafeHandle&text=SafeHandle\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.getReferenceText()"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.getReferenceText()"
name: "getReferenceText()"
nameWithType: "PronunciationAssessmentConfig.getReferenceText()"
summary: "Gets the reference text."
syntax: "public String getReferenceText()"
desc: "Gets the reference text."
returns:
description: "The reference text."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.setNBestPhonemeCount(int)"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.setNBestPhonemeCount(int count)"
name: "setNBestPhonemeCount(int count)"
nameWithType: "PronunciationAssessmentConfig.setNBestPhonemeCount(int count)"
summary: "Sets the nbest phoneme alphabet"
parameters:
- description: "the nbest phoneme count."
name: "count"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setNBestPhonemeCount(int count)"
desc: "Sets the nbest phoneme alphabet"
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.setPhonemeAlphabet(java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.setPhonemeAlphabet(String value)"
name: "setPhonemeAlphabet(String value)"
nameWithType: "PronunciationAssessmentConfig.setPhonemeAlphabet(String value)"
summary: "Sets the phoneme alphabet"
parameters:
- description: "the reference text."
name: "value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setPhonemeAlphabet(String value)"
desc: "Sets the phoneme alphabet"
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.setReferenceText(java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.setReferenceText(String value)"
name: "setReferenceText(String value)"
nameWithType: "PronunciationAssessmentConfig.setReferenceText(String value)"
summary: "Sets the reference text."
parameters:
- description: "the reference text."
name: "value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setReferenceText(String value)"
desc: "Sets the reference text."
- uid: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.toJson()"
fullName: "com.microsoft.cognitiveservices.speech.PronunciationAssessmentConfig.toJson()"
name: "toJson()"
nameWithType: "PronunciationAssessmentConfig.toJson()"
summary: "Gets the json string of pronunciation assessment parameters."
syntax: "public String toJson()"
desc: "Gets the json string of pronunciation assessment parameters."
returns:
description: "json string of pronunciation assessment parameters."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Represents pronunciation assessment configuration. Note: close() must be called in order to release underlying resources held by the object. Added in version 1.14.0"
implements:
- "<xref href=\"java.lang.AutoCloseable?alt=java.lang.AutoCloseable&text=AutoCloseable\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.microsoft.cognitiveservices.speech"
artifact: com.microsoft.cognitiveservices.speech:client-sdk:1.38.0