A Roadmap for Universal Syllabic Segmentation

Ondřej Sojka; Petr Sojka; Jakub Máca

Zpravodaj Československého sdružení uživatelů TeXu (2023)

  • Volume: 033, Issue: 3-4, page 125-138
  • ISSN: 1211-6661

Abstract

top
Space- and time-effective segmentation (word hyphenation) of natural languages remains at the core of every document rendering system, be it TeX, web browser, or mobile operating system. In most languages, segmentation mimicking syllabic pronunciation is a pragmatic preference today. 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.

How to cite

top

Sojka, Ondřej, Sojka, Petr, and Máca, Jakub. "A Roadmap for Universal Syllabic Segmentation." Zpravodaj Československého sdružení uživatelů TeXu 033.3-4 (2023): 125-138. <http://eudml.org/doc/299162>.

@article{Sojka2023,
abstract = {Space- and time-effective segmentation (word hyphenation) of natural languages remains at the core of every document rendering system, be it TeX, web browser, or mobile operating system. In most languages, segmentation mimicking syllabic pronunciation is a pragmatic preference today. 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.},
author = {Sojka, Ondřej, Sojka, Petr, Máca, Jakub},
journal = {Zpravodaj Československého sdružení uživatelů TeXu},
language = {eng},
number = {3-4},
pages = {125-138},
publisher = {Československé sdružení uživatelů TeXu},
title = {A Roadmap for Universal Syllabic Segmentation},
url = {http://eudml.org/doc/299162},
volume = {033},
year = {2023},
}

TY - JOUR
AU - Sojka, Ondřej
AU - Sojka, Petr
AU - Máca, Jakub
TI - A Roadmap for Universal Syllabic Segmentation
JO - Zpravodaj Československého sdružení uživatelů TeXu
PY - 2023
PB - Československé sdružení uživatelů TeXu
VL - 033
IS - 3-4
SP - 125
EP - 138
AB - Space- and time-effective segmentation (word hyphenation) of natural languages remains at the core of every document rendering system, be it TeX, web browser, or mobile operating system. In most languages, segmentation mimicking syllabic pronunciation is a pragmatic preference today. 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.
LA - eng
UR - http://eudml.org/doc/299162
ER -

References

top
  1. Sojka, Ondřej, Sojka, Petr, Máca, Jakub, 10.47397/tb/44-2/tb137sojka-syllabic, TUGboat. 2023, vol. 44, no. 2. ISSN 0896-3207. Dostupné také z: https://doi.org/10.47397/tb/44-2/tb137sojka-syllabic. (2023) DOI10.47397/tb/44-2/tb137sojka-syllabic
  2. Haralambous, Yannis, New hyphenation techniques in Ω₂, TUGboat. 2006, vol. 27, no. 1, s. 98–103. Dostupné také z: https://tug.org/TUGboat/tb27-1/tb86haralambous-hyph.pdf. (2006) 
  3. Bartlett, Susan, Kondrak, Grzegorz, Cherry, Colin, Automatic Syllabification with Structured SVMs for Letter-to-Phoneme Conversion, In: Proceedings of ACL-08: HLT. Columbus, Ohio: Assoc. for Computational Linguistics, 2008, s. 568–576. Dostupné také z: https://aclweb.org/anthology/P08-1065. (2008) 
  4. Marchand, Yannick, Adsett, Connie R., Damper, Robert I., 10.1177/0023830908099881, Language and Speech. 2009, vol. 52, no. 1, s. 1–27. Dostupné z DOI: 10.1177/0023830908099881. (2009) DOI10.1177/0023830908099881
  5. Shao, Yan, Hardmeier, Christian, Nivre, Joakim, 10.1162/tacl_a_00033, Transactions of the Association for Computational Linguistics. 2018, vol. 6, s. 421–435. Dostupné z DOI: 10.1162/tacl_a_00033. (2018) DOI10.1162/tacl_a_00033
  6. Trogkanis, Nikolaos, Elkan, Charles, Conditional Random Fields for Word Hyphenation, In: Proceedings of the 48th Annual Meeting of the ACL. Uppsala, Sweden: ACL, 2010, s. 366–374. Dostupné také z: https://aclweb.org/anthology/P10-1038. (2010) 
  7. Krantz, Jacob, Dulin, Maxwell, Palma, Paul De, Language-Agnostic Syllabification with Neural Sequence Labeling, CoRR. 2019, vol. abs/1909.13362. Dostupné také z: https://arxiv.org/abs/1909.13362. (2019) 
  8. The Unicode Consortium, The Unicode Standard: Worldwide Character Encoding. Version 15.1., Mountain View, CA, USA: Unicode, Inc., 2023. ISBN 978-1-936213-32-0. Dostupné také z: https://unicode.org/versions/Unicode15.1.0. (2023) 
  9. Maddieson, Ian, Syllable Structure, In: DRYER, Matthew S.; HASPELMATH, Martin (eds.). The World Atlas of Language Structures Online. Leipzig: Max Planck Institute for Evolutionary Anthropology, 2013. Dostupné také z: https://wals.info/chapter/12. (2013) 
  10. Etymonline.com, Online Etymology Dictionary. "syllable", [online]. [N.d.]. [cit. 2023-07-23]. Dostupné z: https://www.etymonline.com/word/syllable. 
  11. Ústav pro jazyk český Akademie věd České republiky, Internetová jazyková příručka (Internet Language Reference Book), [online]. 2023. [cit. 2023-07-06]. Dostupné z: https://prirucka.ujc.cas.cz/?id=135. (2023) 
  12. Liang, Franklin M., Word Hy-phen-a-tion by Com-put-er, 1983. Dostupné také z: https://tug.org/docs/liang/liang-thesis.pdf. Dis. pr. Stanford University. (1983) 
  13. Sojka, Petr, 10.47397/tb/42-2/tb131sojka-czech, TUGboat. 2021, vol. 42, no. 2. ISSN 0896-3207. Dostupné také z: https://doi.org/10.47397/tb/42-2/tb131sojka-czech. (2021) DOI10.47397/tb/42-2/tb131sojka-czech
  14. Rosendahl, Arthur, Miklavec, Mojca, TeX hyphenation patterns, TUG, 2023. Dostupné také z: http://hyphenation.org/tex. Accessed 2023-07-05. (2023) 
  15. Jakubíček, Miloš, Kilgarriff, Adam, Kovář, Vojtěch, Rychlý, Pavel, Suchomel, Vít, The TenTen Corpus Family, In: Proc. of the 7th International Corpus Linguistics Conference (CL). Lancaster, 2013, s. 125–127. (2013) 
  16. Knuth, Donald E., 3:16 Bible Texts Illuminated, A-R Editions, Inc., 1991. ISBN 0-89579-252-4. (1991) 
  17. Sojka, Petr, Ševeček, Pavel, Hyphenation in TeX – Quo Vadis?, TUGboat. 1995, vol. 16, no. 3, 280–289. Dostupné také z: https://tug.org/TUGboat/tb16-3/tb48soj1.pdf. (1995) 
  18. Liang, Franklin M., Breitenlohner, Peter, PATtern GENeration Program for the TeX82 Hyphenator, [Electronic documentation of PATGEN program version 2.4 on CTAN. https://ctan.org/pkg/patgen]. 1999. (1999) 
  19. Sojka, Petr, Competing Patterns in Language Engineering and Computer Typesetting, 2005. Dostupné také z: https://researchgate.net/publication/265246931_Competing_Patterns_in_Language_Engineering_and_Computer_Typesetting/. Dis. pr. Faculty of Informatics. (2005) 
  20. Sojka, Petr, Sojka, Ondřej, The Unreasonable Effectiveness of Pattern Generation, TUGboat. 2019, vol. 40, no. 2, s. 187–193. Dostupné také z: https://tug.org/TUGboat/tb40-2/tb125sojka-patgen.pdf. (2019) 
  21. Sojka, Petr, 10.1007/3-540-45323-7_27, In: SOJKA, Petr; KOPEČEK, Ivan; PALA, Karel (eds.). Proceedings of the Third International Workshop on Text, Speech and Dialogue—TSD 2000. Brno, Czech Republic: Springer-Verlag, 2000, s. 157–162. LNAI 1902. Dostupné z DOI: 10.1007/3-540-45323-7_27. (2000) DOI10.1007/3-540-45323-7_27
  22. Sojka, Petr, Sojka, Ondřej, Towards Universal Hyphenation Patterns, In: HORÁK, Aleš; RYCHLÝ, Pavel; RAMBOUSEK, Adam (eds.). Proceedings of Recent Advances in Slavonic Natural Language Processing—RASLAN 2019. Karlova Studánka, Czech Republic: Tribun EU, 2019, 63–68. Dostupné také z: https://nlp.fi.muni.cz/raslan/2019/paper13-sojka.pdf. https://is.muni.cz/publication/1585259/?lang=en. (2019) 
  23. Máca, Jakub, Judy, Brno, Czech Republic, 2023. Dostupné také z: https://is.muni.cz/th/kru3j. Bachelor Thesis supervised by Petr Sojka and defended at Masaryk University, Faculty of Informatics. (2023) 
  24. Lemberg, Werner, A database of German words with hyphenation information, 2023. Dostupné také z: https://repo.or.cz/wortliste.git. (2023) 

NotesEmbed ?

top

You must be logged in to post comments.

To embed these notes on your page include the following JavaScript code on your page where you want the notes to appear.

Only the controls for the widget will be shown in your chosen language. Notes will be shown in their authored language.

Tells the widget how many notes to show per page. You can cycle through additional notes using the next and previous controls.

    
                

Note: Best practice suggests putting the JavaScript code just before the closing </body> tag.