dmcc / PyStanfordDependencies

Python interface for converting Penn Treebank trees to Stanford Dependencies and Universal Depenencies
https://pypi.python.org/pypi/PyStanfordDependencies
68 stars 17 forks source link

Handle non-graph representations properly #3

Closed dmcc closed 9 years ago

dmcc commented 9 years ago

Currently representations like CCprocessed are broken in SubprocessBackend since they can't be represented in CoNLL-X (tokens can end up with multiple governors). Possibly we can fix this by merging together two representations.

JPypeBackend also has this issue (because it stores a mapping of tokens to governors).