Jump to top

IdentifiedLanguage

interface

An identified language for the given input text. Returned as an Array of IdentifiedLanguage from identifyPossibleLanguages.

Properties

confidence

</>

The confidence score of the language. A float value between 0 and 1.

confidence: number;

language

</>

The BCP-47 language code for the language, e.g. 'en'.

language: string;