加载XML作为Stanford CoreNLP的注释?

时间:2013-03-11 18:05:48

标签: stanford-nlp

有很多关于获取Annotation并将其保存到XML的信息。是否可以反序列化,即将XML加载到注释中?例如,我的用例是:我想进行廉价的预处理,如句子拆分,然后决定进行更昂贵的解析,并且我希望正确保存原始文档文本偏移量。

1 个答案:

答案 0 :(得分:0)

---------- Forwarded message ----------
From: John Bauer
Date: Wed, Mar 13, 2013 at 1:52 AM
Subject: Re: [java-nlp-user] Can XML be deserialized into CoreMap etc. structures?
To: Brendan O'Connor
Cc: "java-nlp-user@lists.stanford.edu" 


No, there is no code to deserialize the XML output.
We're always interested in user extensions, though :)

John