AI-generated Key Takeaways
-
Language identification tools can determine the primary language or potential languages within a given text.
-
Three main classes drive language identification:
IdentifiedLanguage,LanguageIdentification, andLanguageIdentificationOptions. -
IdentifiedLanguagerepresents the detected language for input text. -
LanguageIdentificationis the core class used for identifying languages within provided content. -
LanguageIdentificationOptionsoffers customizable settings to adjust the identification process.
Classes
The following classes are available globally.
-
An identified language for the given input text.
Declaration
Swift
class IdentifiedLanguage : NSObject -
The
LanguageIdentificationclass that identifies the main language or possible languages for the given text.Declaration
Swift
class LanguageIdentification : NSObject -
Options for
LanguageIdentification.Declaration
Swift
class LanguageIdentificationOptions : NSObject