varun196 / knowledge_graph_from_unstructured_text

Building knowledge graph from input data
46 stars 29 forks source link

relation extractor problem #8

Open siavashbis opened 1 year ago

siavashbis commented 1 year ago

when I try to use relation extractor I get this error

Traceback (most recent call last): File "C:\Users\Siyavash\Desktop\maliheh\knowledge_graph_from_unstructured_text\relation_extractor.py", line 28, in Stanford_Relation_Extractor() File "C:\Users\Siyavash\Desktop\maliheh\knowledge_graph_from_unstructured_text\relation_extractor.py", line 19, in Stanford_Relation_Extractor p = subprocess.Popen(['./process_large_corpus.sh',f,f + '-out.csv'], stdout=subprocess.PIPE) File "C:\Users\Siyavash\anaconda3\envs\mynlp\lib\subprocess.py", line 951, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\Siyavash\anaconda3\envs\mynlp\lib\subprocess.py", line 1420, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, OSError: [WinError 193] %1 is not a valid Win32 application