Hi everybody,
I want to use the relation extraction component you have published on Github (projects/tutorials/rel_component at v3 · explosion/projects · GitHub) with my custom NE component.
Here is the pipeline:
- Annotate documents in Prodigy with entities and relations (Done)
- Train my own NER component on the annotated documents and store it(Done)
- Train the relation extractor you made available in Github on the same annotated documents and store it (Done)
- Take a new text document and annotate it with my NE model at 2., and store it as a .spacy document (Done)
- Use the ".spacy" document annotated with entities at 4., and pass it to the relation extractor model at 3.
I can't figure out how to solve point 5. Please, let me know if you have any ideas.
Thanks!
Eduard