0
Ich benutze Python3 mit Python-Shell in Ubuntu. Mein Code:Ein Fehler mit "subject_object_extraction" für die Arbeit mit spacy?
import spacy
from subject_object_extraction import findSVOs
# can still work even without punctuation
parse = parser("he and his brother shot me and my sister")
print(findSVOs(parse))
# very complex sample. Only some are correct. Some are missed.
parse = parser("... any text ... ")
print(findSVOs(parse))
Als Ergebnis, ich habe den nächsten Fehler:
Traceback (most recent call last):
File "/home/vv/PythProj/sp_ex_2.py", line 2, in <module>
from subject_object_extraction import findSVOs
ImportError: No module named 'subject_object_extraction'
Wo ist mein Fehler? Danke
Vielen Dank für Ihre Hilfe ! –