MLKitLanguageID Framework Reference
Classes
The following classes are available globally.
-
An identified language for the given input text.
Declaration
Swift
class IdentifiedLanguage : NSObject
-
The LanguageIdentification
class that identifies the main language or possible languages for
the given text.
Declaration
Swift
class LanguageIdentification : NSObject
-
Declaration
Swift
class LanguageIdentificationOptions : 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."],[[["Language identification tools can determine the primary language or potential languages within a given text."],["Three main classes drive language identification: `IdentifiedLanguage`, `LanguageIdentification`, and `LanguageIdentificationOptions`."],["`IdentifiedLanguage` represents the detected language for input text."],["`LanguageIdentification` is the core class used for identifying languages within provided content."],["`LanguageIdentificationOptions` offers customizable settings to adjust the identification process."]]],[]]