As language switching is often not marked in rendered texts, the typesetting engine needs universal syllabic segmentation. In this article, we show the feasibility of this idea by offering a prototype solution to two main problems:
A) Using Patgen to generate patterns for several languages at once; and
B) lack of Unicode support in tools like Patgen or TeX (patterns in UTF-16 encoding) is missing.
For A), we have applied it to generating universal syllabic patterns from wordlists of nine syllabic, as opposed to etymology-based, languages (namely, Czech, Slovak, Georgian, Greek, Polish, Russian, Turkish, Turkmen, and Ukrainian).
For B), we have created a version of Patgen that uses the Judy array data structure and compared its effectiveness with the trie implementation.
With the data from these nine languages, we show that:
A) developing universal, up-to-date, high-coverage, and highly generalized universal syllabic segmentation patterns is possible, with a high impact on virtually all typesetting engines, including web page renderers; and
B) bringing wide character support into the hyphenation part of the TeX suite of programs is possible by using Judy arrays.
As language switching is often not marked in rendered texts, the typesetting engine needs universal syllabic segmentation. In this article, we show the feasibility of this idea by offering a prototype solution to two main problems:
A) Using Patgen to generate patterns for several languages at once; and
B) lack of Unicode support in tools like Patgen or TeX (patterns in UTF-16 encoding) is missing.
For A), we have applied it to generating universal syllabic patterns from wordlists of nine syllabic, as opposed to etymology-based, languages (namely, Czech, Slovak, Georgian, Greek, Polish, Russian, Turkish, Turkmen, and Ukrainian).
For B), we have created a version of Patgen that uses the Judy array data structure and compared its effectiveness with the trie implementation.
With the data from these nine languages, we show that:
A) developing universal, up-to-date, high-coverage, and highly generalized universal syllabic segmentation patterns is possible, with a high impact on virtually all typesetting engines, including web page renderers; and
B) bringing wide character support into the hyphenation part of the TeX suite of programs is possible by using Judy arrays.
MUNI/A/1339/2022, interní kód MU |
|