寻找一本字典基于.NET的文本COM pression库 [英] Looking for a dictionary based .NET text compression library

查看:91
本文介绍了寻找一本字典基于.NET的文本COM pression库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要寻找一个.NET字典基于COM pression库,这东西可以让我'种子'用的,它会用它来建立自己的字典中的常用词的大名单/串。

I am looking for a .NET dictionary based compression library, something that would allow me 'seed' it with a large list / string of common words which it would use to build its dictionary.

这是我想这种过度LZMA算法之类的,是因为我想之所以能够独立COM preSS短字符串,所有这些都是非常相似对方。可视化COM pressing一个简单的儿童书,但COM $ P $分别pssing每个页面。如果我们COM pressing整本书那么LZMA将是一件好事,但它没有那么大的更短的字符串。

The reason that I want this over LZMA and the like is because I want to independently compress short strings, all of which are quite similar to each other. Visualize compressing a simple children's book, but compressing each page separately. If we were compressing the whole book then LZMA would be good, but it's not so great for shorter strings.

是否有这样的东西存在吗?

Does any such thing exist?

推荐答案

zlib的提供了基于字典的COM pression 。该功能deflateSetDictionary()和inflateSetDictionary()做的正是你的描述。

zlib provides dictionary based compression. The functions deflateSetDictionary() and inflateSetDictionary() do exactly what you describe.

这篇关于寻找一本字典基于.NET的文本COM pression库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆