Code Monkey home page Code Monkey logo

structured_temporal_relations_corpus's Introduction

Temporal Dependency Tree (TDT) Corpus

Temporal Dependency Tree Corpus is a collection of Chinese news reports and fairy tale stories annotated with time expressions, events, and temporal relations. Temporal relations in this corpus are represented as a dependency tree structure for each article. Detailed descriptions about Temporal Dependency Tree structures can be found in our paper.

Corpus Statistics

# Articles # Sentences # Time Expressions # Events
News Reports 115 2,841 1,167 4,807
Fairy Tale Stories 120 3,662 131 10,976

All 120 fairy tale stories are from Chinese Grimm Fairy Tales. 52 news reports are from Chinese Treebank, and 63 news reports are from Chinese Wikinews. The train/dev/test data split in this repository is the split we used in our paper.

Corpus Format

Chinese Treebank and Wikinews data are in news_data/, Grimm data are in grimm_data/.

*.txt files are texts of the articles. Each article is preceded with a line filename:<fileID> (e.g. filename:wikinews_ZH_15), and followed by a blank line. Please note:

  • In Wikinews data, there are blank lines inside the article text. The annotations are performed on these articles including the blank lines, so please don't remove the blank lines.
  • Chinese Treebank *.txt files are not included here.

*.tdt files are the temporal dependency trees for the articles. Each line in a *.tdt file represents one child-parent pair. Each line has 9 fields, separated by tabs:

filename    cSnt    cStart  cEnd    cLabel  pSnt    pStart  pEnd    trLabel
  • filename: the file ID
  • cSnt: the sentence ID of the child
  • cStart: the start word ID of the child
  • cEnd: the end word ID of the child
  • cLabel: the time expression or event label of the child
  • pSnt: the sentence ID of the parent
  • pStart: the start word ID of the parent
  • pEnd: the end word ID of the parent
  • trLabel: the temporal relation label between this child-parent pair

Please note: We use -1 -1 -1 in the place of pSnt pStart pEnd, when the parent is the ROOT of the dependency tree.

To use this corpus, please cite:

@inproceedings{zhang2018lrec,
    title={Structured Interpretation of Temporal Relations},
    author={Zhang, Yuchen and Xue, Nianwen},
    booktitle={Proceedings of the 11th Language Resources and Evaluation Conference (LREC-2018)},
    year={2018},
    address={Miyazaki, Japan}
}

structured_temporal_relations_corpus's People

Contributors

yuchenz avatar

Stargazers

 avatar sherlockeded avatar Xinyu Zuo avatar Boris Polonsky avatar  avatar 房东的小黑黑 avatar  avatar Zhongyang Li avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.