Abstract
Amharic is one of the most widely spoken and written languages in Ethiopia, establishing a growing presence in the digital realm. The language serves as the official working language in Ethiopia, employing its distinctive writing system, Fidel, which descends from Ge’ez characters. Amharic symbols are represented by 16 bits in Universal Transformation Format (UTF-8), a standard encoding scheme that ensures compatibility across different platforms and devices. However, this representation utilizes more bits than necessary, as a prior study demonstrated that the entropy of written Amharic language can be as low as 1.074 bits/symbol if the first-order and higher-order statistical dependencies between successive symbols in the language are well-captured. The entropy provides a lower bound on the average number of bits needed to represent a symbol without loss of information, directly impacting the achievable compression rate. This paper proposes using the Prediction by Partial Match (PPM) context-modeling algorithm to efficiently compress Amharic text. PPM is well-suited for textual data, and it adaptively uses a combination of Markov models of different orders to capture first-order and higher-order statistical dependencies between symbols in a text. We used two versions of the PPM algorithm, PPMC and PPMD, to encode eight Amharic text files. Our results show that the best order for efficient encoding is order-3. With this order, we achieved an average of 84.2% reduction in file size, which has a compression rate of 3.3 bits/symbol. This compression rate closely approximates the estimated entropy of the Amharic language (1.074 bits/symbol), demonstrating that PPM effectively compresses Amharic text by exploiting the language’s inherent statistical structure. The reduced bitrate translates to significant bandwidth and energy savings in digital communication systems, as well as reduced storage space requirements.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Alhawiti, K.M.: Adaptive models of Arabic text. Ph.D. thesis, Bangor University, Wales (2014)
Begleiter, R., El-Yaniv, R., Yona, G.: On prediction using variable order Markov models. J. Artif. Intell. Res. 22, 385–421 (2004)
Bell, T.C., Cleary, J.G., Witten, I.H.: Text Compression. Prentice-Hall, Hoboken (1990)
Cleary, J.G., Witten, I.H.: Data compression using adaptive coding and partial string matching. IEEE Trans. Commun. 32(4), 396–402 (1984)
Moffat, A.: Implementing the PPM data compression scheme. IEEE Trans. Commun. 38(11), 1917–1921 (1990)
Mukherjee, A., Awan, F.: Text compression. In: Sayood, K. (ed.) Lossless Compression Handbook, pp. 227–245. Academic Press, California (2003)
Proakis, J.G., Salehi, M.: Information source and source coding. In: Communication Systems Engineering, pp. 267–280. Prentice-Hall, New Jersey (2002)
Salomon, D., Motta, G.: Statistical methods. In: Handbook of Data Compression, pp. 211–227. Springer, London (2010). https://doi.org/10.1007/978-1-84882-903-9_5
Sayood, K.: Introduction to Data Compression. Morgan Kauffman, Massachusetts (2012)
Shannon, C.E.: A Mathematical Theory of Communication. Bell Syst. Tech. J. 27(3), 379–423 (1948)
Terefe, T., Hailemariam, D.: Entropy estimation and entropy-based encoding of written Amharic language for efficient transmission in telecom networks. In: 2017 IEEE AFRICON, pp. 238–244. IEEE, Cape Town, South Africa (2017)
The Unicode Consortium: The unicode standard version 11 (2018). http://www.unicode.org/charts. Accessed 28 July 2018
Wimsatt, A., Wynn, R.: Amharic Language and Cultural Manual (2011). http://languagemanuals.weebly.com/language-manuals-list.html. Accessed 7 Dec 2018
Woldegebreal, D.H., Debella, T.T., Molla, K.D.: On the entropy of written Afan Oromo. In: Sheikh, Y.H., Rai, I.A., Bakar, A.D. (eds.) e-Infrastructure and e-Services for Developing Countries, vol. 443, pp. 25–46. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-06374-9_3
Yifru, M.: Morphology based-language modeling of Amharic. Ph.D. thesis, Hamburg University, Germany (2010)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Abate Tefera, Y., Terefe Debella, T., Mohammed Hussien, H., Hailemariam Woldegebreal, D. (2024). Compressed Amharic Text: A Prediction by Partial Match Context-Modeling Algorithm. In: Debelee, T.G., Ibenthal, A., Schwenker, F., Megersa Ayano, Y. (eds) Pan-African Conference on Artificial Intelligence. PanAfriConAI 2023. Communications in Computer and Information Science, vol 2068. Springer, Cham. https://doi.org/10.1007/978-3-031-57624-9_15
Download citation
DOI: https://doi.org/10.1007/978-3-031-57624-9_15
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-57623-2
Online ISBN: 978-3-031-57624-9
eBook Packages: Computer ScienceComputer Science (R0)