从电子文本中删除手动生成的样板:古腾堡计划电子书的实验
Removing Manually-Generated Boilerplate from Electronic Texts: Experiments with Project Gutenberg e-Books
摘要:
在非结构化或半结构化文档(如文献语料库或源代码)上的协作工作通常涉及包含元数据的商定模板。这些模板在不同用户和不同时间内并不一致。对这些模板进行基于规则的解析维护起来代价很高,并且在添加新文档时往往会失败。基于频繁出现的统计技术有可能自动识别大部分模板,从而减轻程序员的负担。我们调查的情况下,古腾堡项目语料库,其中大多数文件都是ASCII格式,经常复制和粘贴或手动键入的字符串和后记。我们表明,尽管某些文档需要英语知识,但统计方法可以解决大多数情况。我们还调查了各种技术解决方案,使我们的方法适用于大型数据集。
英文摘要:
Collaborative work on unstructured or semi-structured documents, such as in literature corpora or source code, often involves agreed upon templates containing metadata. These templates are not consistent across users and over time. Rule-based parsing of these templates is expensive to maintain and tends to fail as new documents are added. Statistical techniques based on frequent occurrences have the potential to identify automatically a large fraction of the templates, thus reducing the burden on the programmers. We investigate the case of the Project Gutenberg corpus, where most documents are in ASCII format with preambles and epilogues that are often copied and pasted or manually typed. We show that a statistical approach can solve most cases though some documents require knowledge of English. We also survey various technical solutions that make our approach applicable to large data sets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。