Go to console

FirebaseMLNLLanguageID Framework Reference

Constants

The following constants are available globally.

  • The BCP 47 language code for an undetermined language.

    Declaration

    Objective-C

    extern NSString *const _Nonnull FIRMLKitUndeterminedLanguageCode
  • @memberof LanguageIdentificationOptions The default confidence threshold for identifying the main language in the given input text.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    extern const float FIRDefaultIdentifyPossibleLanguagesConfidenceThreshold