Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TranslationResult

TranslationResult.

Hierarchy

  • TranslationResult

Index

Properties

character_count

character_count: number

Number of characters in the input text.

Optional detected_language

detected_language: string

The language code of the source text if the source language was automatically detected.

Optional detected_language_confidence

detected_language_confidence: number

A score between 0 and 1 indicating the confidence of source language detection. A higher value indicates greater confidence. This is returned only when the service automatically detects the source language.

translations

translations: Translation[]

List of translation output in UTF-8, corresponding to the input text entries.

word_count

word_count: number

An estimate of the number of words in the input text.

Generated using TypeDoc