Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

daedalus/ctw

Repository files navigation

CTW (Context Tree Weighting) version 0.1
----------------------------------------

This archive contains the source code of CTW version 0.1. 
Please check our website for more information and updates:
    http://www.ele.tue.nl/ctw 

On this website you can find a manual, an overview of the algorithm,
results on the Calgary corpus and Canterbury corpus, and much more.



Usage: ctw e/d [-options] <input_filename> [<output_filename>]
Where e = encode and d = decode
For encoding, the default output_filename is input_filename.ctw, and for
decoding, the default output_filename is input_filename.d (without .ctw).
Available options:
 -dX : Set maximum tree depth to X
 -tX : Set maximum number of tries in tree array
 -nX : Set maximun number of nodes (size of the tree array)
       values can be specified using 'M' for millions of nodes and 'K' for
       thousands of nodes (eg. -n4M means 4194304 nodes)
       Tree array requires 8*X bytes of memory
 -fX : Set maximum file buffer size; values can be specified using
       'M' for megabytes and 'K' for kilobytes
 -bX : Set maximum value of log beta
 -s  : Disable strict tree pruning (enabled by default)
 -r  : Enable weighting at root nodes (disabled by default)
 -k  : Use Krichevski-Trofimov estimator instead of Zero-Redundancy estimator
 -y  : Force overwriting of existing files
 -lX : Enables logging to file X



Intellectual Property Rights
----------------------------

Please take note of the following intellectual property rights:
The Context Tree Weighting (CTW) algorithm is protected by patents,
assigned to / owned by Koninklijke KPN NV: EP0913035B1, EP0855803,
US6150966, US5986591, US5864308.

All information on the site is made available for Research &
Development purposes only.

For commercial utilization of the CTW algorithm, KPN NV is willing
to grant licenses on reasonable terms and conditions.

For more information, please contact:

KPN NV
Intellectual Property Department
P.O. Box 95321
2509 CH The Hague
The Netherlands
+ 31 70 4460904



Disclaimer
----------
THIS SOFTWARE, IS PROVIDED "AS IS". IN NO EVENT SHALL ANY OF THE
PARTIES INVOLVED BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.