apertium-desrtf
—
Rich Text Format processor for Apertium
apertium-desrtf |
[-hin ] [input_file
[output_file]] |
apertium-desrtf
is an RTF format processor. Data should
be passed through this processor before being piped to
lt-proc(1).
The program takes input in the form of an RTF document and produces output
suitable for processing with
lt-proc(1).
RTF commands and other format information are enclosed in brackets so that
lt-proc(1)
treats them as whitespace between words.
-h
,
-
-help
- Display this help.
-i
- Makes the addition of trailing sentence terminator
(‘
.
’) unconditional, often leading
to duplicates.
-n
- Suppresses the addition of a trailing sentence terminator.
You could write the following to show how the input document is analysed:
cat input.rtf | apertium-desrtf |
lt-proc ca-es.automorf.bin
Copyright © 2005, 2006 Universitat d'Alacant / Universidad de Alicante.
This is free software. You may redistribute copies of it under the terms of
the GNU General
Public License.
Many... lurking in the dark and waiting for you!