machinalis / iepy

Information Extraction in Python
BSD 3-Clause "New" or "Revised" License
905 stars 186 forks source link

GazetteItem matching query does not exist. #142

Open swu038 opened 6 years ago

swu038 commented 6 years ago

Hi!

I have created created a set of gazettes, and I have included it in my database by running the provided script, gazettes_loader.py. I than ran the preprocess step, but it gives me this error that: "GazetteItem matching query does not exist". Thanks!

*Note: I accidentally ran the preprocess step before uploading the gazettes. When I realized that mistake I ran the preprocess script with the option: "--increment-ner" and that is when I got the error.

*Note: For my gazette, the classes that I used are not the Stanford CoreNLP's entities because I want to use my own custom made entities. (I believe this is what's causing the problem but I don't know how to fix it).

Attached are: an image of the error I received, and my gazette csv (I saved it as txt because it doesn't let me attach csv files). open.txt screenshot from 2018-04-19 21_55_48