MLKitLanguageID Framework Reference

Constants

The following constants are available globally.

  • The BCP 47 language tag for an undetermined

    • language.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(IdentifiedLanguage.undetermined) NSString *const
        MLKUndeterminedLanguageTag
  • @memberof LanguageIdentificationOptions The default confidence threshold for identifying the main language in the given input text.

    Declaration

    Objective-C

    extern const float kMLKDefaultIdentifyLanguageConfidenceThreshold
  • @memberof LanguageIdentificationOptions The default confidence threshold for identifying possible languages in the given input text.

    Declaration

    Objective-C

    extern const float kMLKDefaultIdentifyPossibleLanguagesConfidenceThreshold