Open guilherme-salome opened 6 years ago
They seem to be working fine for me. Here are the extractions from the first sentence you reported. Check if you have the latest code pulled from the master branch and that the language model is correctly downloaded.
Another one..
Hi @swarnaHub , thanks for double checking. I literally downloaded everything yesterday. I cloned the repo, got the pre-compiled binaries, created the lib folder and populated with the downloads from the build section, and downloaded the data model from the link and stored in the data folder. I did not try recompiling it because I'm running everything on linux and it seemed to work fine. Except for these weird cases that do not work.
I will try parsing the phrases with errors on my mac after the process finishes running.
I just realized it could be an issue with the java version.
I tried again starting from scratch on ubuntu 18.04 in a digitalocean droplet using java 8 (couldn't install 7 for some reason). I still got the same errors.
This is indeed a java problem. Check the below issue - https://stackoverflow.com/questions/23413092/error-under-ubuntu-with-the-method-string-join
Hmmm interesting. On the droplet I am using when I runn java -version
I get:
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-0ubuntu0.18.04.1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
which corresponds to java 8. The requirement for open ie is java 7.
A temporary bypass is just to add double quotes on both sides
Really tired of this bug. I have been wrapping the text with double quotes to solve it but I cannot understand what is causing this error. My java version: openjdk version "1.8.0_191" OpenJDK Runtime Environment (build 1.8.0_191-b12) OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
I am having issues with OpenIE reporting errors on a few phrases, some of which are regular phrases without weird punctuation. For example: "Mozambique steps up oil and gas search." leads to an
Error on sentence
(traceback below).I am running the pre-compiled binaries with the options:
Here are some of the examples that have caused errors:
The errors all seem to be caused by the same issue: