Skip to content
beginnersurvey

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.

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/2021/task01-lexical-complexity
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
# Lexical Complexity Prediction
# Based on Shardlow et al., SemEval 2021
# Paper: https://aclanthology.org/2021.semeval-1.1/
# Dataset: https://sites.google.com/view/lcpsharedtask2021
#
# Annotators rate how complex a target word is within its sentence context.
# Complexity is assessed on a 5-point Likert scale and a continuous slider
# from 0 (very simple) to 1 (very complex), targeting non-native speakers.

annotation_task_name: "Lexical Complexity Prediction"
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: complexity_likert
    description: "Rate the complexity of the highlighted target word on a 5-point scale."
    min_label: "Very Simple"
    max_label: "Very Complex"
    size: 5

  - annotation_type: slider
    name: complexity_slider
    description: "Rate the complexity of the target word on a continuous scale from 0 (simplest) to 1 (most complex)."
    min_value: 0
    max_value: 1
    starting_value: 0.5

annotation_instructions: |
  You will see a sentence with a highlighted target word. Your task is to rate how
  complex the target word is for a non-native English speaker.

  1. Read the sentence and identify the target word shown in bold.
  2. Rate the word's complexity on the 5-point Likert scale (Very Simple to Very Complex).
  3. Also provide a continuous complexity rating using the slider (0 = simplest, 1 = most complex).

  Consider factors like word frequency, number of syllables, and whether the word
  has a simpler synonym that could replace it.

user_config:
  allow_all_users: true
max_annotations_per_user: 50
num_annotators_per_item: 2

Sample Data

json
[
  {
    "id": "lcp_001",
    "text": "The patient was diagnosed with a severe case of pneumonia after presenting with persistent cough and dyspnea.",
    "target_word": "dyspnea"
  },
  {
    "id": "lcp_002",
    "text": "The children were playing in the garden and seemed very happy.",
    "target_word": "happy"
  }
]

// ... and 8 more items

Dataset & paper

Shardlow et al., SemEval 2021

Citation (BibTeX)

bibtex
@inproceedings{shardlow-etal-2021-semeval,
    title = "{S}em{E}val-2021 {T}ask 1: {L}exical {C}omplexity {P}rediction",
    author = "Shardlow, Matthew  and Evans, Richard  and Paetzold, Gustavo Henrique  and Zampieri, Marcos",
    booktitle = "Proceedings of the 15th International Workshop on Semantic Evaluation (SemEval-2021)",
    year = "2021",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.semeval-1.1"
}

Details

Annotation Types

likertslider

Domain

NLPSemEval

Use Cases

Lexical ComplexityReadability Assessment

Tags

semevalsemeval-2021shared-tasklexical-complexityreadabilityvocabulary

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)