confusables icon indicating copy to clipboard operation
confusables copied to clipboard

Script to Automatically Generate Custom Mapping Entries

Open ThioJoe opened this issue 2 years ago • 2 comments

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

ThioJoe avatar Apr 05 '22 23:04 ThioJoe

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

LunaticBFF57 avatar May 04 '22 11:05 LunaticBFF57

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

ThioJoe avatar Jun 06 '22 20:06 ThioJoe