Java 中的 PPMD 压缩?
有谁知道 PPMD 压缩算法的 Java 实现吗?
我一直无法找到 Java 实现,但在 http 处有一个 C# 实现://users.senet.com.au/~mjbone/Compression.html 大约有 4k 行代码。我不会问是否有人愿意将其移植到 Java 上......
Does anyone know of a Java implementation of the PPMD compression algorithm?
I have not been able to find a Java implementation, but there is a C# implementation at http://users.senet.com.au/~mjbone/Compression.html that is about 4k lines of code. I'm not going to ask if anyone feels like porting it to Java...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我正在使用相同的实现,但找不到任何。但我发现 7zip 只提供了 C++ 的 ppmd 实现的源代码,而不是 java(至少到目前为止)。
我使用 7zip 的系统调用来压缩我需要的数据,使用 7zip 的命令行版本。
I was using for the same implementation, and couldn't find any. But I found that 7zip gives the source code of their ppmd implementation just in C++, not in java (at least, until now).
I used system call's to 7zip do compress the data I need, using the command-line version of 7zip.
请参阅http://www.example-code.com/java/ppmd.asp
和图书馆可以在这里找到
http://www.chilkatsoft.com/java.asp
Please see http://www.example-code.com/java/ppmd.asp
and libraries to be found in here
http://www.chilkatsoft.com/java.asp
此处似乎有一个商业闭源 PPMd 实现。我没有尝试过,也不知道任何关于它或生产它的公司的信息,所以我不知道它是否与 7-zip 版本的算法兼容。不过,它似乎不是一个纯 Java 实现 - 它可能在后台使用本机调用。
There seems to be a commercial closed source PPMd implementation here. I have not tried it, nor do I know anything else about it or the company producing it, so I do not know if it is compatible with the 7-zip version of the algorithm. It does not seem to be a pure Java implementation though - it's probably using native calls in the background.
如果您正在寻找非常快速的压缩,您还可以尝试这里找到的 Google Snappy 的 java 实现:http: //code.google.com/p/snappy/
Snappy 在 Google 内部得到广泛使用。
If you are looking for very fast compression, you may also try the java implementation of Google Snappy found here: http://code.google.com/p/snappy/
Snappy is used widely within Google.