Notice: This documentation is currently a work in progress for the upcoming v6 release and some content may be missing or incomplete. If you're not interested in testing out the alpha version of v6 then please click here to be taken to the v5 documentation.

message  Send Feedback


An interface representing the language identification options to be used with the identifyLanguage and identifyPossibleLanguages methods.



confidenceThreshold?: undefined | number;

The confidence threshold for language identification. The identified languages will have a confidence higher or equal to the confidence threshold. The value should be between 0 and 1, e.g. 0.5.

If no value is set, a default value is used instead.