Adding patterns to entity ruler in the loop

Hi! You can definitely update your matcher/entity ruler within the recipe – you could do this in a custom recipe with an update callback that adds patterns for newly annotated terms so they're automatically highlighted in future batches. I actually outlined a very similar approach in this thread a while ago:

Depending on the data, you could also do this in two steps: annotate a (maybe random) selection of examples manually and then use a simple script that loads the annotations and creates match patterns from them.

1 Like