Skip to content
advancedtext

MeasEval - Counts and Measurements

Extract and classify measurements, quantities, units, and measured entities from scientific text, based on SemEval-2021 Task 8 (Harper et al.). Annotators span-annotate measurement components and classify quantity types with normalized values.

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/task08-measeval
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
# MeasEval - Counts and Measurements
# Based on Harper et al., SemEval 2021
# Paper: https://aclanthology.org/2021.semeval-1.38/
# Dataset: https://github.com/harperco/MeasEval
#
# Annotators extract and classify measurement-related spans from scientific
# text, including quantities, units, measured entities, properties, and
# qualifiers. They also classify the quantity type and provide normalized values.

annotation_task_name: "MeasEval - Counts and Measurements"
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: span
    name: measurement_spans
    description: "Highlight measurement components in the text."
    labels:
      - "Quantity"
      - "Unit"
      - "Measured Entity"
      - "Measured Property"
      - "Qualifier"

  - annotation_type: radio
    name: quantity_type
    description: "Classify the type of the primary quantity in this text."
    labels:
      - name: "Count"
        tooltip: "A discrete count of items or occurrences"
        key_value: "1"
      - name: "Measurement"
        tooltip: "A precise measurement with a specific value and unit"
        key_value: "2"
      - name: "Approximate"
        tooltip: "An approximate or estimated value"
        key_value: "3"
      - name: "Range"
        tooltip: "A range of values (e.g., 10-20, between X and Y)"
        key_value: "4"

  - annotation_type: text
    name: normalized_value
    description: "Provide the normalized numeric value of the primary quantity (e.g., '2.5' for 'two and a half')."

annotation_instructions: |
  You will see a passage from a scientific text containing measurements, counts,
  or quantities. Your task is to:
  1. Highlight the relevant spans: quantities, units, measured entities, measured
     properties, and any qualifiers (e.g., "approximately", "more than").
  2. Classify the type of the primary quantity as Count, Measurement, Approximate,
     or Range.
  3. Provide a normalized numeric value for the primary quantity.

user_config:
  allow_all_users: true
max_annotations_per_user: 50
num_annotators_per_item: 2

Sample Data

json
[
  {
    "id": "meas_001",
    "text": "The reaction temperature was maintained at 37 degrees Celsius for approximately 24 hours to ensure complete enzyme activation."
  },
  {
    "id": "meas_002",
    "text": "A total of 1,523 participants were enrolled in the clinical trial across 12 medical centers in three countries."
  }
]

// ... and 8 more items

Dataset & paper

Harper et al., SemEval 2021

Citation (BibTeX)

bibtex
@inproceedings{harper-etal-2021-semeval,
    title = "{S}em{E}val-2021 Task 8: {M}eas{E}val {--} Extracting Counts and Measurements and their Related Contexts",
    author = "Harper, Corey  and Cox, Jessica  and Kohler, Curt  and Scerri, Antony  and Daniel Jr., Ron  and Groth, Paul",
    booktitle = "Proceedings of the 15th International Workshop on Semantic Evaluation (SemEval-2021)",
    month = aug,
    year = "2021",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.semeval-1.38/",
    doi = "10.18653/v1/2021.semeval-1.38",
    pages = "306--316"
}

Details

Annotation Types

spanradiotext

Domain

NLPSemEval

Use Cases

Information ExtractionMeasurement ExtractionScientific Text Mining

Tags

semevalsemeval-2021shared-taskmeasurementextractionscientific-textquantities

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)