Poorly named "non-chunk" class in tree.py
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.9k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi! Love this library, I use it extensively for language processing in Python!
I noticed today that there's a certain class in pattern/text/tree.py -- the "non-chunk" class, which shows up when chunked() is called -- that has a name that overlaps with a racist slur.
I think it would be a good idea to rename this -- seeing it really took me aback.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in pattern/text/tree.py and inspect the class described as the "non-chunk" class, then trace where chunked() exposes or uses it. Rename the class to a non-offensive name and update the references so chunked() continues to work consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100