azure-docs-sdk-java/docs-ref-autogen/com.azure.ai.translation.te...

50 строки
3.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.ai.translation.text.models.DetectedLanguage"
fullName: "com.azure.ai.translation.text.models.DetectedLanguage"
name: "DetectedLanguage"
nameWithType: "DetectedLanguage"
summary: "An object describing the detected language."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **DetectedLanguage**"
methods:
- uid: "com.azure.ai.translation.text.models.DetectedLanguage.getConfidence()"
fullName: "com.azure.ai.translation.text.models.DetectedLanguage.getConfidence()"
name: "getConfidence()"
nameWithType: "DetectedLanguage.getConfidence()"
summary: "Get the confidence property: A float value indicating the confidence in the result."
syntax: "public double getConfidence()"
desc: "Get the confidence property: A float value indicating the confidence in the result. The score is between zero and one and a low score indicates a low confidence."
returns:
description: "the confidence value."
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.translation.text.models.DetectedLanguage.getLanguage()"
fullName: "com.azure.ai.translation.text.models.DetectedLanguage.getLanguage()"
name: "getLanguage()"
nameWithType: "DetectedLanguage.getLanguage()"
summary: "Get the language property: A string representing the code of the detected language."
syntax: "public String getLanguage()"
desc: "Get the language property: A string representing the code of the detected language."
returns:
description: "the language value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "An object describing the detected language."
metadata: {}
package: "com.azure.ai.translation.text.models"
artifact: com.azure:azure-ai-translation-text:1.0.0