Skip to content
Showcase/Suggestion Mining from Online Reviews and Forums
beginnertext

Suggestion Mining from Online Reviews and Forums

Binary classification of sentences as suggestions or non-suggestions in online reviews and forum posts. Based on SemEval-2019 Task 9 (Suggestion Mining).

Submit

設定ファイルconfig.yaml

# Suggestion Mining from Online Reviews and Forums
# Based on Negi et al., SemEval 2019
# Paper: https://aclanthology.org/S19-2151/
# Dataset: https://github.com/Semeval2019Task9/Subtask-A
#
# This task asks annotators to classify sentences from online reviews
# and forums as either containing a suggestion or not.
#
# Classification Labels:
# - Suggestion: The sentence contains an explicit or implicit suggestion
# - Non-Suggestion: The sentence does not contain a suggestion

annotation_task_name: "Suggestion Mining from Online Reviews"
task_dir: "."

data_files:
  - sample-data.json

item_properties:
  id_key: "id"
  text_key: "text"

output_annotation_dir: "annotation_output/"
output_annotation_format: "json"

port: 8000
server_name: localhost

annotation_schemes:
  - annotation_type: radio
    name: suggestion_classification
    description: "Does this sentence contain a suggestion?"
    labels:
      - "Suggestion"
      - "Non-Suggestion"
    keyboard_shortcuts:
      "Suggestion": "1"
      "Non-Suggestion": "2"
    tooltips:
      "Suggestion": "The sentence contains an explicit or implicit suggestion for improvement or action"
      "Non-Suggestion": "The sentence is a statement, opinion, or complaint without a suggestion"

annotation_instructions: |
  You will be shown a sentence from an online review or forum along with its domain.
  Your task is to determine whether the sentence contains a suggestion -- an explicit
  or implicit recommendation for improvement or action. Suggestions may use language
  like "should", "would be nice if", "I recommend", or imply a desired change.

html_layout: |
  <div style="padding: 15px; max-width: 800px; margin: auto;">
    <div style="background: #fefce8; border: 1px solid #fde68a; border-radius: 8px; padding: 12px; margin-bottom: 12px;">
      <strong style="color: #a16207;">Domain:</strong>
      <span style="font-size: 15px;">{{domain}}</span>
    </div>
    <div style="background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px; padding: 16px; margin-bottom: 16px;">
      <strong style="color: #0369a1;">Text:</strong>
      <p style="font-size: 16px; line-height: 1.7; margin: 8px 0 0 0;">{{text}}</p>
    </div>
  </div>

allow_all_users: true
instances_per_annotator: 50
annotation_per_instance: 2
allow_skip: true
skip_reason_required: false

サンプルデータsample-data.json

[
  {
    "id": "suggestion_001",
    "text": "It would be great if the app had a dark mode option for nighttime use.",
    "domain": "Software Reviews"
  },
  {
    "id": "suggestion_002",
    "text": "The battery life on this phone is absolutely terrible. It barely lasts half a day.",
    "domain": "Electronics Reviews"
  }
]

// ... and 8 more items

このデザインを取得

View on GitHub

Clone or download from the repository

クイックスタート:

git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/semeval/2019/task09-suggestion-mining
potato start config.yaml

詳細

アノテーションタイプ

radio

ドメイン

SemEvalNLPOpinion MiningText Classification

ユースケース

Suggestion MiningReview AnalysisCustomer Feedback

タグ

semevalsemeval-2019shared-tasksuggestion-miningreviewsopinion-mining

問題を見つけた場合やデザインを改善したい場合は?

Issueを作成