Translate Options
constructor(splitSentences: SplitSentences? = null, preserveFormatting: PreserveFormatting? = null, formality: Formality? = null, tagHandling: TagHandling? = null, nonSplittingTags: Iterable<String>? = null, outlineDetection: OutlineDetection? = null, splittingTags: Iterable<String>? = null, ignoreTags: Iterable<String>? = null)(source)
Parameters
preserve Formatting
Defaults to PreserveFormatting.No.
formality
Defaults to Formality.Default.
tag Handling
Defaults to no handling at all.
non Splitting Tags
Defaults to an empty list.
splitting Tags
Defaults to an empty list.
ignore Tags
Defaults to an empty list.
outline Detection
Defaults to OutlineDetection.Enabled.
split Sentences
Defaults to SplitSentences.OnPunctuation when tagHandling is set to TagHandling.Html, SplitSentences.OnPunctuationAndNewlines otherwise.