Graded Word Similarity in Context
Rate the graded semantic similarity of a PAIR of target words that appear together within a shared context, based on SemEval-2020 Task 3 (Armendariz et al.). The same word pair is judged within two different contexts; Subtask 1 predicts the change in similarity between contexts and Subtask 2 predicts the absolute rating. Ratings follow the SimLex-style 0-6 similarity scale (later mapped to 0-10). Similarity is distinct from relatedness (e.g., coffee and cup are related but not similar).
Configuration Fileconfig.yaml
This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.
# Graded Word Similarity in Context
# Based on Armendariz et al., SemEval 2020
# Paper: https://aclanthology.org/2020.semeval-1.3/
# Dataset: https://competitions.codalab.org/competitions/20905
#
# Annotators rate how similar the meanings of a PAIR of target words are
# when both words appear together within a single shared context. Each
# word pair is rated within two different contexts, and the task studies
# how context modulates the graded similarity of the pair (CoSimLex).
# Subtask 1 measures the CHANGE in similarity between the two contexts;
# Subtask 2 measures the ABSOLUTE similarity rating within each context.
# Ratings use the SimLex-style 0-6 similarity scale (later mapped to 0-10).
# Note: similarity is not the same as relatedness (e.g., coffee and cup
# are strongly related but not similar).
annotation_task_name: "Graded Word Similarity in Context"
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: likert
name: similarity_likert
description: "How similar in meaning are the two target words as used in this context?"
min_label: "Completely Different"
max_label: "Identical / Synonymous"
size: 7
- annotation_type: slider
name: similarity_slider
description: "Fine-grained similarity rating on the SimLex-style scale (0 = completely different, 6 = identical meaning)."
min_value: 0
max_value: 6
starting_value: 3
annotation_instructions: |
You will see a short context (a sentence or passage) that contains TWO
highlighted target words. Your task is to:
1. Read the whole context carefully so that its meaning primes you naturally.
2. Consider how SIMILAR in meaning the two target words are AS USED IN THIS
context (not their general dictionary definitions).
3. Rate the similarity on the Likert scale (Completely Different to Identical).
4. Give a fine-grained rating using the slider (0 = completely different,
6 = identical / synonymous). This 0-6 scale follows SimLex-999.
Important notes:
- Judge SIMILARITY, not relatedness. Words can be strongly related yet not
similar: for example, "coffee" and "cup" are related but not similar.
- The same word pair will also be shown to you within a DIFFERENT context.
Rate each context on its own; the study compares how the context changes
your similarity judgement (Subtask 1: change of similarity; Subtask 2:
the absolute rating in each context).
html_layout: |
<div style="padding: 15px; max-width: 800px; margin: auto;">
<div style="background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 8px; padding: 10px 16px; margin-bottom: 12px;">
<strong style="color: #4338ca;">Target word pair:</strong>
<span style="font-size: 16px;"><em>{{word_1}}</em> — <em>{{word_2}}</em></span>
</div>
<div style="background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px; padding: 16px; margin-bottom: 16px;">
<strong style="color: #0369a1;">Context:</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 Datasample-data.json
[
{
"id": "gws_001",
"pair_id": "car_automobile",
"context_num": 1,
"word_1": "car",
"word_2": "automobile",
"text": "The mechanic explained that the old car needed new brakes before the automobile could pass its yearly inspection."
},
{
"id": "gws_002",
"pair_id": "car_automobile",
"context_num": 2,
"word_1": "car",
"word_2": "automobile",
"text": "In the design museum, a hand-built vintage automobile sat beside a sleek electric car to show a century of engineering."
}
]
// ... and 8 more itemsGet This Design
Clone or download from the repository
Quick start:
git clone https://github.com/davidjurgens/potato-showcase.git cd potato-showcase/semeval/2020/task03-graded-word-similarity potato start config.yaml
Dataset & paper
Armendariz et al., SemEval 2020
Citation (BibTeX)
@inproceedings{armendariz-etal-2020-semeval,
title = "{S}em{E}val-2020 Task 3: Graded Word Similarity in Context",
author = "Armendariz, Carlos Santos and Purver, Matthew and Pollak, Senja and Ljube{\v{s}}i{\'c}, Nikola and Ul{\v{c}}ar, Matej and Vuli{\'c}, Ivan and Pilehvar, Mohammad Taher",
booktitle = "Proceedings of the Fourteenth Workshop on Semantic Evaluation",
month = dec,
year = "2020",
address = "Barcelona (online)",
publisher = "International Committee for Computational Linguistics",
url = "https://aclanthology.org/2020.semeval-1.3/",
doi = "10.18653/v1/2020.semeval-1.3",
pages = "36--49"
}Details
Annotation Types
Domain
Use Cases
Tags
Found an issue or want to improve this design?
Open an IssueRelated Designs
Lexical Complexity Prediction
Predict the complexity of words in context using both Likert scale and continuous slider ratings, based on SemEval-2021 Task 1 (Shardlow et al.). Annotators assess how difficult a target word is for a non-native English speaker to understand.
Multilingual Semantic Word Similarity
Graded word similarity judgment across multiple languages, based on SemEval-2017 Task 2. Annotators rate how semantically similar two words are on a continuous scale, supporting cross-lingual evaluation of distributional semantic models.
Semantic Textual Relatedness
Semantic textual relatedness task requiring annotators to rate the degree of semantic relatedness between sentence pairs using both a Likert scale and a continuous slider. Based on SemEval-2024 Task 1 (STR).