Skip to main content

Compressed Amharic Text: A Prediction by Partial Match Context-Modeling Algorithm

  • Conference paper
  • First Online:
Pan-African Conference on Artificial Intelligence (PanAfriConAI 2023)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Alhawiti, K.M.: Adaptive models of Arabic text. Ph.D. thesis, Bangor University, Wales (2014)

    Google Scholar 

  2. Begleiter, R., El-Yaniv, R., Yona, G.: On prediction using variable order Markov models. J. Artif. Intell. Res. 22, 385–421 (2004)

    Article  MathSciNet  Google Scholar 

  3. Bell, T.C., Cleary, J.G., Witten, I.H.: Text Compression. Prentice-Hall, Hoboken (1990)

    Google Scholar 

  4. Cleary, J.G., Witten, I.H.: Data compression using adaptive coding and partial string matching. IEEE Trans. Commun. 32(4), 396–402 (1984)

    Article  Google Scholar 

  5. Moffat, A.: Implementing the PPM data compression scheme. IEEE Trans. Commun. 38(11), 1917–1921 (1990)

    Article  Google Scholar 

  6. Mukherjee, A., Awan, F.: Text compression. In: Sayood, K. (ed.) Lossless Compression Handbook, pp. 227–245. Academic Press, California (2003)

    Chapter  Google Scholar 

  7. Proakis, J.G., Salehi, M.: Information source and source coding. In: Communication Systems Engineering, pp. 267–280. Prentice-Hall, New Jersey (2002)

    Google Scholar 

  8. 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

  9. Sayood, K.: Introduction to Data Compression. Morgan Kauffman, Massachusetts (2012)

    Google Scholar 

  10. Shannon, C.E.: A Mathematical Theory of Communication. Bell Syst. Tech. J. 27(3), 379–423 (1948)

    Article  MathSciNet  Google Scholar 

  11. 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)

    Google Scholar 

  12. The Unicode Consortium: The unicode standard version 11 (2018). http://www.unicode.org/charts. Accessed 28 July 2018

  13. Wimsatt, A., Wynn, R.: Amharic Language and Cultural Manual (2011). http://languagemanuals.weebly.com/language-manuals-list.html. Accessed 7 Dec 2018

  14. 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

  15. Yifru, M.: Morphology based-language modeling of Amharic. Ph.D. thesis, Hamburg University, Germany (2010)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yalemsew Abate Tefera .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics