RuntimeWarning:无法解码来自 CoreNLP 服务器的序列化输出。将返回不完整或空的对象

RuntimeWarning: Failed to decode a serialized output from CoreNLP server. An incomplete or empty object will be returned

我正在使用带有 Shift-Reduce 解析器的 CoreNLP 服务器解析(获取选区树)IMDB 数据集。对于几句话,它会发出警告:

RuntimeWarning: Failed to decode a serialized output from CoreNLP server. An incomplete or empty object will be returned. warnings.warn("Failed to decode a serialized output from CoreNLP server. An incomplete or empty object will be returned.", \

我真的不知道为什么会出现这个错误。

将 stanford-corenlp-4.0.0 更新为 4.1.0(发布时最新版本)并且有效。