Skip to content
Discussion options

You must be logged in to vote

Hi!

The parser_data.py file was not originally implemented as a generic script that will convert any type of relation annotation - it was developed to support the tutorial and specific data format from https://github.com/explosion/projects/tree/v3/tutorials/rel_component (only).

If you want to reuse this script, you should really use it as an example on how this type of conversion can be done, but go through all the parts of the code and see what is relevant and what should be changed for your specific use-case.

Alternatively, we recently created this more general script: https://github.com/explosion/projects/blob/v3/tutorials/rel_component/scripts/parse_data_generic.py. Here, you only ha…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adrianeboyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage General spaCy usage feat / rel Feature: Relation Extractor
2 participants