Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run relation_extractor.py parallelly? #1

Open
Gyyyym opened this issue Jul 10, 2022 · 1 comment
Open

How to run relation_extractor.py parallelly? #1

Gyyyym opened this issue Jul 10, 2022 · 1 comment

Comments

@Gyyyym
Copy link

Gyyyym commented Jul 10, 2022

I want to run relation_extractor.py parallelly. but it gives an error。

Extracting relations for 1001_q_context.txt
Traceback (most recent call last):
File "main.py", line 152, in
exit(main(argv))
File "main.py", line 146, in main
entities_relations = stanford_ie(filename, verbose, generate_graphviz)
File "main.py", line 124, in stanford_ie
with open(out, 'r') as output_file:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/openie/out.txt'

How should I solve it?Thank you very much .

@Dhruva0101
Copy link

were you able to solve the issue. Can you please help me out if you have
?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants