Open oratosa opened 4 years ago
Hi @oratosa I apologize for the late reply. I was very busy.
First thing first, please ensure you are using master branch.
Secondly, make sure you have the OpenIE server running on localhost:8000
The NoSuchElementException
indicates to me that your input data is not structured properly. For example, when I run the following, I am able to iteratively process the files without issue.
sbt:covid19_knowledge_graph> run /Users/lmcgibbn/Downloads/covid19-knowledge-graph/data/comm_use_subset /Users/lmcgibbn/Downloads/covid19-knowledge-graph/data/scispacy/individual_files
[info] running gov.nasa.jpl.covid19_knowledge_graph.covid19_knowledge_graph /Users/lmcgibbn/Downloads/covid19-knowledge-graph/data/comm_use_subset /Users/lmcgibbn/Downloads/covid19-knowledge-graph/data/scispacy/individual_files
loading /Users/lmcgibbn/Downloads/covid19-knowledge-graph/data/scispacy/individual_files/000b7d1517ceebb34e1e3e817695b6de03e2fa78.json
loading /Users/lmcgibbn/Downloads/covid19-knowledge-graph/data/comm_use_subset/000b7d1517ceebb34e1e3e817695b6de03e2fa78.json
...
Do you have the scispacy dataset as your second parameter?
I tried both of patterns to run the program but I got failed the running. I would like some advice if you know any solution.
What I did is as below:
From sbt
As a standalone JAR