Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script to Automatically Generate Custom Mapping Entries #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ThioJoe
Copy link

@ThioJoe ThioJoe commented Apr 5, 2022

Adds script to automatically check if confusable pairs are already mapped or not, and generate those entries for custom_confusables.txt. It is run independently of the rest of the module, but does need to be in the same folder as config.py.

Example usage by editing these two variables in the script:

spammifiedPhrase = "FREE ROBUX on мy proғιle"
realPhrase = "FREE ROBUX ON MY PROFILE"

Output:
image

Add script to easily check if confusable pairs are already mapped or not, and generate those entries for custom_confusables.txt
@LunaticBFF57
Copy link

29 days later and the devs haven't even replied to this.

@ThioJoe
Copy link
Author

ThioJoe commented Jun 6, 2022

I mean there's a PR from a year ago so I didn't exactly expect a quick response. Figured I'd just post it for anyone who might find it useful. It works standalone

Add logic to keep track of whether a spammified character was already checked, to avoid duplicate entries being generated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants