Abstract
There is always an increasing demand for data storage and transfer; therefore, data compression will always be a fundamental need. In this article, we propose a lossless data compression method focused on a particular kind of data, namely, chat messages, which are typically non-formal, short-length strings. This method can be considered a hybrid because it combines two different algo-rithmic approaches: greedy algorithms, specifically Huffman coding, on the one hand and dynamic programming on the other (HCDP = Huffman Coding + Dynamic Programming). The experimental results demonstrated that our method provided lower compression ratios when compared with six reference algorithms, with reductions between 23.7% and 39.7%, whilst the average remained below the average value reported in several related works found in the literature. Such performance carries a sacrifice in speed, however, which does not presume major practical implications in the context of short-length strings.
Author supplied keywords
Cite
CITATION STYLE
Moreno Cadavid, J., & Vanegas Madrigal, H. D. (2021). A lossless compression method for chat messages based on huffman coding and dynamic programming. Computers, 10(3), 1–14. https://doi.org/10.3390/computers10030028
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.