Add regex scrubbing
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Locate the existing Stop Words/Keep Words and Consolidation options, then read how they process tokens and replacements. The work is done when both options support regex-based removal or retention and replacement such as the University example, with tests covering the resulting single tokens and the interaction with punctuation stripping.
Written by the indexing model from the issue text.
Description
Nice enhancements would be to be able to to remove/keep strings based on regex pattern. My suggestion would be to add this functionality to the Stop Words/Keep Words option. A version should also be added to the Consolidation option. That way you could, for instance, change /University of (.+)\s/ to "University_of_$1". In other words, "University of Edinburgh" and "University of Kentucky" would become "University_of_Edinburgh" and "University_of_Kentucky", and each could be counted as a single token.
This kind of functionality shouldn't be too hard to add, though in the example above the user would have to be careful not to consolidate and then strip punctuation...
- Dominant language
- Python
- Stars
- 123
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
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.
More from WheatonCS/Lexos
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
AnalysisTool bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
enhancement Front End
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Dendrogram enhancement Front End
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Back End Front End Scrubbing
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100