[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-08 UTC."],[],[],null,["# MediaPipeTasksText Framework Reference\n\nLanguagePrediction\n==================\n\n class LanguagePrediction : NSObject\n\nUndocumented\n- `\n ``\n ``\n `\n\n ### [languageCode](#/c:objc(cs)MPPLanguagePrediction(py)languageCode)\n\n `\n ` \n The i18n language / locale code for the prediction. \n\n #### Declaration\n\n Swift \n\n var languageCode: String { get }\n\n- `\n ``\n ``\n `\n\n ### [probability](#/c:objc(cs)MPPLanguagePrediction(py)probability)\n\n `\n ` \n The probability for the prediction. \n\n #### Declaration\n\n Swift \n\n var probability: Float { get }\n\n- `\n ``\n ``\n `\n\n ### [init(languageCode:probability:)](#/c:objc(cs)MPPLanguagePrediction(im)initWithLanguageCode:probability:)\n\n `\n ` \n Initializes a new `LanguagePrediction` with the given language code and probability. \n\n #### Declaration\n\n Swift \n\n init(languageCode: String, probability: Float)\n\n #### Parameters\n\n |----------------------|-----------------------------------------------------|\n | ` `*languageCode*` ` | The i18n language / locale code for the prediction. |\n | ` `*probability*` ` | The probability for the prediction. |\n\n #### Return Value\n\n An instance of `LanguagePrediction` initialized with the given language code and\n probability."]]