LanguageDetectorPrediction interface

A language code and its probability.

Signature:

export declare interface LanguageDetectorPrediction 

Properties

Property Type Description
languageCode string An i18n language / locale code, e.g. "en" for English, "uz" for Uzbek, "ja"-Latn for Japanese (romaji).
probability number The probability

LanguageDetectorPrediction.languageCode

An i18n language / locale code, e.g. "en" for English, "uz" for Uzbek, "ja"-Latn for Japanese (romaji).

Signature:

languageCode: string;

LanguageDetectorPrediction.probability

The probability

Signature:

probability: number;