user1981245
user1981245

Reputation: 121

what are the file compression algorithms available for txt file compression?

I am in a project for developing a s/w for file compression(text oriented) that gives effective results. I searched this site but no question has been answered with the basics of file compression. I am ok with java,c,c++ for coding. Kindly suggest me some websites, books and specific algorithms to do this. And how to look at the coding of standard file compression s/w s available? Thanks for considering this too basic question..

Upvotes: 0

Views: 522

Answers (1)

M Pankaj Arun
M Pankaj Arun

Reputation: 86

Following are some of the best known and can be easily implemented file compression algorithms and mostly all of them suitable for text files as they provide lossless compression.

Run-length encoding (RLE)

Huffman coding

Lempel-Ziv compression (LZ77 and LZ78)

DEFLATE – Combines Lempel-Ziv

Lempel–Ziv–Markov chain algorithm (LZMA)

Lempel–Ziv–Oberhumer (LZO)

Lempel–Ziv–Storer–Szymanski (LZSS)

Lempel–Ziv–Welch (LZW)

Upvotes: 1

Related Questions