Language hint
See original GitHub issueSome languages have overlapping characters. To provide the most accurate result, we could accept a language hint and prefer that language when there’s a conflict. You would still be able to use multiple languages in a string, but the provided one gets priority. For example, sv-SE
to prioritize the Swedish replacement.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:38 (3 by maintainers)
Top Results From Across the Web
Effective Communication vs. The Language of Hint
The language of hint is both ineffectual and unhealthy. It is ineffectual because it is not clear and generally does not get us...
Read more >Google OCR language hints - Stack Overflow
Does anyone know where I would specify a language hint in my code? I am programming it using a .net console application. using...
Read more >39 English Language Hints ideas - Pinterest
Apr 28, 2020 - Explore Metlang's board "English Language Hints", followed by 288 people on Pinterest. See more ideas about learn english, english...
Read more >OCR Language Support | Cloud Vision API
Language Language (English name) languageHints code Script / notes Mapped to
بهسا اچيه Acehnese ace Latn Latin script model
Lwo Acholi ach Latn Latin script...
Read more >108 Language Cheat Sheets - Cheatography.com
108 Cheat Sheets tagged with Language ; French Cheat Sheet. English to French cheat sheet, with useful words and phrases to take with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I could get behind BCP-47 for the sole reason that it is familiar. But also more granular than a language code.
We started building something similar to this a few years ago - https://github.com/diacritics - but we never finished it.
We had the transliteration default to general usage, but also allowed the user set the language and variant. For example:
But, that might have been too aggressive because the code owner opted to rewrite the transliterater to be much more basic.