MLKitLanguageID Framework Reference

  • ML Kit provides three classes for language identification: MLKIdentifiedLanguage, MLKLanguageIdentification, and MLKLanguageIdentificationOptions.

  • MLKIdentifiedLanguage represents a language identified from input text.

  • MLKLanguageIdentification is used to identify the primary or potential languages of given text.

  • MLKLanguageIdentificationOptions offers customization choices for the language identification process.

Classes

The following classes are available globally.

  • An identified language for the given input text.

    Declaration

    Objective-C

    
    @interface MLKIdentifiedLanguage : NSObject
  • The LanguageIdentification class that identifies the main language or possible languages for the given text.

    Declaration

    Objective-C

    
    @interface MLKLanguageIdentification : NSObject
  • Options for LanguageIdentification.

    Declaration

    Objective-C

    
    @interface MLKLanguageIdentificationOptions : NSObject