The display name of the label, which may be translated for different locales. For example, a label, "apple", may be translated into Spanish for display purpose, so that the display_name is "manzana". Defaults to an empty string if there is no display name.
The label of this category object. Defaults to an empty string if there is no category.
Signature:
categoryName:string;
Category.displayName
The display name of the label, which may be translated for different locales. For example, a label, "apple", may be translated into Spanish for display purpose, so that the display_name is "manzana". Defaults to an empty string if there is no display name.
Signature:
displayName:string;
Category.index
The index of the category in the corresponding label file.
[[["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-07 UTC."],[],[],null,["# Category interface\n\n\u003cbr /\u003e\n\nA classification category.\n\n**Signature:** \n\n export declare interface Category \n\nProperties\n----------\n\n| Property | Type | Description |\n|------------------------------------------------------------|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [categoryName](./tasks-text.category#categorycategoryname) | string | The label of this category object. Defaults to an empty string if there is no category. |\n| [displayName](./tasks-text.category#categorydisplayname) | string | The display name of the label, which may be translated for different locales. For example, a label, \"apple\", may be translated into Spanish for display purpose, so that the `display_name` is \"manzana\". Defaults to an empty string if there is no display name. |\n| [index](./tasks-text.category#categoryindex) | number | The index of the category in the corresponding label file. |\n| [score](./tasks-text.category#categoryscore) | number | The probability score of this label category. |\n\nCategory.categoryName\n---------------------\n\nThe label of this category object. Defaults to an empty string if there is no category.\n\n**Signature:** \n\n categoryName: string;\n\nCategory.displayName\n--------------------\n\nThe display name of the label, which may be translated for different locales. For example, a label, \"apple\", may be translated into Spanish for display purpose, so that the `display_name` is \"manzana\". Defaults to an empty string if there is no display name.\n\n**Signature:** \n\n displayName: string;\n\nCategory.index\n--------------\n\nThe index of the category in the corresponding label file.\n\n**Signature:** \n\n index: number;\n\nCategory.score\n--------------\n\nThe probability score of this label category.\n\n**Signature:** \n\n score: number;"]]