Radio और मल्टीसेलेक्ट
एकल और एकाधिक चयन एनोटेशन प्रकार।
Radio button और multiselect checkbox वर्गीकरण कार्यों के लिए सबसे सामान्य एनोटेशन प्रकार हैं।
Radio Buttons
जब एनोटेटर्स को बिल्कुल एक विकल्प चुनना हो तो radio button का उपयोग करें।
बुनियादी कॉन्फ़िगरेशन
yaml
annotation_schemes:
- annotation_type: radio
name: sentiment
description: "Select the sentiment of this text"
labels:
- Positive
- Negative
- Neutralकीबोर्ड शॉर्टकट के साथ
तेज़ एनोटेशन के लिए कीबोर्ड शॉर्टकट जोड़ें:
yaml
annotation_schemes:
- annotation_type: radio
name: sentiment
description: "Select the sentiment"
labels:
- Positive
- Negative
- Neutral
sequential_key_binding:
Positive: "1"
Negative: "2"
Neutral: "3"Tooltip के साथ
प्रत्येक विकल्प के लिए अतिरिक्त संदर्भ प्रदान करें:
yaml
annotation_schemes:
- annotation_type: radio
name: sentiment
description: "Select the sentiment"
labels:
- Positive
- Negative
- NeutralMultiselect
चेकबॉक्स एनोटेटर को सभी लागू लेबल एक साथ चुनने देते हैं
जब एनोटेटर्स कई विकल्प चुन सकते हों तो multiselect का उपयोग करें।
बुनियादी कॉन्फ़िगरेशन
yaml
annotation_schemes:
- annotation_type: multiselect
name: topics
description: "Select all topics that apply"
labels:
- Politics
- Sports
- Technology
- Entertainment
- Scienceन्यूनतम/अधिकतम चयन के साथ
चयनों की संख्या सीमित करें:
yaml
annotation_schemes:
- annotation_type: multiselect
name: topics
description: "Select 1-3 topics"
labels:
- Politics
- Sports
- TechnologyStyling विकल्प
क्षैतिज लेआउट
विकल्पों को लंबवत के बजाय क्षैतिज रूप से प्रदर्शित करें:
yaml
annotation_schemes:
- annotation_type: radio
name: rating
labels:
- "1"
- "2"
- "3"
- "4"
- "5"कस्टम रंग
लेबल को रंग असाइन करें:
yaml
annotation_schemes:
- annotation_type: radio
name: sentiment
labels:
- Positive
- Negative
- Neutralसर्वोत्तम प्रथाएँ
- लेबल संक्षिप्त रखें - छोटे, स्पष्ट लेबल नाम उपयोग करें
- कीबोर्ड शॉर्टकट का उपयोग करें - एनोटेशन को काफी तेज़ करता है
- अस्पष्ट लेबल के लिए tooltip जोड़ें - सुसंगतता सुनिश्चित करने में मदद करता है
- विकल्प सीमित करें - बहुत अधिक विकल्प एनोटेटर्स को धीमा करते हैं
- तार्किक रूप से क्रमबद्ध करें - सबसे सामान्य विकल्प पहले, या वर्णानुक्रम में