Package version:

Interface LanguageDetectionSuccessResult

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

Hierarchy

Properties

error?: undefined

Discriminant to determine if this is an error result.

id: string

Unique, non-empty document identifier.

primaryLanguage: DetectedLanguage

The top detected language by confidence score.

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: Object

An array of warning data corresponding to this document.

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

Generated using TypeDoc