Skip to content
このページはまだお使いの言語に翻訳されていません。英語版を表示しています。

Select (Dropdown)

लंबी विकल्प सूचियों के लिए dropdown menu से एकल चयन।

Select (Dropdown) Annotation

Select प्रकार एकल चयन के लिए dropdown menu प्रदान करता है। लंबी विकल्प सूचियों (5+) के लिए सबसे उपयुक्त जहाँ radio button दृश्य रूप से भारी होंगे।

बुनियादी कॉन्फ़िगरेशन

yaml
annotation_schemes:
  - name: "category"
    description: "Select the document category"
    annotation_type: "select"
    labels:
      - name: "news"
      - name: "opinion"
      - name: "tutorial"
      - name: "review"
      - name: "other"

कॉन्फ़िगरेशन विकल्प

फ़ील्डप्रकारआवश्यकविवरण
namestringहाँएनोटेशन के लिए अद्वितीय पहचानकर्ता
descriptionstringहाँएनोटेटर्स को दिखाए जाने वाले निर्देश
annotation_typestringहाँ"select" होना चाहिए
labelsarrayहाँचुनने के लिए विकल्पों की सूची
defaultstringनहींडिफ़ॉल्ट चयनित विकल्प
requiredbooleanनहींक्या चयन आवश्यक है

उदाहरण

दस्तावेज़ वर्गीकरण

yaml
- name: "document_type"
  description: "What type of document is this?"
  annotation_type: "select"
  labels:
    - name: "Research Paper"
    - name: "News Article"
    - name: "Blog Post"
    - name: "Technical Documentation"
    - name: "Legal Document"
    - name: "Marketing Material"
    - name: "Personal Communication"
    - name: "Other"
  required: true

भाषा चयन

yaml
- name: "language"
  description: "What language is this text written in?"
  annotation_type: "select"
  labels:
    - name: "English"
    - name: "Spanish"
    - name: "French"
    - name: "German"
    - name: "Chinese"
    - name: "Japanese"
    - name: "Other"
  default: "English"

Tooltip के साथ

yaml
- name: "genre"
  description: "Select the genre of this text"
  annotation_type: "select"
  labels:
    - name: "Fiction"
      tooltip: "Made-up stories and narratives"
    - name: "Non-fiction"
      tooltip: "Factual content based on real events"
    - name: "Poetry"
      tooltip: "Verse and poetic forms"
    - name: "Drama"
      tooltip: "Scripts and theatrical works"

आउटपुट फॉर्मेट

Select एनोटेशन चयनित विकल्प नाम आउटपुट करता है:

json
{
  "id": "item_1",
  "annotations": {
    "category": "tutorial"
  }
}

Select बनाम Radio का उपयोग कब करें

Select का उपयोग करेंRadio का उपयोग करें
5+ विकल्प2-5 विकल्प
विकल्प एनोटेटर्स को अच्छी तरह पता हैंएक साथ सभी विकल्प देखने की आवश्यकता है
स्थान सीमित हैकीबोर्ड शॉर्टकट महत्वपूर्ण हैं
लंबे विकल्प लेबलत्वरित दृश्य स्कैनिंग की आवश्यकता है

सर्वोत्तम प्रथाएँ

  1. विकल्पों को तार्किक रूप से क्रमबद्ध करें - वर्णानुक्रम, आवृत्ति, या semantic समूहन के अनुसार
  2. "Other" विकल्प शामिल करें - जब सूची संपूर्ण नहीं हो सकती
  3. स्पष्ट, विशिष्ट लेबल का उपयोग करें - अस्पष्ट या ओवरलैपिंग श्रेणियों से बचें
  4. उचित डिफ़ॉल्ट निर्धारित करें - यदि एक विकल्प सबसे सामान्य है, तो उसे डिफ़ॉल्ट बनाने पर विचार करें