MLKitLanguageID Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003eML Kit provides three classes for language identification: \u003ccode\u003eMLKIdentifiedLanguage\u003c/code\u003e, \u003ccode\u003eMLKLanguageIdentification\u003c/code\u003e, and \u003ccode\u003eMLKLanguageIdentificationOptions\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMLKIdentifiedLanguage\u003c/code\u003e represents a language identified from input text.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMLKLanguageIdentification\u003c/code\u003e is used to identify the primary or potential languages of given text.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMLKLanguageIdentificationOptions\u003c/code\u003e offers customization choices for the language identification process.\u003c/p\u003e\n"]]],["The document outlines three classes for language identification in text. `MLKIdentifiedLanguage` represents a detected language. `MLKLanguageIdentification` identifies the primary or possible languages within a text. `MLKLanguageIdentificationOptions` allows for setting configuration options for the `LanguageIdentification` process. All three classes are available globally and are implemented using Objective-C, inheriting from `NSObject`. They are used in the iOS ML Kit for language identification tasks.\n"],null,["# MLKitLanguageID Framework Reference\n\nClasses\n=======\n\nThe following classes are available globally.\n- `\n ``\n ``\n `\n\n ### [MLKIdentifiedLanguage](/ml-kit/reference/ios/mlkitlanguageid/api/reference/Classes/MLKIdentifiedLanguage)\n\n `\n ` \n An identified language for the given input text. \n\n #### Declaration\n\n Objective-C \n\n\n @interface MLKIdentifiedLanguage : NSObject\n\n- `\n ``\n ``\n `\n\n ### [MLKLanguageIdentification](/ml-kit/reference/ios/mlkitlanguageid/api/reference/Classes/MLKLanguageIdentification)\n\n `\n ` \n The `LanguageIdentification` class that identifies the main language or possible languages for\n the given text. \n\n #### Declaration\n\n Objective-C \n\n\n @interface MLKLanguageIdentification : NSObject\n\n- `\n ``\n ``\n `\n\n ### [MLKLanguageIdentificationOptions](/ml-kit/reference/ios/mlkitlanguageid/api/reference/Classes/MLKLanguageIdentificationOptions)\n\n `\n ` \n Options for `LanguageIdentification`. \n\n #### Declaration\n\n Objective-C \n\n\n @interface MLKLanguageIdentificationOptions : NSObject"]]