/usr/share/doc/apertium/README is in apertium 3.1.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | REQUIREMENTS
* This package needs lttoolbox-3.1 package installed in the
system.
DESCRIPTION
When building, this package generates the following modules:
* apertium-deshtml, apertium-desrtf, apertium-destxt
Deformatters for html, rtf and txt document formats.
* apertium-rehtml, apertium-rertf, apertium-retxt
Reformatters for html, rtf and txt document formats.
* apertium-gen-tagger
Tagger modules generator.
* apertium-gen-transfer
Transfer modules generator.
* apertium
Translator program. Execute without parameters to see the usage.
QUICK START
1) Download the packages for lttoolbox-VERSION.tar.gz and
apertium-VERSION.tar.gz and linguistic data
2) Unpack lttoolbox and do ('#' means 'do that with root privileges'):
$ cd lttoolbox-VERSION
$ ./configure
$ make
# make install
3) Unpack apertium and do:
$ cd apertium-VERSION
$ ./configure
$ make
# make install
4) Unpack linguistic data (LING_DATA_DIR) and do:
$ cd LING_DATA_DIR
$ make
and wait for a while (minutes).
5) Use the translator
USAGE: apertium [-d datadir] [-f format] [-u] <translation> [in [out]]
-d datadir directory of linguistic data
-f format one of: txt (default), html, rtf
-u don't display marks '*' for unknown words
translation typically, LANG1-LANG2, but see modes.xml in language data
in input file (stdin by default)
out output file (stdout by default)
Sample:
$ apertium es-ca txt <input >output
|