寻找一本字典基于.NET的文本COM pression库一本、字典、文本、NET

由网友(真爱与自由)分享简介:我要寻找一个.NET字典基于COM pression库,这东西可以让我'种子'用的,它会用它来建立自己的字典中的常用词的大名单/串。I am looking for a .NET dictionary based compression library, something that would allow me '...

我要寻找一个.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.

阅读全文

相关推荐

最新文章