azure-docs-sdk-java/docs-ref-autogen/com.azure.ai.contentsafety....

50 строки
3.4 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.ai.contentsafety.models.TextCategoriesAnalysis"
fullName: "com.azure.ai.contentsafety.models.TextCategoriesAnalysis"
name: "TextCategoriesAnalysis"
nameWithType: "TextCategoriesAnalysis"
summary: "Text analysis result."
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 **TextCategoriesAnalysis**"
methods:
- uid: "com.azure.ai.contentsafety.models.TextCategoriesAnalysis.getCategory()"
fullName: "com.azure.ai.contentsafety.models.TextCategoriesAnalysis.getCategory()"
name: "getCategory()"
nameWithType: "TextCategoriesAnalysis.getCategory()"
summary: "Get the category property: The text analysis category."
syntax: "public TextCategory getCategory()"
desc: "Get the category property: The text analysis category."
returns:
description: "the category value."
type: "<xref href=\"com.azure.ai.contentsafety.models.TextCategory?alt=com.azure.ai.contentsafety.models.TextCategory&text=TextCategory\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.contentsafety.models.TextCategoriesAnalysis.getSeverity()"
fullName: "com.azure.ai.contentsafety.models.TextCategoriesAnalysis.getSeverity()"
name: "getSeverity()"
nameWithType: "TextCategoriesAnalysis.getSeverity()"
summary: "Get the severity property: The value increases with the severity of the input content."
syntax: "public Integer getSeverity()"
desc: "Get the severity property: The value increases with the severity of the input content. The value of this field is determined by the output type specified in the request. The output type could be \\\\u2018FourSeverityLevels\\\\u2019 or \\\\u2018EightSeverity Levels\\\\u2019, and the output value can be 0, 2, 4, 6 or 0, 1, 2, 3, 4, 5, 6, or 7."
returns:
description: "the severity value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
type: "class"
desc: "Text analysis result."
metadata: {}
package: "com.azure.ai.contentsafety.models"
artifact: com.azure:azure-ai-contentsafety:1.0.6