README 2.29 KB
Newer Older
1
Spanish and Catalan
2

3 4
                            apertium-spa-cat
===============================================================================
5

6 7 8
This is an Apertium language pair for translating between Spanish and
Catalan. Currently supported is translation from both Catalan and Valencian variants
to Spanish. What you can use this language package for:
9

10 11
For information on the latter two points, see subheading "For more
information" below
12

13 14
Requirements
===============================================================================
15

16
You will need the following software installed:
17

18 19 20 21 22 23
* lttoolbox (>= 3.3.0)
* apertium (>= 3.3.0)
* apertium-spa
* apertium-cat

If this does not make any sense, we recommend you look at: www.apertium.org
24 25 26 27 28 29 30 31 32

**************Spanish--Catalan with economy vocabulary**********************

To compile using the economy vocabulary (entries with "eco" tag in the dictionaries), type:
cp Makefile.am.eco Makefile.am
./autogen.sh
make 
sudo make install

33 34 35 36
You can use ./autogen.sh instead of ./configure you're compiling from
SVN. If you installed any prerequisite language packages using a --prefix
to ./configure, make sure to give the same --prefix to ./configure here.

37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
If you had the standard linguistic data already installed, or if some error occurs in compilation, you should type:

cp Makefile.am.eco Makefile.am
sudo make distclean
./autogen.sh
make 
sudo make install

After compiling, to use Apertium with the economy vocabulary, use the same commands presented above (apertium es-ca ; apertium ca-es)


**************TAGGER *****************************

To use this language-pair package with apertium YOU DO NOT NEED TO
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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
acceptable for most applications, and should work even if you change
the dictionaries in a reasonably way.

If for some reason you need to retrain the tagger (for example, you
have made really extensive changes to the dictionaries such as
creating new lexical categories), please see the documentation
on our Wiki:
 
  http://wiki.apertium.org/wiki/Tagger_training

===================================================================

More information about this module, and others can be found on
the Apertium: Wiki, http://wiki.apertium.org