Uses of Class
com.azure.ai.translation.text.models.ProfanityAction
Package
Description
Package containing the classes for TextTranslation.
Package containing the data models for TextTranslation.
-
Uses of ProfanityAction in com.azure.ai.translation.text
Modifier and TypeMethodDescriptionTextTranslationAsyncClient.translate
(List<String> to, List<InputTextItem> content, String clientTraceId, String from, TextType textType, String category, ProfanityAction profanityAction, ProfanityMarker profanityMarker, Boolean includeAlignment, Boolean includeSentenceLength, String suggestedFrom, String fromScript, String toScript, Boolean allowFallback) Translate Text.TextTranslationClient.translate
(List<String> to, List<InputTextItem> content, String clientTraceId, String from, TextType textType, String category, ProfanityAction profanityAction, ProfanityMarker profanityMarker, Boolean includeAlignment, Boolean includeSentenceLength, String suggestedFrom, String fromScript, String toScript, Boolean allowFallback) Translate Text. -
Uses of ProfanityAction in com.azure.ai.translation.text.models
Modifier and TypeFieldDescriptionstatic final ProfanityAction
ProfanityAction.DELETED
Static value Deleted for ProfanityAction.static final ProfanityAction
ProfanityAction.MARKED
Static value Marked for ProfanityAction.static final ProfanityAction
ProfanityAction.NO_ACTION
Static value NoAction for ProfanityAction.Modifier and TypeMethodDescriptionstatic ProfanityAction
ProfanityAction.fromString
(String name) Creates or finds a ProfanityAction from its string representation.Modifier and TypeMethodDescriptionstatic Collection<ProfanityAction>
ProfanityAction.values()
Gets known ProfanityAction values.