arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.03958cs.CLcs.AIcs.LG
收藏

GrASP:一个提取和探索人类可理解文本模式的库

GrASP: A Library for Extracting and Exploring Human-Interpretable Textual Patterns

Imperial College London(伦敦帝国学院);IBM Research(IBM研究院)

Piyawat Lertvittayakumjorn, Leshem Choshen, Eyal Shnarch, Francesca Toni

摘要:

数据探索是每个数据科学和机器学习项目的重要步骤,包括涉及文本数据的项目。我们提供了一种新颖的语言工具,以公开可用的Python库的形式从文本数据中提取模式。该库集成了现有GrASP算法的第一个公共实现。它允许用户使用一些通用的内置语言属性(如上位词,词性标签和句法依赖标签)提取模式,如原始算法所设想的那样,以及特定于域的自定义属性,这些属性可以通过实现两个函数并入库中。该库配备了一个基于Web的界面,使人类用户能够方便地探索数据,通过提取的模式,使用互补的模式为中心和以示例为中心的意见:前者包括自然语言的阅读和统计每个提取的模式;后者显示每个提取的模式应用程序的训练样本。我们证明了有用的分类(垃圾邮件检测和参数挖掘),模型分析(机器翻译),并在数据集(SNLI和20新闻组)的文物发现库。

英文摘要:

Data exploration is an important step of every data science and machine learning project, including those involving textual data. We provide a novel language tool, in the form of a publicly available Python library for extracting patterns from textual data. The library integrates a first public implementation of the existing GrASP algorithm. It allows users to extract patterns using a number of general-purpose built-in linguistic attributes (such as hypernyms, part-of-speech tags, and syntactic dependency tags), as envisaged for the original algorithm, as well as domain-specific custom attributes which can be incorporated into the library by implementing two functions. The library is equipped with a web-based interface empowering human users to conveniently explore data via the extracted patterns, using complementary pattern-centric and example-centric views: the former includes a reading in natural language and statistics of each extracted pattern; the latter shows applications of each extracted pattern to training examples. We demonstrate the usefulness of the library in classification (spam detection and argument mining), model analysis (machine translation), and artifact discovery in datasets (SNLI and 20Newsgroups).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑