Open russcam opened 4 months ago
I'd like to see that, too π
@Dubzer in the meantime, you may be interested in using UnicodeScript.g.cs, generated using https://github.com/searchpioneer/lingua-dotnet/tree/main/build/Lingua.UnicodeScriptGenerator. It implements an extension method GetScript(this char ch)
that returns the unicode script for the char.
Hello
Thanks for providing this option π
I do plan to address this in the library at some point, but let's be honest, this project is not really the top of my priorities at the moment. πΆβπ«οΈ This change and the other one required to upgrade the Unicode version seem to require slightly non-trivial changes, so I need to reserve a chunk of time to work on this at some point. It will happen, but I can't promise when π
It can be useful to know the Unicode Script property of characters, for example, in language detection.
Would you be interested in a PR to add support for Unicode scripts, and to look up the script name for a given character?