| 1 |
# English and Catalan: apertium-eng-cat |
| 2 |
|
| 3 |
This is an Apertium language pair for translating between English and |
| 4 |
Catalan. What you can use this language package for: |
| 5 |
|
| 6 |
* Translating between English and Catalan |
| 7 |
* Morphological analysis of English and Catalan |
| 8 |
* Part-of-speech tagging of English and Catalan |
| 9 |
|
| 10 |
For information on the latter two points, see subheading "For more |
| 11 |
information" below |
| 12 |
|
| 13 |
## Requirements |
| 14 |
|
| 15 |
You will need the following software installed: |
| 16 |
|
| 17 |
* lttoolbox (>= 3.3.0) |
| 18 |
* apertium (>= 3.3.0) |
| 19 |
* vislcg3 (>= 0.9.9.10297) |
| 20 |
* apertium-eng |
| 21 |
* apertium-cat |
| 22 |
|
| 23 |
If this does not make any sense, we recommend you look at: www.apertium.org |
| 24 |
|
| 25 |
## Compiling |
| 26 |
|
| 27 |
Given the requirements being installed, you should be able to just run: |
| 28 |
|
| 29 |
$ ./configure |
| 30 |
$ make |
| 31 |
# make install |
| 32 |
|
| 33 |
You can use `./autogen.sh` instead of `./configure` in case you're compiling from |
| 34 |
source. 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 |
## Testing |
| 38 |
|
| 39 |
If you are in the source directory after running make, the following |
| 40 |
commands should work: |
| 41 |
|
| 42 |
$ echo "TODO test sentence 1" | apertium -d . eng-cat |
| 43 |
TODO test translated sentence 1 |
| 44 |
|
| 45 |
$ echo "TODO test sentence 2" | apertium -d . cat-eng |
| 46 |
TODO test translated sentence 2 |
| 47 |
|
| 48 |
After installing somewhere in $PATH, you should be able to do e.g. |
| 49 |
|
| 50 |
$ echo "TODO test sentence 1" | apertium eng-cat |
| 51 |
TODO test translated sentence 1 |
| 52 |
|
| 53 |
## Files and data |
| 54 |
|
| 55 |
* apertium-eng-cat.eng-cat.dix - Bilingual dictionary |
| 56 |
* apertium-eng-cat.eng-cat.t1x - Chunking rules for translating into Catalan |
| 57 |
* apertium-eng-cat.cat-eng.t1x - Chunking rules for translating into English |
| 58 |
* apertium-eng-cat.eng-cat.t2x - Interchunk (stage 1) rules for translating into Catalan |
| 59 |
* apertium-eng-cat.cat-eng.t2x - Interchunk rules for translating into English |
| 60 |
* apertium-eng-cat.eng-cat.t3x - Interchunk (stage 2) rules for translating into Catalan |
| 61 |
* apertium-eng-cat.cat-eng.t3x - Postchunk rules for translating into English |
| 62 |
* apertium-eng-cat.eng-cat.t4x - Postchunk rules for translating into Catalan |
| 63 |
* apertium-eng-cat.eng-cat.lrx - Lexical selection rules for translating into Catalan |
| 64 |
* apertium-eng-cat.cat-eng.lrx - Lexical selection rules for translating into English |
| 65 |
* modes.xml - Translation modes |
| 66 |
|
| 67 |
## For more information |
| 68 |
|
| 69 |
* http://wiki.apertium.org/wiki/Installation |
| 70 |
* http://wiki.apertium.org/wiki/apertium-eng-cat |
| 71 |
* http://wiki.apertium.org/wiki/Using_an_lttoolbox_dictionary |
| 72 |
|
| 73 |
## Help and support |
| 74 |
|
| 75 |
If you need help using this language pair or data, you can contact: |
| 76 |
|
| 77 |
* Mailing list: [email protected] |
| 78 |
* IRC: #apertium on irc.freenode.net |
| 79 |
|
| 80 |
See also the file AUTHORS included in this distribution. |