Dokumentacja platformy MLKitLanguageID
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zajęcia
Poniższe klasy są dostępne na całym świecie.
-
Identyfikowany język dla danego tekstu wejściowego.
Deklaracja
Objective-C
@interface MLKIdentifiedLanguage : NSObject
-
Klasa LanguageIdentification
, która określa główny język lub możliwe języki dla języka:
danego tekstu.
Deklaracja
Objective-C
@interface MLKLanguageIdentification : NSObject
-
Opcje dotyczące usługi LanguageIdentification
.
Deklaracja
Objective-C
@interface MLKLanguageIdentificationOptions : NSObject
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-09-20 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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"]]