什么是CoNLL数据格式? [英] What is CoNLL data format?

查看:1203
本文介绍了什么是CoNLL数据格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是文字挖掘的新手.我使用的是开放源代码jar(Mate Parser),它在依赖项解析后以CoNLL 2009格式提供输出.我想将依赖项解析结果用于信息提取.但是我能够理解一些输出,但不能理解CoNLL数据格式.谁能帮助我理解CoNLL数据格式?任何类型的指针都将不胜感激.

I am new to text mining. I am using a open source jar (Mate Parser) which gives me output in a CoNLL 2009 format after dependency parsing. I want to use the dependency parsing results for Information Extraction. But i am able to understand some of the output but not able to comprehend the CoNLL data format. Can any one help me in making me understand the CoNLL data format?? Any kind of pointers would be appreciated.

推荐答案

有许多不同的 CoNLL 格式,因为CoNLL每年都是不同的共享任务. 此处描述了CoNLL 2009的格式.每行代表一个单词,带有一系列制表符分隔的字段. _表示空值. Mate-Parser的手册说,它使用了CoNLL 2009的前12列:

There are many different CoNLL formats since CoNLL is a different shared task each year. The format for CoNLL 2009 is described here. Each line represents a single word with a series of tab-separated fields. _s indicate empty values. Mate-Parser's manual says that it uses the first 12 columns of CoNLL 2009:

ID FORM LEMMA PLEMMA POS PPOS FEAT PFEAT HEAD PHEAD DEPREL PDEPREL

其中一些列的定义来自早期的共享任务( CoNLL-X格式在2006和2007年使用):

The definition of some of these columns come from earlier shared tasks (the CoNLL-X format used in 2006 and 2007):

  • ID(句子的索引,从1开始)
  • FORM(单词形式本身)
  • LEMMA(单词的引理或词干)
  • POS(词性)
  • FEAT(用|分隔的形态特征列表)
  • HEAD(语法父级的索引,ROOT为0)
  • DEPREL(HEAD与该单词之间的句法关系)
  • ID (index in sentence, starting at 1)
  • FORM (word form itself)
  • LEMMA (word's lemma or stem)
  • POS (part of speech)
  • FEAT (list of morphological features separated by |)
  • HEAD (index of syntactic parent, 0 for ROOT)
  • DEPREL (syntactic relationship between HEAD and this word)

P开头的那些列的变体(例如PPOS但不是POS)表示该值是自动预测的,而不是黄金标准值.

There are variants of those columns (e.g., PPOS but not POS) that start with P indicate that the value was automatically predicted rather a gold standard value.

更新:现在有一个 CoNLL-U 数据格式,也扩展了CoNLL-X格式.

Update: There is now a CoNLL-U data format as well which extends the CoNLL-X format.

这篇关于什么是CoNLL数据格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆