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

Feature: unicode characters to ascii fuzzy equivalents #207

Open
gabriel opened this issue Jan 6, 2023 · 0 comments
Open

Feature: unicode characters to ascii fuzzy equivalents #207

gabriel opened this issue Jan 6, 2023 · 0 comments

Comments

@gabriel
Copy link

gabriel commented Jan 6, 2023

Thanks for this library!

"𝔭𝔬𝔱𝔦𝔬𝔫 𝔰𝔢𝔩𝔩𝔢𝔯".to_ascii
=> "?????? ??????"

Would be a nice enhancement for this to output:

"𝔭𝔬𝔱𝔦𝔬𝔫 𝔰𝔢𝔩𝔩𝔢𝔯".to_ascii
=> "potion seller"

There is a unicode-tools python library that can handle this, e.g.:
https://unicode.scarfboy.com/?s=%F0%9D%94%AD%F0%9D%94%AC%F0%9D%94%B1%F0%9D%94%A6%F0%9D%94%AC%F0%9D%94%AB+%F0%9D%94%B0%F0%9D%94%A2%F0%9D%94%A9%F0%9D%94%A9%F0%9D%94%A2%F0%9D%94%AF

@gabriel gabriel changed the title Feature: alphanumeric unicode characters to ascii fuzzy equivalents Feature: unicode characters to ascii fuzzy equivalents Jan 6, 2023
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

No branches or pull requests

1 participant