taln-ls2n/kptimes
收藏资源简介:
KPTimes是一个用于关键词提取和生成模型基准测试的数据集。该数据集包含290K篇英文新闻文章,来源于《纽约时报》和《日本时报》。关键词由编辑以半自动方式标注,即编辑修订算法提出的关键词集并提供额外的关键词。数据集还使用了PRMU方案对参考关键词进行分类。文本预处理使用spacy进行,词干提取使用nltk的Porters stemmer实现。数据集包含训练、验证和测试集,每个集都有详细的统计信息。数据字段包括id、title、abstract、keyphrases、prmu、date和categories。
KPTimes is a dataset for benchmarking keyword extraction and generation models. It contains 290K English news articles sourced from The New York Times and The Japan Times. The keywords are annotated in a semi-automatic manner by editors, who revise the keyword sets proposed by algorithms and add additional keywords. The dataset also classifies reference keywords using the PRMU scheme. Text preprocessing is conducted with spaCy, and stemming is implemented using NLTK's Porter Stemmer. The dataset includes training, validation, and test splits, each with detailed statistical information. The data fields include id, title, abstract, keyphrases, prmu, date, and categories.
KPTimes Benchmark Dataset for Keyphrase Generation
概述
KPTimes是一个用于评估关键短语提取和生成模型的基准数据集。该数据集包含290K篇英文新闻文章,来源于《纽约时报》和《日本时报》。关键短语由编辑在半自动化过程中进行标注,即编辑修订算法提出的关键短语集合并提供额外的关键短语。
数据集内容与统计
- 数据集大小: 290K篇新闻文章
- 语言: 英语
- 数据集划分:
- 训练集: 259,923篇文档
- 验证集: 10,000篇文档
- 测试集: 20,000篇文档
- 关键短语统计:
- 平均每篇文档关键短语数: 约5个
- 关键短语分类: 存在、重排、混合、未见(PRMU)
数据集字段
- id: 文档唯一标识符
- title: 文档标题
- abstract: 文档摘要
- keyphrases: 参考关键短语列表
- prmu: 参考关键短语的PRMU分类列表
- date: 发布日期(YYYY/MM/DD)
- categories: 文章分类(1或2个分类)
数据处理
- 文本预处理: 使用
spacy进行分词,特别规则避免分割带有连字符的单词。 - 词干提取: 使用
nltk中的Porter词干提取器。
引用
- Gallina et al., 2019: KPTimes: A Large-Scale Dataset for Keyphrase Generation on News Documents.
- Boudin and Gallina, 2021: Redefining Absent Keyphrases and their Effect on Retrieval Effectiveness.




