-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
In #75 @fsasaki suggested to use the TIKA nifconverter without a pipeline. So with a single API call with informat=TIKAFile can convert e.g. PDF to Turtle and enrich it.
This will require us to write a filter that becomes active whenever informat=TIKAFile.
So this API request should be possible:
http://{{baseUrl}}/e-entity/freme-ner/documents?language=en&dataset=dbpedia&mode=all&nif-version=2.1&informat=TIKAFile&filename=test.pdf
In one API request the system converts the PDF to Turtle and runs FREME NER.
The filter can do a HTTP request to call the nif-converter controller to convert the document.