MLKitLanguageID Framework Reference
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[null,null,["Last updated 2024-07-10 UTC."],[[["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."]]],[]]