huggingface / disaggregators

🤗 Disaggregators: Curated data labelers for in-depth analysis.
Apache License 2.0
66 stars 3 forks source link

Add Age disaggregator #13

Closed NimaBoscarino closed 1 year ago

NimaBoscarino commented 1 year ago

As part of #5, adds a "age" disaggregator which uses SpaCy to pull out ages, e.g. "10 years old", etc. Probably not the best implementation (e.g. maybe I should've done this with some regex) but this is temporary and I'll be adding some more SpaCy-powered ones soon anyways.

NOTE: Also includes a change to rename "pronouns" to "pronoun".