Labelling with ner.make-gold

front-end
usage

(Carl) #1

Hi guys,

Would it be possible to customize the UI for ner.make-gold to support both NER annotations and Text Categorization labelling in the same session? Right now, you can only do one or the other, but not both…

I would be happy to modify code (assuming I am allowed? and perhaps contribute back to you if you like) if you can just me know some breadcrumbs of where to go to find the code.

Thanks


(Ines Montani) #2

For binary annotation, you can pass in data with both a "label" and "spans", and the label will be rendered above the card. The manual annotation currently only supports one workflow: manual annotation. The reason the interface is set up this way is that Prodigy is centered around quick and automated annotation workflows that focus on single decisions at a time. Selecting between several different entity types is already challenging, and you’ll see much better results if you / the annotators can focus on a narrow range of labels and decisions and don’t have to consider two very different objectives. Even just for manual NER annotation, you often want to focus on two or three labels at a time and make several passes.

Annotating both named entities and text categories at the same time often isn’t a good idea, so in terms of annotation efficiency, I really wouldn’t recommend a workflow tlike that. Instead, it’s usually much more efficient to make several passes over the data and focus on one objective at a time. This will also let you run separate experiments for the model components you want to train, try out different approaches for each component etc.

You’ll likely want to iterate and try out different label schemes as well and run quick experiments in between to find the approach that works best. You might also want a slightly different example selection for the different tasks (NER and text classification), to achieve the best possible results.

Prodigy currently only ships with the compiled source of the web application. But the html interface lets you build any custom UI, and even comes with experimental support for JavaScript.


(Carl) #3

thank you. I trust your advice on single-focused effort… I will give that a try… Thanks!!