-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate alternative typos with a translation table
This way we can catch misspellings with alternative characters, typically and acute accent (´) instead of an apostrophe ('). In this case, the alternative character is a valid character and will be used both in the misspelling and the fix(es). The above is different from detecting Unicode phishing, where some characters like `A` are intentionally, or not, replaced by lookalikes such as `A`, `Α`, `А`, `ᗅ`, `ᴀ`, `A`. In that case, the alternative character is invalid and should be replaced by its valid counterpart in the fix. We do not address that here.
- Loading branch information
1 parent
2eeb8b9
commit 6cb0d5e
Showing
1 changed file
with
34 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters