Jump to top

LanguageIdentificationOptions

interface

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

Properties

confidenceThreshold

</>

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.

confidenceThreshold: undefined | number;