varun196 / knowledge_graph_from_unstructured_text

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

Relation Extraction #6

Closed Kojo7 closed 3 years ago

Kojo7 commented 3 years ago

Hello all,

Can someone help me please with this error

Traceback (most recent call last): File "relation_extractor.py", line 25, in <module> Stanford_Relation_Extractor() File "relation_extractor.py", line 16, in Stanford_Relation_Extractor p = subprocess.Popen(['./process_large_corpus.sh',f,f + '-out.csv'], stdout=subprocess.PIPE) File "/usr/lib/python3.6/subprocess.py", line 729, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: './process_large_corpus.sh': './process_large_corpus.sh'

I get this error when I run the 'relation_extraction.py' file. There is no process_large_corpus.sh file in the repo.

Any help or hint will be appreciated.

Thanks very much