Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DocumentStatus

Document information, including translation status.

Hierarchy

  • DocumentStatus

Index

Properties

Optional base_model_id

base_model_id: string

Model ID of the base model that was used to customize the model. If the model is not a custom model, this will be absent or an empty string.

Optional character_count

character_count: number

The number of characters in the source document, present only if status=available.

Optional completed

completed: string

The time when the translation completed.

created

created: string

The time when the document was submitted.

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.

document_id

document_id: string

System generated ID identifying a document being translated using one specific translation model.

filename

filename: string

filename from the submission (if it was missing in the multipart-form, 'noname.' is used.

model_id

model_id: string

A globally unique string that identifies the underlying model that is used for translation.

source

source: string

Translation source language code.

status

status: string

The status of the translation job associated with a submitted document.

target

target: string

Translation target language code.

Optional word_count

word_count: number

An estimate of the number of words in the source document. Returned only if status is available.

Generated using TypeDoc