XWRT32
所属分类:嵌入式/单片机/硬件编程
开发工具:Unix_Linux
文件大小:489KB
下载次数:14
上传日期:2008-09-15 18:37:11
上 传 者:
linphusen
说明: x-wrt is the GUI config tool for openwrt,which is a open project about wireless Router
文件列表:
xwrt (0, 2007-10-27)
xwrt\src (0, 2007-10-27)
xwrt\src\Common.cpp (25399, 2007-10-27)
xwrt\src\Common.h (2629, 2007-10-25)
xwrt\src\Decoder.cpp (30576, 2007-10-26)
xwrt\src\Decoder.h (1553, 2006-11-28)
xwrt\src\Encoder.cpp (59339, 2007-10-25)
xwrt\src\Encoder.h (2143, 2007-01-30)
xwrt\src\lpaq6.h (1681, 2007-10-25)
xwrt\src\lpaq6.hpp (44164, 2007-10-26)
xwrt\src\Makefile (495, 2007-10-27)
xwrt\src\MemBuffer.cpp (17870, 2007-10-26)
xwrt\src\MemBuffer.h (2302, 2007-02-16)
xwrt\src\XWRT.cpp (10151, 2007-10-26)
xwrt\src\XWRT.dsp (5043, 2007-10-27)
xwrt\src\XWRT.dsw (531, 2006-12-21)
xwrt\src\XWRT.h (4982, 2007-10-27)
xwrt\xwrt.exe (128512, 2007-10-27)
xwrt\xwrt_linux (322872, 2007-10-29)
XWRT 3.2 - XML compressor (C) 2006 Przemyslaw Skibinski (inikep@gmail.com)
--------- zlib (C) 1995-2005 Jean-loup Gailly and Mark Adler
LZMA (C) 1999-2006 Igor Pavlov
PPMVC (C) 1997-2006 Dmitry Shkarin and Przemyslaw Skibinski
lpaq6 (C) 2007 Matt Mahoney and Alexander Ratushnyak
http://www.ii.uni.wroc.pl/~inikep/research/XML/XWRT32.zip
1. Introduction
XWRT (XML-WRT) is a high-performance XML compressor. It transforms XML to more
compressible form and uses zlib (default), LZMA, PPMVC, or lpaq6 as
back-end compressor. This idea is based on well-known XML compressor - XMill.
Moreover, XML-WRT creates a semi-dynamic dictionary and replaces frequently
used words with shorter codes. There are additional techniques to improve
compression ratio:
-word alphabet can consist of start tags (like ''), urls, e-mails
-special model for numbers encoding
-input XML file is split into containers
-there are special containers for dates, time, pages and fractional numbers
-end tags ('') are replaced with a single char
-end tags + EOL symbols can also be replaced with a single char
-spaceless words model
-very effective methods for white-space preserving
-quotes modeling ('="' and '">' replaced with a single char)
2. History
XWRT 3.2 (25.10.2007)
-FastPAQ8 replaced with lpaq6 (compression level 10-14)
XWRT 3.1 (05.06.2007)
-improved support for XML files encoded in UTF-8
-dictionary is compressed using front compression
-added little-endian/big-endian Unicode (UCS-2) support
-non-textual files are compressed/stored without using a filter
-***-bit compiler support
XML-WRT 3.0 (14.09.2006)
-internal PPMVC and FastPAQ8 compression
XML-WRT 2.0 (14.06.2006)
-internal zlib and LZMA compression
-input XML file is split into containers depend on start-tags and end-tags and content under the same tag is sent to the same container
-container for dates in format 1***0-02-31 and 01-MAR-1920
-container for times in format 11:30pm
-container for numbers from 1900 to 2155 (years)
-container for pages in format "x-y", where y-x<256, eg. "120-148", "1480-1600"
-container for numbers in format "x-y", eg. "1234-0", "87-623"
-container for two digits after period, eg. "102.00", "12.01"
-container for numbers from 0.0 to 24.9 (one digit after period), eg. "12.0", "9.9"
-urls (statring from "http:"), e-mails (x@y.z), "ü" added to dynamic dictionary
XML-WRT 1.0 (27.03.2006)
-first public release
3. Usage
Usage: XWRT.exe [options] [file2] [file3] ...
where is a XML file or a XWRT compressed file (it's auto-detected)
you can also use wildcards (e.g., "*.xml")
GENERAL OPTIONS (which also set default additional options):
-i = Delete input files
-l0 = no compression (memory usage up to 16 MB)
-l1 = zlib fast (memory usage 16+1 MB)
-l2 = zlib normal (default, memory usage 16+1 MB)
-l3 = zlib best (memory usage 16+1 MB)
-l4 = LZMA dict size *** KB (memory usage 16+9 MB for compression and 16+3 MB for decompression)
-l5 = LZMA dict size 1 MB (memory usage 16+18 MB for compression and 16+3 MB for decompression)
-l6 = LZMA dict size 8 MB (memory usage 16+84 MB for compression and 16+10 MB for decompression)
-l7 = PPMVC model size 16 MB (memory usage 16+20 MB)
-l8 = PPMVC model size 32 MB (memory usage 16+36 MB)
-l9 = PPMVC model size *** MB (memory usage 16+70 MB)
-l10 = lpaq6 model size 120 MB (memory usage 16+104 MB)
-l11 = lpaq6 model size 214 MB (memory usage 16+1*** MB)
-l12 = lpaq6 model size 406 MB (memory usage 16+390 MB)
-l13 = lpaq6 model size 790 MB (memory usage 16+774 MB)
-l14 = lpaq6 model size 1560 MB (memory usage 16+1542 MB)
-o = Force overwrite of output files
ADDITIONAL OPTIONS:
-bX = Set maximum buffer size while creating dynamic dictionary to X MB
-c = Turn off containers (without number and word containers)
+d = Turn on usage of the static dictionary (requires wrt-eng.dic,
which is available at http://www.ii.uni.wroc.pl/~inikep/research)
-eX = Set maximum dictionary size to X words
-fX = Set minimal word frequency to X
-mX = Set maximum memory buffer size to X MB (default=8)
-n = Turn off number containers
-pX = Preprocess only (file_size/X) bytes in a first pass
-s = Turn off spaces modeling option
-t = Turn off "try shorter word" option
-w = Turn off word containers
4. Licence
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation at
http://www.gnu.org/licenses/gpl.txt or (at your option) any later version.
This program is distributed without any warranty.
近期下载者:
相关文件:
收藏者: