|
Program trised version 0.1.3
Program trised version 0.1.3
Dmitry V. Khmelev
Initial revision 2003-03-29; Last revision 2003-06-04
1 Download
2 File readme
3 Usage and options summary
4 Project revision history
5 License
1 Download
Sources: src/trised-0.1.3.tgz [49 Kb ]
Win9x-EXE (minGW cross-compiled): mingw/trised.zip [442 Kb ]
2 File readme
trised --- TRansformation Invertable Stream EDitor
SUPPORTED ENVIRONMENTS
http://www.gnu.org GNU/Linux
http://www.mingw.org MinGW --- Minimalist GNU For Windows
COMPILATION
Enter make (or gmake) in the directory where sources reside
BRIEF INSTRUCTION
This program allows to do transformations somewhat similar to the ones
which Unix command 'tr' does, but it can undo this
transformation. There are several uses for this program:
(1) trised can be used in conjunction with xcitata program
(D. Khmelev, Text Analysis and Conversion Utilities
http://www.math.toronto.edu/dkhmelev/PROGS/tacu/) in order to analize
cross-citations modulo some transformation of the texts.
(2) it can be used as a special tool for preprocessing of the text
for improving further compression.
License conditions are described in file LICENSE.txt
3 Usage and options summary
user@computer$ ./trised -e --help
Usage:
trised -e -b <backupfile> [options] [in [out]]
-e -h in English (don't forget to add -h or -H switch!)
-v print version information
-p --pipe pipe mode (applies to DOS/Win environment only)
-q --quiet no diagnostics displayed
If input/output files are not specified, the standard input/output is used.
-b <backupfile> Save backup information to file <backupfile>
-u Undo transformation. -b <backupfile> has to be specified.
--char-subs=S/R Replace character 'S' with character 'R'
--char-eol-space Replace EOL character '\n' with space ' '
--squash=S Squash consequitive repeated occurencies of 'S' to a single
--space-squash Squash consequitive repeated occurencies of spaces ' '
--tr=SRCH/RPLC/SKIP Replace SRCH with RPLC, ignoring SKIP
--tr=SRCH/R/ Replace SRCH with R a single character R
--tr=SRCH/R//c Complement search set SRCH
--tr=\L/\l//a Substitute Latin alphabet instead of \L(upcase), \l(lowcase)
--tr=\C/\c//a Substitute Cyrillic alphabet instead of \C, \c
--pattern-subs=PTRN/R Replace string PTRN with character R
--cyclic-pattern-subs=PTRN1/PTRN2/.../PTRNN/R Replace PTRN1 by character R,
switch to PTRN2 and replace it by R, etc PTRNN->PTRN1 etc
--program-output-encoding=a Output messages encoding --- a(cp866) can be wkim
--backup-level=N Backup level 0(nothing)..2(control info)..5(all)
4 Project revision history
Files of the project were modified on the following dates:
2003-03-29
2003-03-30
2003-03-31
2003-04-03
2003-04-05
2003-04-09
2003-05-18
2003-06-04
5 License
trised
Available at http://www.math.toronto.edu/dkhmelev/PROGS/tacu/
Author:
Dmitry V. Khmelev
dkhmelev((at))math.toronto.edu
[change ((at)) to @ in order to get proper address - antispam]
University of Toronto,
Department of Mathematics,
100 St George Street,
M5S 3G3 ON,
Canada
LICENSING TERMS
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version. You should obtain GNU GPL with
file COPYING in this distribution.
Scientific results produced using the software provided shall
acknowledge the use of trised. The proper reference is:
D. Khmelev, Text Analysis and Conversion Utilities
http://www.math.toronto.edu/dkhmelev/PROGS/tacu/
Moreover shall the author of trised be informed about the publication.
By using trised you agree to the licensing terms.
NO WARRANTY
BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
PARTIES PROVIDE THE PROGRAM ÄS IS" WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF
THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO
LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY
OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED
OF THE POSSIBILITY OF SUCH DAMAGES.
1 Download
2 File readme
3 Usage and options summary
4 Project revision history
5 License
|