Valid from version 6.0
This documentation is valid from Datafari 6.0 upwards
Since Datafari 6.0 a new option has been added to the simplified jobs, it is the “Create a side Spacy NER job” checkbox:
This feature will create a duplicate simplified job, but configured to perform Spacy NER extraction on files through a dedicated Spacy FastAPI Server that you must provide. It means that you will need Setting up a server to host Spacy for Named Entity Recognition
When checking the checkbox, 2 additional parameters will appear and MUST be set:
Spacy connector name: the name to set to the Spacy NER connector that will be created using the provided Spacy server address
Spacy server address: full address of the Spacy FastAPI server to use. This parameter must contain the protocol to use, the IP address, and the port (ex: http://192.168.0.1:5000)
Notice that if you set a Spacy connector name that already exists in MCF, the connector corresponding to that name will be used and no new one will be created ! In that case, the Spacy server address will be ignored !
When saving a simplified job with the side Spacy NER job enabled, in the list of jobs you will notice two jobs, one job having the name you entered as sourcename in the simplified UI, and one job having the same name but containing the “NER” prefix:
If you edit the NER job, in the connection tab you will notice that what differs from the other created job is that the Spacy connector you specified in the “Spacy connector name” parameter has been added to the pipeline as last transformer connector:
Once you are satisfied with the configuration of the Spacy NER job, you would like to run it in a time window that will not be the same than the original job if you plan to run the two jobs on the same MCF node. The best thing to do is to create the NER job on a dedicated MCF node so that you will be able to run it at any wanted time.