如果试图将文件直接读入一个xml解析器,就会导致错误。
Attempting to read the file directly into an XML parser results in an error.
我认为,该错误消息是由众所周知的Python shelve模块中的问题造成的,它负责读入WordNet使用的某些散列数据库文件。
I think this error message is caused by a well-known bit of awkwardness in the Python shelve module, which reads the sort of hash database files that are used for WordNet.
应用推荐