Справочник по платформе MLKitLanguageID
Классы
Следующие классы доступны по всему миру.
Идентифицированный язык для данного входного текста.
Декларация
Цель-C
@interface MLKIdentifiedLanguage : NSObject
Класс LanguageIdentification
, определяющий основной язык или возможные языки для данного текста.
Декларация
Цель-C
@interface MLKLanguageIdentification : NSObject
Опции для LanguageIdentification
.
Декларация
Цель-C
@interface MLKLanguageIdentificationOptions : NSObject
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-07 UTC.
[null,null,["Последнее обновление: 2025-01-07 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"]]