חומר עזר בנושא MLKitTranslate Framework
שיעורים
הכיתות הבאות זמינות בכל העולם.
-
ניהול מודלים שמשמשים את תכונות MLKit.
הצהרה
Objective-C
@interface MLKModelManager : NSObject
-
מודל שנשמר מרחוק בשרת ומוריד למכשיר.
הצהרה
Objective-C
@interface MLKRemoteModel : NSObject
-
מודל תרגום שנשמר מרחוק בשרת ונשלח להורדה במכשיר.
-
כיתה שמתרגמת את טקסט הקלט הנתון.
הצהרה
Objective-C
@interface MLKTranslator : NSObject
-
האפשרויות לגבי Translator
.
הצהרה
Objective-C
@interface MLKTranslatorOptions : NSObject
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-06 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-06 (שעון UTC)."],[[["ML Kit provides classes for managing models, including remote models that are downloaded to the device."],["The `MLKTranslator` class handles text translation, utilizing models managed by `MLKModelManager`."],["`MLKTranslateRemoteModel` represents a translation model stored remotely and downloaded when needed."],["`MLKTranslatorOptions` allows customization of the translation process through various settings."],["Developers can use these classes to integrate on-device or cloud-based translation features in their iOS applications."]]],["The core content outlines five globally available classes for MLKit features. `MLKModelManager` manages models. `MLKRemoteModel` represents models stored remotely and downloaded. `MLKTranslateRemoteModel` is a specific remote model for translation. `MLKTranslator` translates text inputs. Lastly, `MLKTranslatorOptions` provides customization settings for the `MLKTranslator` class. All classes are defined in Objective-C.\n"]]