Page Summary
-
Globally available constants provide language identification capabilities.
-
MLKUndeterminedLanguageTagrepresents an undefined language according to BCP 47. -
LanguageIdentificationOptionsincludes thresholds for identifying main and possible languages:DefaultIdentifyLanguageConfidenceThresholdandDefaultIdentifyPossibleLanguagesConfidenceThresholdrespectively.
Constants
The following constants are available globally.
-
The BCP 47 language tag for an undetermined
- language.
-
@memberof
LanguageIdentificationOptionsThe default confidence threshold for identifying the main language in the given input text.Declaration
Swift
let DefaultIdentifyLanguageConfidenceThreshold : Float -
@memberof
LanguageIdentificationOptionsThe default confidence threshold for identifying possible languages in the given input text.Declaration
Swift
let DefaultIdentifyPossibleLanguagesConfidenceThreshold : Float


