Need Help W/ Text Compression And Tokens!

Discussion in 'Software' started by HarryPotter, Sep 26, 2026 at 12:58 PM.

  1. HarryPotter

    HarryPotter MajorGeek

    Hi! I've been working hard on several compression techniques and believe some of them are doing well. However, I'm having problems with one group of them: they are designed to compress lists of strings such that they can be printed out individually. Right now, the best I got was slightly better than 50% compressibility. :( On the test file, Deflate gave me about 56%. I believe I'm doing tokenization wrong. My current strategy is to check if the current input is already a token; if it is, increment the tokens count, and, if not, add it. My best technique tokenizes words, and even that is not good enough. Is there a better strategy? If there is, how do I do it?
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds