| 1 |
Spanish and Catalan |
| 2 |
|
| 3 |
apertium-spa-cat |
| 4 |
=============================================================================== |
| 5 |
|
| 6 |
This is an Apertium language pair for translating between Spanish and |
| 7 |
Catalan. Currently supported is translation from both Catalan and Valencian variants |
| 8 |
to Spanish. What you can use this language package for: |
| 9 |
|
| 10 |
For information on the latter two points, see subheading "For more |
| 11 |
information" below |
| 12 |
|
| 13 |
Requirements |
| 14 |
=============================================================================== |
| 15 |
|
| 16 |
You will need the following software installed: |
| 17 |
|
| 18 |
* lttoolbox (>= 3.3.0) |
| 19 |
* apertium (>= 3.3.0) |
| 20 |
* apertium-spa |
| 21 |
* apertium-cat |
| 22 |
|
| 23 |
If this does not make any sense, we recommend you look at: www.apertium.org |
| 24 |
|
| 25 |
**************Spanish--Catalan with economy vocabulary********************** |
| 26 |
|
| 27 |
To compile using the economy vocabulary (entries with "eco" tag in the dictionaries), type: |
| 28 |
cp Makefile.am.eco Makefile.am |
| 29 |
./autogen.sh |
| 30 |
make |
| 31 |
sudo make install |
| 32 |
|
| 33 |
You can use ./autogen.sh instead of ./configure you're compiling from |
| 34 |
SVN. If you installed any prerequisite language packages using a --prefix |
| 35 |
to ./configure, make sure to give the same --prefix to ./configure here. |
| 36 |
|
| 37 |
If you had the standard linguistic data already installed, or if some error occurs in compilation, you should type: |
| 38 |
|
| 39 |
cp Makefile.am.eco Makefile.am |
| 40 |
sudo make distclean |
| 41 |
./autogen.sh |
| 42 |
make |
| 43 |
sudo make install |
| 44 |
|
| 45 |
After compiling, to use Apertium with the economy vocabulary, use the same commands presented above (apertium es-ca ; apertium ca-es) |
| 46 |
|
| 47 |
|
| 48 |
**************TAGGER ***************************** |
| 49 |
|
| 50 |
To use this language-pair package with apertium YOU DO NOT NEED TO |
| 51 |
RETRAIN THE TAGGER. Probabilities and auxiliary data are provided for |
| 52 |
both the cat-spa and the spa-cat translation directions which should be |
| 53 |
acceptable for most applications, and should work even if you change |
| 54 |
the dictionaries in a reasonably way. |
| 55 |
|
| 56 |
If for some reason you need to retrain the tagger (for example, you |
| 57 |
have made really extensive changes to the dictionaries such as |
| 58 |
creating new lexical categories), please see the documentation |
| 59 |
on our Wiki: |
| 60 |
|
| 61 |
http://wiki.apertium.org/wiki/Tagger_training |
| 62 |
|
| 63 |
=================================================================== |
| 64 |
|
| 65 |
More information about this module, and others can be found on |
| 66 |
the Apertium: Wiki, http://wiki.apertium.org |
| 67 |
|
| 68 |
|