Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TranslationSettings

import type { TranslationSettings } from "https://aws-api.deno.dev/v0.3/services/translate.ts?docs=full";

Settings that configure the translation output.

interface TranslationSettings {
Profanity?: Profanity | null;
}

§Properties

§
Profanity?: Profanity | null
[src]

Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation output.

To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.

Amazon Translate does not detect profanity in all of its supported languages. For languages that support profanity detection, see Supported Languages and Language Codes in the Amazon Translate Developer Guide.