A NLP noob here.
I am trying to run some code that constructs a knowledge graph from unstructured text https://github.com/rutvik5/knowledge-graph on mac.
When running relation_extractor.py file, my mac terminal always returns:
PermissionError: [Errno 13] Permission denied: './process_large_corpus.sh'
The corresponding line is:
p = subprocess.Popen(['./process_large_corpus.sh',f,f + '-out.csv'],
I guess it has something to do with the subprocess.Popen() not working with shell scripts on mac?
Thanks