Stanford Corenlp funktioniert nicht
Ich verwende Windows 8 und führe Python in Eclipse mit pyDev aus.
Ich habe Stanford CoreNLP (Python-Version) von der Website installiert:https://github.com/relwell/stanford-corenlp-python
Wenn ich versuche, Corenlp zu importieren, wird folgende Fehlermeldung angezeigt.
Traceback (most recent call last):
File "C:\Users\Ghantauke\workspace\PythonTest2\test.py", line 1, in <module>
import corenlp
File "C:\Python27\lib\site-packages\corenlp\__init__.py", line 13, in <module>
from corenlp import StanfordCoreNLP, ParserError, TimeoutError, ProcessError
File "C:\Python27\lib\site-packages\corenlp\corenlp.py", line 28, in <module>
import pexpect
File "C:\Python27\lib\site-packages\pexpect.py", line 85, in <module>
support it. Pexpect is intended for UNIX-like operating systems.""")
ImportError: No module named resource
A critical module was not found. Probably this operating system does not
support it. Pexpect is intended for UNIX-like operating systems.
Bedeutet das, dass die Pythongabel in Windows nicht funktioniert? Gibt es eine Möglichkeit, es in Windows zum Laufen zu bringen?
Wenn nicht, können Sie andere Alternativen vorschlagen, die ich in Windows verwenden könnte. Ich brauche nur den Parser.