如何从 Parsey McParseface 获取基于选区的解析树

How to get constituency-based parse tree from Parsey McParseface

Parsey McParsey returns 默认情况下是一个基于依赖的解析树,但是他们是从中获取基于选区的解析树的方法吗?

编辑:澄清一下,"to get from it" 我的意思是来自 Parsey 本身。虽然从 ConLL 输出构建树也是一种选择。

我对此进行了调查,我相信答案是您无法直接从 Parsey McParseface 或任何其他语法网模型获得选区解析。

syntaxnet 给出输出的选区分析 fundamentally different from dependency parses, and syntaxnet is designed to produce dependency parses. Indeed, the CoNLL format 甚至不能表示选区分析树:

The HEAD and DEPREL fields are used to encode a dependency tree over words