Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ppmd(1) [debian man page]

ppmd(1) 							       utils								   ppmd(1)

NAME
ppmd - file-to-file compressor SYNTAX
ppmd [e|d] [switches] filename...|wildcard... DESCRIPTION
It is written for embedding in user programs mainly and it is not intended for immediate use. I was interested in speed and performance improvements of abstract PPM model [1-6] only, without tuning it to particular data types, therefore compressor works good enough for texts, but it is not so good for nonhomogeneous files (executables) and for noisy analog data (sounds, pictures etc.). Program is very mem- ory consuming, you can choose balance between execution speed and memory economy, on one hand, and compression performance, on another hand, with the help of model order selection option (-o). OPTIONS
-d Delete file[s] after processing, default: disabled. -s Silent mode. -fName Set output file name to Name. -mN Use N MB memory - [1,256], default: 10. The PPMII algorithm might need a lot of memory, especially when used on large files and/or used with large model order. If ppmd needs more memory than you give it, the compression will be worse. The exact effect is depen- dent on the -r option. -oN Set model order to N - [2,16], default: 4. Bigger model orders almost surely results in better compression and surely more memory and CPU usage. -r{0,1,2} Methods of restoration of model correctness at memory insufficiency: '-r0 - restart model from scratch'. This method is not optimal for any type of data sources, but it works fast and efficient in average, so it is the recommended method (default). '-r1 - cut off model'. This method is optimal for quasistationary sources when the period of stationarity is much larger than period between cutoffs. As a rule, it gives better results, but it is slower than other methods and it is unstable against fragmen- tation of memory heap at high model orders and low memory. '-r2 - freeze model'. This method is optimal for stationary sources (show me such source when You will find it ;-)). It is fast and efficient for such sources. EXAMPLES
To run this program the standard way type: ppmd e /tmp/myfile Alternatively you can run it as: ppmd -e -o 16 /tmp/myfile AUTHORS
PPMd was written by Dmitry Shkarin <dmitry.shkarin@mtu-net.ru> and Dmitry Subbotin. SEE ALSO
gzip(1), bzip2(1), lzma(1). 10.1 2011-07-25 ppmd(1)

Check Out this Related Man Page

Ace::Model(3pm) 					User Contributed Perl Documentation					   Ace::Model(3pm)

NAME
Ace::Model - Get information about AceDB models SYNOPSIS
use Ace; my $db = Ace->connect(-path=>'/usr/local/acedb/elegans'); my $model = $db->model('Author'); print $model; $name = $model->name; @tags = $model->tags; print "Paper is a valid tag" if $model->valid_tag('Paper'); DESCRIPTION
This class is provided for access to AceDB class models. It provides the model in human-readable form, and does some limited but useful parsing on your behalf. Ace::Model objects are obtained either by calling an Ace database handle's model() method to retrieve the model of a named class, or by calling an Ace::Object's model() method to retrieve the object's particular model. METHODS
new() $model = Ace::Model->new($model_data); This is a constructor intended only for use by Ace and Ace::Object classes. It constructs a new Ace::Model object from the raw string data in models.wrm. name() $name = $model->name; This returns the class name for the model. tags() @tags = $model->tags; This returns a list of all the valid tags in the model. valid_tag() $boolean = $model->valid_tag($tag); This returns true if the given tag is part of the model. path() @path = $model->path($tag) Returns the path to the indicated tag, returning a list of intermediate tags. For example, in the C elegans ?Locus model, the path for 'Compelementation_data" will return the list ('Type','Gene'). asString() print $model->asString; asString() returns the human-readable representation of the model with comments stripped out. Internally this method is called to automatically convert the model into a string when appropriate. You need only to start performing string operations on the model object in order to convert it into a string automatically: print "Paper is unique" if $model=~/Paper ?Paper UNIQUE/; SEE ALSO
Ace AUTHOR
Lincoln Stein <lstein@w3.org> with extensive help from Jean Thierry-Mieg <mieg@kaa.crbm.cnrs-mop.fr> Copyright (c) 1997-1998, Lincoln D. Stein This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2003-06-01 Ace::Model(3pm)
Man Page