Span filtering prodigy datasets using W&B Tables

Hi! I am currently testing the new prodigy integration to visualize NER datasets and it works great, thank you! But I have some problems.
I would like to filter row["spans"]["label"] by the special entities and I have problems here. My use case:

  • Which texts contain only people (PERSON)? Which organisations (ORG) or locations (LOCATION)? How many people do I find in total?
  • I would like to create new rows/columns to visualize the results.

My problem: I can’t manage to filter according to the entities. What am I doing wrong?
Your example here is also ok for the test:

Thank you
Alfred

2 Likes

Glad you’re enjoying the prodigy integration!

I’ll try get an answer for this for you ASAP.

I don’t know what I did wrong last time, but it works perfectly. Thanks!

image

2 Likes

Nice! Glad you got it working :slight_smile: