Debian Codegraph @

README

raw
1 Occitan and French (`apertium-oci-fra`)
2 ===============================================================================
3
4 This is an Apertium language pair for translating between (Languedocian and Gascon)
5 Occitan and French. What you can use this language package for:
6
7 * Translating between (Languedocian and Gascon) Occitan and French
8 * Morphological analysis of (Languedocian and Gascon) Occitan and French
9 * Part-of-speech tagging of (Languedocian and Gascon) Occitan and French
10
11 For information on the latter two points, see subheading "For more
12 information" below
13
14 Requirements
15 ===============================================================================
16
17 You will need the following software installed:
18
19 * lttoolbox (>= 3.3.0)
20 * apertium (>= 3.3.0)
21 * vislcg3 (>= 0.9.9.10297)
22 * apertium-oci
23 * apertium-fra
24
25 If this does not make any sense, we recommend you look at: apertium.org
26
27 Compiling
28 ===============================================================================
29
30 Given the requirements being installed, you should be able to just run:
31
32 ```sh
33 $ ./configure --with-lang1=../apertium-oci --with-lang2=../apertium-fra
34 $ make
35 # make install
36 ```
37
38 You should change ../apertium-oci and ../apertium-fra to the paths
39 of the apertium-oci and apertium-fra repositories, respectively, if they
40 have different relative paths in your installation.
41
42 You can use ./autogen.sh instead of ./configure you're compiling from
43 SVN. If you installed any prerequisite language packages using a --prefix
44 to ./configure, make sure to give the same --prefix to ./configure here.
45
46 Testing
47 ===============================================================================
48
49 If you are in the source directory after running make, the following
50 commands should work:
51
52 Translation from French into Languedocian Occitan:
53
54 ```sh
55 $ echo "Apertium est un logiciel de traduction automatique" | apertium -d . fra-oci
56 Apertium es un logicial de traduccion automatica
57 ```
58
59 Translation from French into Gascon Occitan:
60
61 ```sh
62 $ echo "Apertium est un logiciel de traduction automatique" | apertium -d . fra-oci_gascon
63 Apertium qu'ei un logiciau de traduccion automatica
64 ```
65
66 Translation from Languedocian Occitan into French:
67
68 ```sh
69 $ echo "Apertium es un logicial de traduccion automatica" | apertium -d . oci-fra
70 Apertium est un logiciel de traduction automatique
71 ```
72
73 Translation from Gascon Occitan into French:
74
75 ```sh
76 $ echo "Apertium qu'ei un logiciau de traduccion automatica" | apertium -d . oci_gascon-fra
77 Apertium est un logiciel de traduction automatique
78 ```
79
80 After installing somewhere in $PATH, you should be able to do e.g.
81
82 ```sh
83 $ echo "Apertium est un logiciel de traduction automatique" | apertium fra-oci
84 Apertium es un logicial de traduccion automatica
85 ```
86
87 Files and data
88 ===============================================================================
89
90 * apertium-oci-fra.oci-fra.dix - Bilingual dictionary
91 * apertium-oci-fra.oci-fra.t1x - Chunking rules for translating into French
92 * apertium-oci-fra.fra-oci.t1x - Chunking rules for translating into Occitan
93 * apertium-oci-fra.oci-fra.t2x_temps - Interchunk rules for translating into Occitan dealing with changing verbal tenses (step 1)
94 * apertium-oci-fra.oci-fra.t2ax - Interchunk rules for translating into French (steps 2 and 3)
95 * apertium-oci-fra.oci-fra.t2bx - Interchunk rules for translating into French (step 4)
96 * apertium-oci-fra.oci-fra.t2cx - Interchunk rules for translating into French (step 5)
97 * apertium-oci-fra.oci-fra.t2dx - Interchunk rules for translating into French (step 6)
98 * apertium-oci-fra.oci-fra.t2ex - Interchunk rules for translating into French (step 7)
99 * apertium-oci-fra.fra-oci.t2x_ini - Interchunk rules for translating into Occitan dealing with subject-verb agreement (step 1)
100 * apertium-oci-fra.fra-oci.t2x - Interchunk rules for translating into Occitan (step 2)
101 * apertium-oci-fra.fra-oci.t2x_bis - Interchunk rules for translating into Occitan (step 3)
102 * apertium-oci-fra.fra-oci.t2x_pas - Interchunk rules for translating into Occitan dealing with verbal negative forms (step 4)
103 * apertium-oci-fra.fra-oci.t2x_pro - Interchunk rules for translating into Occitan dealing with the order of proclitic pronouns (step 5)
104 * apertium-oci-fra.fra-oci.t2x_supersn - Interchunk rules for translating into Occitan dealing with the grouping of noun phrases (step 6)
105 * apertium-oci-fra.fra-oci.t2x_enon - Interchunk rules for translating into Occitan dealing with Gascon enonciatives (step 7)
106 * apertium-oci-fra.oci-fra.t3x - Postchunk rules for translating into French
107 * apertium-oci-fra.fra-oci.t3x - Postchunk rules for translating into Occitan
108 * apertium-oci-fra.oci-fra.t4x - Final transfer rules for translating into French
109 * apertium-oci-fra.fra-oci.t4x - Final transfer rules for translating into Occitan
110 * apertium-oci-fra.oci-fra.lrx - Lexical selection rules for translating into French
111 * apertium-oci-fra.fra-oci.lrx - Lexical selection rules for translating into Occitan
112 * apertium-oci-fra.oci-fra.l1x - Rules for recognising expressions with discontiguous words for translating into French
113 * apertium-oci-fra.oci-fra.l2x - Rules for reordering words in discontiguous expressions for translating into French
114 * apertium-oci-fra.fra-oci.l1x - Rules for recognising expressions with discontiguous words for translating into Occitan
115 * apertium-oci-fra.fra-oci.l2x - Rules for reordering words in discontiguous expressions for translating into Occitan
116 * modes.xml - Translation modes
117
118 For more information
119 ===============================================================================
120
121 * https://wiki.apertium.org/wiki/Installation
122 * https://wiki.apertium.org/wiki/apertium-oci-fra
123 * https://wiki.apertium.org/wiki/Using_an_lttoolbox_dictionary
124 * https://wiki.apertium.org/wiki/Paire_Occitan-Fran%C3%A7ais - Overall presentation of the architecture (in French)
125
126 Help and support
127 ===============================================================================
128
129 If you need help using this language pair or data, you can contact:
130
131 * Mailing list: [email protected]
132 * IRC: #apertium on irc.oftc.net
133
134 See also the file AUTHORS included in this distribution.