Automatic hyphenation and the lang parameter to text/gemini

Nathan Galt mailinglists at ngalt.com
Mon Sep 14 20:34:03 BST 2020


(Making a new post since this conversation finished up before I signed up for the mailing list…)

Previously:

=> https://lists.orbitalfox.eu/archives/gemini/2020/001107.html

> The two concerete motivations for adding this were:
> 
> 1. Screenreaders need to know this information to know which settings to
> use for their text-to-speech engine: the same letters correspond to
> different sounds in different languages.
> 
> 2. Search engines may want to to offer their users the ability to ask
> for results only in a particular set of languages.
> 
> Can anybody think of additional likey use cases besides these?

Automatic-hyphenation algorithms need to know what language text is in in order to know where it will, and won’t, be a good idea to stick hyphens.


More information about the Gemini mailing list