Dependency parsing using ClearNLP creates a DEPTree
object. I have parsed a large corpus and serialized all the data in CoNLL format (e.g., this ClearNLP page on Google code).
But I can't figure out how to deserialize them. ClearNLP provides a DEPTree#toStringCoNLL()
method (scroll down this page to see it). I am looking for something to read a CoNLL format parse tree and create a DEPTree
object. I tried to reverse-engineer it, but didn't really understand the inner workings of the code.
I have, instead, created my own dependency tree class to handle the basic functionalities I need, but I would really like to know how to get a DEPTree
object instead. So far, I haven't found any method in their API which does this.