Adding new label

Hi @pkras!

Is there a way to use ner.manual or ner.correct on the saved labelled dataset and add the new label?

It's possible to load existing datasets again. Prodigy will load the anotations from the dataset then stream them back in. Perhaps you can try that then include your new label:

prodigy ner.manual <new_dataset> <model> dataset:<old_dataset> --label PERSON,ORG

Similarly, i would like to ask what you would advise in the case of wanting to remove a label from the existing scheme.

Do you mean removing an annotation or the "choices"? If it's the former, you can remove the previous annotation by clicking over the token. If the latter, you can just whitelist what you need in --label and they'll be the ones to show up later on.

Hope it helps!

1 Like