sentence-parse / README.md
agentlans's picture
Create README.md
cfb109b verified
metadata
task_categories:
  - text-classification
  - text-generation
  - token-classification
  - feature-extraction
  - sentence-similarity
language:
  - en
tags:
  - nlp
  - parsing
  - grammar
size_categories:
  - 1M<n<10M

Sentence Parse Trees

This dataset contains high-quality English sentences and their corresponding parse trees. It is derived from the agentlans/high-quality-english-sentences dataset, with parse trees generated using spaCy en_core_web_sm package. Abnormally long or short parses have been removed.

Dataset Description

Data Format

Each entry in the dataset is a JSON object with two fields:

  1. text: The original sentence
  2. parse: The parse tree in Lisp-style S-expression format
    • Each list contains: syntactic dependency relation, the word, and the parse tree of its descendants
    • Words are enclosed in double quotes and escaped where necessary

Example Entry

{
  "text": "At present, this mechanism has become one of the three major pillars underpinning the development of China-UK relations.",
  "parse": "(ROOT \"become\" (prep \"At\" (pobj \"present\")) (punct \",\") (nsubj \"mechanism\" (det \"this\")) (aux \"has\") (attr \"one\" (prep \"of\" (pobj \"pillars\" (det \"the\") (nummod \"three\") (amod \"major\") [...]"
}

Usage

This dataset can be used for various natural language processing tasks, including:

  • Syntactic parsing research
  • Grammar analysis
  • Language model training
  • Linguistic studies

Licence

Please refer to the license of the original agentlans/high-quality-english-sentences dataset.