Need help with using unsegmented in ner.make-gold recipe

I am trying to use the ner.make-gold recipe with the below command.

python -m prodigy ner.make-gold preds model_batch4_1 "\Batch4\extract.txt" --label Facility,Trance,Deal --U True

But unfortunately, I get the below error

usage: prodigy ner.make-gold [-h] [-a None] [-lo None] [-l None] [-e None]
[-U]
dataset spacy_model [source]
prodigy ner.make-gold: error: unrecognized arguments: True

Am I doing anything wrong here.

Thanks in advance

1 Like

Use -U or --unsegmented (it's one dash if it's the single-letter option, two dashes if it's the longer name) and remove True:

python -m prodigy ner.make-gold preds model_batch4_1 "\Batch4\extract.txt" --label Facility,Trance,Deal -U

Just -U by itself means unsegmented.

2 Likes

Thanks a lot

1 Like

Thanks! It worked,