Skip to content

Radio & Multiselect

単一選択と複数選択のアノテーションタイプ。

Radio & Multiselect

ラジオボタンとマルチセレクトチェックボックスは、分類タスクで最も一般的なアノテーションタイプです。

ラジオボタン

アノテーターが正確に1つのオプションを選択する必要がある場合にラジオボタンを使用します。

基本設定

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
    keyboard_shortcuts:
      Positive: "1"
      Negative: "2"
      Neutral: "3"

ツールチップ付き

各オプションに追加のコンテキストを提供:

yaml
annotation_schemes:
  - annotation_type: radio
    name: sentiment
    description: "Select the sentiment"
    labels:
      - Positive
      - Negative
      - Neutral
    tooltips:
      Positive: "The text expresses happiness, satisfaction, or approval"
      Negative: "The text expresses sadness, anger, or disapproval"
      Neutral: "The text does not express strong emotion"

マルチセレクト

アノテーターが複数のオプションを選択できる場合にマルチセレクトを使用します。

基本設定

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
      - Technology
    min_selections: 1
    max_selections: 3

スタイルオプション

横並びレイアウト

オプションを縦ではなく横に表示:

yaml
annotation_schemes:
  - annotation_type: radio
    name: rating
    labels:
      - "1"
      - "2"
      - "3"
      - "4"
      - "5"
    display: horizontal

カスタムカラー

ラベルにカラーを割り当て:

yaml
annotation_schemes:
  - annotation_type: radio
    name: sentiment
    labels:
      - Positive
      - Negative
      - Neutral
    label_colors:
      Positive: "#22c55e"
      Negative: "#ef4444"
      Neutral: "#6b7280"

ベストプラクティス

  1. ラベルは簡潔に - 短く明確なラベル名を使用
  2. キーボードショートカットを使用 - アノテーション速度を大幅に向上
  3. 曖昧なラベルにはツールチップを追加 - 一貫性の確保に役立つ
  4. オプションを制限 - 選択肢が多すぎるとアノテーターが遅くなる
  5. 論理的に順序付け - 最も一般的なオプションを最初に、またはアルファベット順に