Skip to content
beginnersurvey

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.

Try it live — no install

Boot the real Potato server in your browser (WebAssembly) and annotate with this exact config. Nothing leaves your machine.

Run live in your browser

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/semeval/2017/task02-word-similarity
potato start config.yaml

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# Multilingual Semantic Word Similarity
# Based on Camacho-Collados et al., SemEval 2017
# Paper: https://aclanthology.org/S17-2002/
# Dataset: http://alt.qcri.org/semeval2017/task2/
#
# Annotators judge the degree of semantic similarity between two words
# on a graded scale. This task supports multilingual and cross-lingual
# word pair evaluation for distributional semantic models.
#
# Similarity Scale (five-point Likert, 0-4; Table 2 of the task paper):
# 4 = Very similar (the two words are synonyms, e.g., midday-noon)
# 3 = Similar (share many important ideas but differ in detail, e.g., lion-zebra)
# 2 = Slightly similar (share a common topic/domain/function, e.g., airplane-pilot)
# 1 = Dissimilar (clearly dissimilar concepts, minor shared domain, e.g., software-keyboard)
# 0 = Totally dissimilar and unrelated (e.g., pencil-frog)
# Annotators may use a step size of 0.25 to indicate a blend of two levels.
#
# Annotation Guidelines:
# 1. Read both words carefully
# 2. Consider the most common sense of each word
# 3. Rate how semantically similar the two words are (0-4)
# 4. Distinguish similarity from mere relatedness
# 5. Note the language(s) of the word pair (English, Farsi, German, Italian, Spanish)

annotation_task_name: "Multilingual Semantic Word Similarity"
task_dir: "."

data_files:
  - sample-data.json

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

output_annotation_dir: "annotation_output/"
export_annotation_format: "jsonl"

port: 8000

annotation_schemes:
  - annotation_type: likert
    name: similarity_rating
    description: "How semantically similar are these two words? (0 = totally unrelated, 4 = synonyms)"
    min_label: "Totally dissimilar / unrelated"
    max_label: "Very similar (synonyms)"
    size: 5

  - annotation_type: slider
    name: similarity_slider
    description: "Fine-grained rating: slide between 0 (totally unrelated) and 4 (synonyms); steps of 0.25 allowed"
    min_value: 0
    max_value: 4
    starting_value: 2

annotation_instructions: |
  You will be shown two words, possibly from different languages (the task covers
  English, Farsi, German, Italian, and Spanish, including cross-lingual pairs). Your
  task is to judge how semantically similar these two words are on a 0-4 scale:

    4 = Very similar (the two words are synonyms, e.g., midday-noon)
    3 = Similar (share many important ideas but differ in detail, e.g., lion-zebra)
    2 = Slightly similar (share a common topic/domain/function, e.g., airplane-pilot)
    1 = Dissimilar (clearly dissimilar concepts, minor shared domain, e.g., software-keyboard)
    0 = Totally dissimilar and unrelated (e.g., pencil-frog)

  Use the Likert scale for the categorical judgment and the slider for a fine-grained
  rating (steps of 0.25 are allowed to indicate a blend of two levels).

  Consider the most common meaning of each word, and be careful to distinguish
  semantic similarity from mere topical relatedness.

user_config:
  allow_all_users: true
max_annotations_per_user: 50
num_annotators_per_item: 2

Sample Data

json
[
  {
    "id": "wordsim_001",
    "text": "car",
    "word_2": "automobile",
    "language": "English"
  },
  {
    "id": "wordsim_002",
    "text": "bank",
    "word_2": "river",
    "language": "English"
  }
]

// ... and 8 more items

Dataset & paper

Camacho-Collados et al., SemEval 2017

Citation (BibTeX)

bibtex
@inproceedings{camacho-collados-etal-2017-semeval,
    title = "{S}em{E}val-2017 Task 2: Multilingual and Cross-lingual Semantic Word Similarity",
    author = "Camacho-Collados, Jose  and Pilehvar, Mohammad Taher  and Collier, Nigel  and Navigli, Roberto",
    booktitle = "Proceedings of the 11th International Workshop on Semantic Evaluation ({S}em{E}val-2017)",
    month = aug,
    year = "2017",
    address = "Vancouver, Canada",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/S17-2002",
    doi = "10.18653/v1/S17-2002",
    pages = "15--26"
}

Details

Annotation Types

likertslider

Domain

NLPSemEvalSemantics

Use Cases

Word SimilarityLexical SemanticsCross-Lingual NLP

Tags

semevalsemeval-2017shared-taskword-similaritymultilinguallexical-semantics

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)