问题描述
我有一个 CoNLL-X 格式的树库和每个句子对应的二叉分析树,我想把它转换成 PTB 格式.是否有任何转换器或任何人都可以阐明 PTB 格式?
I have a CoNLL-X format treebank and the corresponding binary parse tree for each sentence and I want to convert it into a PTB format. Is there any converters or can anyone shed light on the PTB format?
推荐答案
有很多努力从依赖项转换(可在 CoNLL-X 格式)到成分(可在 中表示)Penn Treebank,或 PTB,格式).最近的两篇论文及其代码:
There's been a number of efforts to convert from dependencies (representable in CoNLL-X format) to constituents (representable in Penn Treebank, or PTB, format). Two recent papers and their code:
将依存关系转化为短语结构(Kong、Rush 和 Smith,NAACL 2015).代码.
Transforming Dependencies into Phrase Structures (Kong, Rush, and Smith, NAACL 2015). Code.
解析为归约 (Fernandez-Gonzalez和马丁斯,ACL 2015).代码.
Parsing as Reduction (Fernandez-Gonzalez and Martins, ACL 2015). Code.
这篇关于来自 CoNLL-X 的 PTB 树库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!