Documentation de référence sur le framework MLKitLanguageID
Classes
Les classes suivantes sont disponibles dans le monde entier.
-
Langue identifiée pour le texte saisi.
Déclaration
Objective-C
@interface MLKIdentifiedLanguage : NSObject
-
La classe LanguageIdentification
qui identifie la langue principale ou les langues possibles pour
le texte donné.
Déclaration
Objective-C
@interface MLKLanguageIdentification : NSObject
-
Options pour LanguageIdentification
.
Déclaration
Objective-C
@interface MLKLanguageIdentificationOptions : NSObject
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/09/20 (UTC).
[null,null,["Dernière mise à jour le 2024/09/20 (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."]]],["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"]]