ProfanityAction Enum
- java.
lang. Object - java.
lang. Enum - com.
azure. ai. translation. text. models. ProfanityAction
- com.
- java.
public enum ProfanityAction
extends Enum<ProfanityAction>
Translator profanity actions.
Fields
| DELETED |
Profanity is deleted from the translated text. |
| MARKED |
Profanity is marked. |
| NO_ACTION |
No Action is taken on profanity. |
Methods inherited from java.lang.Enum
Methods inherited from java.lang.Object
Methods
fromString(String value)
public static ProfanityAction fromString(String value)
Parses a serialized value to a ProfanityAction instance.
Parameters
- value
- String