| 1 |
Catalan |
| 2 |
|
| 3 |
apertium-cat |
| 4 |
=============================================================================== |
| 5 |
|
| 6 |
This is an Apertium monolingual language package for Catalan. What |
| 7 |
you can use this language package for: |
| 8 |
|
| 9 |
* Morphological analysis of Catalan |
| 10 |
* Morphological generation of Catalan |
| 11 |
* Part-of-speech tagging of Catalan |
| 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 |
* vislcg3 (>= 0.9.9.10297) |
| 21 |
|
| 22 |
If this does not make any sense, we recommend you look at: www.apertium.org |
| 23 |
|
| 24 |
Compiling |
| 25 |
=============================================================================== |
| 26 |
|
| 27 |
Given the requirements being installed, you should be able to just run: |
| 28 |
|
| 29 |
$ ./configure |
| 30 |
$ make |
| 31 |
|
| 32 |
You can use ./autogen.sh instead of ./configure if you're compiling |
| 33 |
from SVN. |
| 34 |
|
| 35 |
If you're doing development, you don't have to install the data, you |
| 36 |
can use it directly from this directory. |
| 37 |
|
| 38 |
If you are installing this language package as a prerequisite for an |
| 39 |
Apertium translation pair, then do (typically as root / with sudo): |
| 40 |
|
| 41 |
# make install |
| 42 |
|
| 43 |
You can give a --prefix to ./configure to install as a non-root user, |
| 44 |
but make sure to use the same prefix when installing the translation |
| 45 |
pair and any other language packages. |
| 46 |
|
| 47 |
Testing |
| 48 |
=============================================================================== |
| 49 |
|
| 50 |
If you are in the source directory after running make, the following |
| 51 |
commands should work: |
| 52 |
|
| 53 |
$ echo "TODO: test sentence" | apertium -d . cat-morph |
| 54 |
TODO: test analysis result |
| 55 |
|
| 56 |
$ echo "TODO: test sentence" | apertium -d . cat-tagger |
| 57 |
TODO: test tagger result |
| 58 |
|
| 59 |
Files and data |
| 60 |
=============================================================================== |
| 61 |
|
| 62 |
* apertium-cat.cat.dix - Monolingual dictionary |
| 63 |
* cat.prob - Tagger model |
| 64 |
* apertium-cat.cat.rlx - Constraint Grammar disambiguation rules |
| 65 |
* apertium-cat.post-cat.dix - Post-generator |
| 66 |
* modes.xml - Translation modes |
| 67 |
|
| 68 |
For more information |
| 69 |
=============================================================================== |
| 70 |
|
| 71 |
* http://wiki.apertium.org/wiki/Installation |
| 72 |
* http://wiki.apertium.org/wiki/apertium-cat |
| 73 |
* http://wiki.apertium.org/wiki/Using_an_lttoolbox_dictionary |
| 74 |
|
| 75 |
Help and support |
| 76 |
=============================================================================== |
| 77 |
|
| 78 |
If you need help using this language pair or data, you can contact: |
| 79 |
|
| 80 |
* Mailing list: [email protected] |
| 81 |
* IRC: #apertium on irc.freenode.net |
| 82 |
|
| 83 |
See also the file AUTHORS included in this distribution. |
| 84 |
|