I’m trying to use pos.make-gold. Per the recommendations in the docs, I’m doing a subset of tags at a time. Here is an example sequence:
prodigy dataset test "Just testing"
prodigy pos.make-gold test en_core_web_sm test.jsonl -l NOUN
This works fine and I can add and remove nouns. My test.jsonl has only five entries and I go through all of them. I have two questions about next steps.
(1) pos.gold-to-spacy doesn’t output anything
When I do:
prodigy pos.gold-to-spacy test gold.jsonl
I get this error message:
✨ Exported 0 examples (skipped 123 containing invalid spans)
gold.jsonl
and the resulting file is empty.
My input looks like this:
{"n": "18", "text": "This is text.", "pn": "1234"}
so I don’t know where the spans are coming from.
(2) How to combine with annotations for other labels
I now want to work on verbs instead of nouns, so I do this:
prodigy pos.make-gold test en_core_web_sm test.jsonl -l VERB
But the website just says:
No tasks available.
so I can’t do anything.
Is there a way to tell pos.make-gold to go back to the beginning?