Debian Codegraph @

README

raw
1 Portuguese and Catalan
2
3 apertium-por-cat
4 ===============================================================================
5
6 This is an Apertium language pair for translating between Portuguese and
7 Catalan. Currently supported is translation from Catalan to three Portuguese
8 variants:
9
10 * European Portuguese following the Acordo Ortográfico de 1990
11 * European Portuguese previous to the Acordo Ortográfico de 1990
12 * Brazilian Portuguese following the Acordo Ortográfico de 1990
13
14 You can use this language package for:
15
16 * Translating between Portuguese and Catalan
17 * Morphological analysis of Portuguese and Catalan
18 * Part-of-speech tagging of Portuguese and Catalan
19
20 For information on the latter two points, see subheading "For more
21 information" below
22
23 Requirements
24 ===============================================================================
25
26 You will need the following software installed:
27
28 * lttoolbox (>= 3.3.0)
29 * apertium (>= 3.3.0)
30 * vislcg3 (>= 0.9.9.10297)
31 * apertium-por
32 * apertium-cat
33
34 If this does not make any sense, we recommend you look at: apertium.org
35
36 Compiling
37 ===============================================================================
38
39 Given the requirements being installed, you should be able to just run:
40
41 $ ./configure
42 $ make
43 # make install
44
45 You can use ./autogen.sh instead of ./configure you're compiling from
46 SVN. If you installed any prerequisite language packages using a --prefix
47 to ./configure, make sure to give the same --prefix to ./configure here.
48
49 Testing
50 ===============================================================================
51
52 If you are in the source directory after running make, the following
53 commands should work:
54
55 $ echo "Apertium é uma plataforma de tradução automática livre e aberta" | apertium -d . por-cat
56 Apertium és una plataforma de traducció automàtica lliure i oberta
57
58 $ echo "Els tresors arquitectònics" | apertium -d . cat-por
59 Os tesouros arquitetónicos
60
61 $ echo "Els tresors arquitectònics" | apertium -d . cat-por_PTpre1990
62 Os tesouros arquitectónicos
63
64 $ echo "Els tresors arquitectònics" | apertium -d . cat-por_BR
65 Os tesouros arquitetônicos
66
67 After installing somewhere in $PATH, you should be able to do e.g.
68
69 $ echo "Apertium é uma plataforma de tradução automática livre e aberta" | apertium por-cat
70 Apertium és una plataforma de traducció automàtica lliure i oberta
71
72 Files and data
73 ===============================================================================
74
75 * apertium-por-cat.por-cat.dix - Bilingual dictionary
76 * apertium-por-cat.por-cat.t1x - Transfer rules for translating into Catalan
77 * apertium-por-cat.cat-por.t1x - Transfer rules for translating into Portuguese
78 * apertium-por-cat.por-cat.metalrx - Lexical selection rules for translating into Catalan
79 * apertium-por-cat.cat-por.metalrx - Lexical selection rules for translating into Portuguese
80 * modes.xml - Translation modes
81
82 For more information
83 ===============================================================================
84
85 * https://wiki.apertium.org/wiki/Installation
86 * https://wiki.apertium.org/wiki/apertium-por-cat
87 * https://wiki.apertium.org/wiki/Using_an_lttoolbox_dictionary
88
89 Help and support
90 ===============================================================================
91
92 If you need help using this language pair or data, you can contact:
93
94 * Mailing list: [email protected]
95 * IRC: #apertium on irc.oftc.net
96
97 See also the file AUTHORS included in this distribution.