Git Product home page Git Product logo

tv4dialog's Introduction

TV4Dialog Corpus

By Leilan Zhang

TV4Dialog is a multi-turn Chinese and English dialogue corpus, which is constructed based on scripts and subtitles of 4 TV series: Castle, Friends, House, TBBT. This corpus is suited to the fields of dialogue generation, dialogue analysis and machine translation.

License

TV4Dialog is a part of contribution of our paper Automatically Annotate TV Series Subtitles for Dialogue Corpus Construction.

The data in this repository is provided under the license CC BY 2.0. Please cite the following paper if you use the data:

@inproceedings{zhang2019,
  title={Automatically Annotate TV Series Subtitles for Dialogue Corpus Construction},
  author={Leilan Zhang, Qiang Zhou},
  year={2019},
  publisher = {{APSIPA} Press},
  address={Lanzhou, Gansu, China}
}

How TV4Dialog was made

We first collected the English scripts and Chinese-English subtitles of the 4 TV series from the Internet. The scripts were then parsed to XML format with extracted elements like scenes, speakers and utterances.

Using the methods proposed in our paper, we aligned the utterances in scripts to the subtitle lines and annotated the subtitles with speaker tags. According to those annotated tags, we merged the continuous subtitle lines belong to the same speaker to a single utterance.

Details of TV4Dialog

This corpus is composed of 26w utterances both in Chinese and English. It provides both the scripts (en) and the subtitle (en & zh), basic statistics are list below:

Directory xmlScript stores the parsed scripts of the 4 TV series in XML format (in English).

Directory withSpkr stores the subtitles annotated with speaker tags and uid tags (en & zh parallel).

Directory extracted stores the merged utterances extracted from the annotated subtitles (in Chinese).

Directory rawScript stores the raw scripts of the TV series.

Acknowledgments

We would like to thank website assrt.net for the help of providing the raw subtitle files.

We also thank websites Castle, Friends, House and TBBT for their work of collecting and sharing of the raw scripts.

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.