前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >cornell movie-dialogs corpus 康奈尔大学电影对话语料介绍及下载 可用于dialog,chatbot

cornell movie-dialogs corpus 康奈尔大学电影对话语料介绍及下载 可用于dialog,chatbot

作者头像
种花家的奋斗兔
发布2020-11-13 11:11:33
1.3K0
发布2020-11-13 11:11:33
举报

数据集地址:

http://www.cs.cornell.edu/~cristian/Cornell_Movie-Dialogs_Corpus.html

数据集介绍

这个公开的资源被很多和自然语言处理NLP相关的开源代码和论文提到,

所以仔细阅读了readme,并记录相关要点

所有文件以" +++$+++ "分隔符

- movie_titles_metadata.txt - 包含每部电影标题信息 - fields: - movieID, - movie title, - movie year, - IMDB rating, - no. IMDB votes, - genres in the format ['genre1','genre2',?'genreN']

- movie_characters_metadata.txt - 包含每部电影角色信息 - fields: - characterID - character name - movieID - movie title - gender ("?" for unlabeled cases) - position in credits ("?" for unlabeled cases)

关键是下面两个文件,一个包含了所有文本,一个包含了文本之间的关系

- movie_lines.txt - 包含每个表达(utterance)的实际文本 - fields: - lineID - characterID (who uttered this phrase) - movieID - character name - text of the utterance

前面5个样本:

L1045 ++++++ u0 ++++++ m0 ++++++ BIANCA ++++++ They do not! L1044 ++++++ u2 ++++++ m0 ++++++ CAMERON ++++++ They do to! L985 ++++++ u0 ++++++ m0 ++++++ BIANCA ++++++ I hope so. L984 ++++++ u2 ++++++ m0 ++++++ CAMERON ++++++ She okay? L925 ++++++ u0 ++++++ m0 ++++++ BIANCA ++++++ Let's go.

- movie_conversations.txt - 对话的结构- - fields - characterID of the first character involved in the conversation 对话中的第一个角色的ID

- characterID of the second character involved in the conversation 对话中的第二个角色的ID

- movieID of the movie in which the conversation occurred 对话所属电影的ID

- list of the utterances that make the conversation, in chronological order: ['lineID1','lineID2',?'lineIDN'] has to be matched with movie_lines.txt to reconstruct the actual content

对话中以时间顺序的各个表达的列表,

order: ['lineID1','lineID2',?'lineIDN']必须和movie_lines.txt匹配以便于重构实际内容

前面5个样本:

u0 ++++++ u2 ++++++ m0 ++++++ ['L194', 'L195', 'L196', 'L197'] u0 ++++++ u2 ++++++ m0 ++++++ ['L198', 'L199'] u0 ++++++ u2 ++++++ m0 ++++++ ['L200', 'L201', 'L202', 'L203'] u0 ++++++ u2 ++++++ m0 ++++++ ['L204', 'L205', 'L206'] u0 ++++++ u2 ++++++ m0 +++

- raw_script_urls.txt -原始来源的url( the urls from which the raw sources were retrieved)

========================================================================================

英文版:

Cornell Movie-Dialogs Corpus

Distributed together with:

"Chameleons in imagined conversations: A new approach to understanding coordination of linguistic style in dialogs" Cristian Danescu-Niculescu-Mizil and Lillian Lee Proceedings of the Workshop on Cognitive Modeling and Computational Linguistics, ACL 2011.

(this paper is included in this zip file)

NOTE: If you have results to report on these corpora, please send email to cristian@cs.cornell.edu or llee@cs.cornell.edu so we can add you to our list of people using this data. Thanks!

Contents of this README:

A) Brief description B) Files description C) Details on the collection procedure D) Contact

A) Brief description:

This corpus contains a metadata-rich collection of fictional conversations extracted from raw movie scripts:

- 220,579 conversational exchanges between 10,292 pairs of movie characters - involves 9,035 characters from 617 movies - in total 304,713 utterances - movie metadata included: - genres - release year - IMDB rating - number of IMDB votes - IMDB rating - character metadata included: - gender (for 3,774 characters) - position on movie credits (3,321 characters)

B) Files description:

In all files the field separator is " +++$+++ "

- movie_titles_metadata.txt - contains information about each movie title - fields: - movieID, - movie title, - movie year, - IMDB rating, - no. IMDB votes, - genres in the format ['genre1','genre2',É,'genreN']

- movie_characters_metadata.txt - contains information about each movie character - fields: - characterID - character name - movieID - movie title - gender ("?" for unlabeled cases) - position in credits ("?" for unlabeled cases)

- movie_lines.txt - contains the actual text of each utterance - fields: - lineID - characterID (who uttered this phrase) - movieID - character name - text of the utterance

- movie_conversations.txt - the structure of the conversations - fields - characterID of the first character involved in the conversation - characterID of the second character involved in the conversation - movieID of the movie in which the conversation occurred - list of the utterances that make the conversation, in chronological order: ['lineID1','lineID2',É,'lineIDN'] has to be matched with movie_lines.txt to reconstruct the actual content

- raw_script_urls.txt - the urls from which the raw sources were retrieved

C) Details on the collection procedure:

We started from raw publicly available movie scripts (sources acknowledged in raw_script_urls.txt). In order to collect the metadata necessary for this study and to distinguish between two script versions of the same movie, we automatically matched each script with an entry in movie database provided by IMDB (The Internet Movie Database; data interfaces available at http://www.imdb.com/interfaces). Some amount of manual correction was also involved. When more than one movie with the same title was found in IMBD, the match was made with the most popular title (the one that received most IMDB votes)

After discarding all movies that could not be matched or that had less than 5 IMDB votes, we were left with 617 unique titles with metadata including genre, release year, IMDB rating and no. of IMDB votes and cast distribution. We then identified the pairs of characters that interact and separated their conversations automatically using simple data processing heuristics. After discarding all pairs that exchanged less than 5 conversational exchanges there were 10,292 left, exchanging 220,579 conversational exchanges (304,713 utterances). After automatically matching the names of the 9,035 involved characters to the list of cast distribution, we used the gender of each interpreting actor to infer the fictional gender of a subset of 3,321 movie characters (we raised the number of gendered 3,774 characters through manual annotation). Similarly, we collected the end credit position of a subset of 3,321 characters as a proxy for their status.

D) Contact:

Please email any questions to: cristian@cs.cornell.edu (Cristian Danescu-Niculescu-Mizil)

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2019-12-10 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 数据集地址:
  • 数据集介绍
  • 英文版:
相关产品与服务
数据库
云数据库为企业提供了完善的关系型数据库、非关系型数据库、分析型数据库和数据库生态工具。您可以通过产品选择和组合搭建,轻松实现高可靠、高可用性、高性能等数据库需求。云数据库服务也可大幅减少您的运维工作量,更专注于业务发展,让企业一站式享受数据上云及分布式架构的技术红利!
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档