Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DetectLanguageSuccessResult

Package version

The result of the detect language operation on a single document, containing a prediction of what language the document is written in.

Hierarchy

Index

Properties

Optional error

error: undefined

Discriminant to determine if that this is an error result.

id

id: string

Unique, non-empty document identifier.

primaryLanguage

primaryLanguage: DetectedLanguage

The top detected language by confidence score.

Optional statistics

Statistics about the input document and how it was processed by the service. This property will have a value when includeStatistics is set to true in the client call.

warnings

An array of warning data corresponding to this document.

If no warnings were returned, this array will be empty.

Generated using TypeDoc