de-francophones commited on
Commit
88918fa
·
verified ·
1 Parent(s): 3d4f64d

Upload 8 files

Browse files
.gitattributes CHANGED
@@ -56,3 +56,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
56
  # Video files - compressed
57
  *.mp4 filter=lfs diff=lfs merge=lfs -text
58
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
56
  # Video files - compressed
57
  *.mp4 filter=lfs diff=lfs merge=lfs -text
58
  *.webm filter=lfs diff=lfs merge=lfs -text
59
+ data/ECDC.tmx filter=lfs diff=lfs merge=lfs -text
data/2012_10_ECDC-TM-Statistics.pdf ADDED
Binary file (87.7 kB). View file
 
data/2012_10_Terms-of-Use_ECDC-TM.pdf ADDED
Binary file (92.2 kB). View file
 
data/CreateLanguagePair.jar ADDED
Binary file (365 kB). View file
 
data/ECDC-domains.xlsx ADDED
Binary file (33.1 kB). View file
 
data/ECDC.tmx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8683ae83245e5b96c708a46129b671ec038ef99e32c4f45b1c5cee2b7e6d8e50
3
+ size 12722055
data/Readme_CreateLanguagePair.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Author: Mohamed Ebrahim
2
+ Date: 19 October 2012
3
+
4
+ CreateLanguaePair is a command-line tool that allows users to extract - out of the large multilingual ECDC Translation-Memory file - a translation memory file containing only one language pair of your choice.
5
+
6
+ In order to use this tool you need to install java version 6 or higher.
7
+
8
+
9
+ Usage:
10
+
11
+ Java -jar CreateLanguagePair.jar -fl First_Language -i Input_File -o Output_File -sl Second_Language
12
+
13
+ First_Language: is the first language you want to have in the language pair.
14
+ Second_language: is the second language you want to have in the language pair.
15
+ Input_File: is the main translation memory you want to extract the language pair from, i.e. ECDC.tmx.
16
+ Output_File: is the name of the file with the results of the extraction, e.g. en-de.tmx.
17
+
18
+ When selecting the languages, you need to use the two-letter ISO codes, e.g. en for English, de for German, el for Greek, etc.
19
+
20
+ Have Fun!
data/Readme_ECDC-TM.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ European Commission - Joint Research Centre (JRC)
2
+ Ralf Steinberger
3
+ 19.10.2012
4
+
5
+ This zip file contains the ECDC Translation Memory ECDC-TM.
6
+ ECDC-TM consists of translation units in 25 languages.
7
+ For details, go to http://langtech.jrc.ec.europa.eu/ECDC-TM.html .
8
+
data/tmx14.dtd ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- TMX (Translation Memory eXchange)
2
+
3
+ Known as "-//LISA OSCAR:1998//DTD for Translation Memory eXchange//EN"
4
+ Use in TMX: <!DOCTYPE tmx SYSTEM "tmx14.dtd">
5
+
6
+ An SGML application conforming to:
7
+ - International Standard ISO 8879 Standard Generalized Markup Language,
8
+ - XML (Extensible Markup Language), W3C Recommendation
9
+
10
+ All TMX element and attribute names must be in lowercase.
11
+
12
+ -->
13
+
14
+ <!-- version 1.4 ==========================================================
15
+
16
+ modifications Jul-10-2002 by YS (from conference call motion)
17
+ - reverse x to optional (version 1.4a)
18
+
19
+ modifications Jun-05-2002 by YS (from Washington meeting follow-up)
20
+ - deprecated the <ut> element
21
+ - made x required
22
+ - Becomes TMX version 1.4
23
+
24
+ ======================================================================= -->
25
+
26
+ <!-- version 1.3 ==========================================================
27
+
28
+ modifications Nov-08-2001 by YS (corrections)
29
+ - added fixed value for version value of <tmx> element
30
+
31
+ modifications Sep-05-2001 by YS (corrections)
32
+ - put back lang in the DTD for backward compatibility
33
+
34
+ modifications Aug-29-2001 by YS (corrections)
35
+ - lang is deprecated and replaced by xml:lang
36
+ - Becomes TMX version 1.3
37
+
38
+ ======================================================================= -->
39
+
40
+ <!-- version 1.2 ==========================================================
41
+
42
+ modifications Jun-26-2001 by YS (corrections)
43
+ - removed extra comma after #IMPLIED for datatype for <sub>
44
+ - added missing * for <hi>
45
+
46
+ modifications May-11-2000 by YS (corrections)
47
+ - type added to <sub>
48
+
49
+ modifications May-10-2000 by YS (from Shigemichi corrections)
50
+ - <sub> cannot be in <seg> and <hi>
51
+ - datatype added to <sub>
52
+
53
+ modifications May-05-2000 by YS (from Washington meeting action items)
54
+ - Added the optional <hi> element in <seg>, to allow user-defined markers.
55
+ - TMX readers should now support UTF-8
56
+ - Becomes TMX version 1.2
57
+
58
+ ======================================================================= -->
59
+
60
+ <!-- version 1.1 ==========================================================
61
+
62
+ modifications Apr-23-1999 by YS (from Boston meeting action items)
63
+ - Added "block" to the list of segtypes allowed
64
+
65
+ modifications Aug-12-1998 by JH
66
+ - Update to Final TMX 1.1 version
67
+
68
+ modifications Jun-12-1998 by JH
69
+ - added entities amp, gt, lt, quot and apos for backwards compatibility
70
+ with SGML tools.
71
+
72
+ modifications Jun-11-1998 by YS (from Granada meeting action items)
73
+ - srclang is now mandatory in <header>
74
+ - added creationtoolversion attribute
75
+ - replaced <bm>/<em>/<ph>/<be>/<ee> by <bsf>/<esf>/<it>/<bpt>/<ept>
76
+ - added pos and assoc attributes to <it>
77
+
78
+ modifications Apr-10-1998 by YS
79
+ - changed n attribute in <be>, <ee>, <bm>, <em> and <ph> to i and x
80
+ - removed the match attribute from <tu>
81
+ - made various sgml syntax corrections
82
+
83
+ modifications Apr-07-1998 by JH
84
+ - changed the attribute for <tu> from id to tuid
85
+
86
+ modifications Mar-31-1998 by JH changed:
87
+ - changed match attribute to NUMBER
88
+ - note: we still get a warning from nsgmls: NUMBER or NUMBERS declared value
89
+
90
+ modifications Mar-25-1998 by YS (from Salt-Lake City meeting action items)
91
+ - added the "-//" for non-registered DTD name
92
+ - added note about lowercase requirement
93
+ - added base attribute to <ude>
94
+ - removed the <meta> element
95
+ - renamed name attribute of <prop> by type
96
+ - added <be>, <ee>, <bm>, <em> and <ph> elements (Content)
97
+ - add the match attribute to <tu>
98
+
99
+ modifications Nov-25-1997 by YS
100
+ - synchronized <TU> and <TUV> for CREATIONTOOL and DATATYPE
101
+
102
+ modifications Nov-24-1997 by YS
103
+ - corrected CODESET into O-ENCODING for the <NOTE> element
104
+
105
+ modifications Nov-22-1997 by YS (from San-Diego meeting action items)
106
+ - added <BODY>, <UDE> and <MAP/> element
107
+ - replaced NMTOKEN by CDATA for all NAME attributes
108
+ - renamed xxxUSER attributes into xxxID
109
+ - removed DIRECTIONS attribute
110
+ - renamed ORIGINAL into SRCLANG
111
+ - renamed CODESET into O-ENCODING
112
+ - added O-TMF attribute for <HEADER>
113
+ - added SEGTYPE attribute for <HEADER> and <TU>
114
+ - added ADMINLANG attribute in <HEADER>
115
+
116
+ modifications Sep-16-1997 by YS
117
+ - replaced "" by #implied for user-type and id attributes
118
+
119
+ modifications Sep-12-1997 by AKM
120
+ - added delimiters between content constituents of tu and tuv
121
+ - removed parens around "EMPTY" in definition of meta
122
+
123
+ ======================================================================= -->
124
+
125
+ <!ENTITY lt "&#38;#60;" >
126
+ <!ENTITY amp "&#38;#38;" >
127
+ <!ENTITY gt "&#62;" >
128
+ <!ENTITY apos "&#39;" >
129
+ <!ENTITY quot "&#34;" >
130
+
131
+ <!ENTITY % segtypes "block|paragraph|sentence|phrase" >
132
+
133
+
134
+ <!-- ELEM CONTENT -->
135
+ <!-- ATTR
136
+ NAME TYPE DEFAULT -->
137
+
138
+
139
+ <!-- Base Document Element -->
140
+ <!ELEMENT tmx (header, body) >
141
+ <!ATTLIST tmx
142
+ version CDATA #FIXED "1.4" >
143
+
144
+ <!-- Header -->
145
+ <!ELEMENT header (note|prop|ude)* >
146
+ <!ATTLIST header
147
+ creationtool CDATA #REQUIRED
148
+ creationtoolversion CDATA #REQUIRED
149
+ segtype (%segtypes;) #REQUIRED
150
+ o-tmf CDATA #REQUIRED
151
+ adminlang CDATA #REQUIRED
152
+ srclang CDATA #REQUIRED
153
+ datatype CDATA #REQUIRED
154
+ o-encoding CDATA #IMPLIED
155
+ creationdate CDATA #IMPLIED
156
+ creationid CDATA #IMPLIED
157
+ changedate CDATA #IMPLIED
158
+ changeid CDATA #IMPLIED >
159
+
160
+ <!-- Body -->
161
+ <!ELEMENT body (tu*) >
162
+ <!-- No attributes -->
163
+
164
+ <!-- Note -->
165
+ <!ELEMENT note (#PCDATA) >
166
+ <!ATTLIST note
167
+ o-encoding CDATA #IMPLIED
168
+ xml:lang CDATA #IMPLIED
169
+ lang CDATA #IMPLIED >
170
+ <!-- lang is deprecated: use xml:lang -->
171
+
172
+ <!-- User-defined Encoding -->
173
+ <!ELEMENT ude (map+) >
174
+ <!ATTLIST ude
175
+ name CDATA #REQUIRED
176
+ base CDATA #IMPLIED >
177
+ <!-- Note: the base attribute is required if one or more <map>
178
+ elements in the <ude> contain a code attribute. -->
179
+
180
+ <!-- Character mapping -->
181
+ <!ELEMENT map EMPTY >
182
+ <!ATTLIST map
183
+ unicode CDATA #REQUIRED
184
+ code CDATA #IMPLIED
185
+ ent CDATA #IMPLIED
186
+ subst CDATA #IMPLIED >
187
+
188
+ <!-- Property -->
189
+ <!ELEMENT prop (#PCDATA) >
190
+ <!ATTLIST prop
191
+ type CDATA #REQUIRED
192
+ xml:lang CDATA #IMPLIED
193
+ o-encoding CDATA #IMPLIED
194
+ lang CDATA #IMPLIED >
195
+ <!-- lang is deprecated: use xml:lang -->
196
+
197
+
198
+ <!-- Translation Unit -->
199
+ <!ELEMENT tu ((note|prop)*, tuv+) >
200
+ <!ATTLIST tu
201
+ tuid CDATA #IMPLIED
202
+ o-encoding CDATA #IMPLIED
203
+ datatype CDATA #IMPLIED
204
+ usagecount CDATA #IMPLIED
205
+ lastusagedate CDATA #IMPLIED
206
+ creationtool CDATA #IMPLIED
207
+ creationtoolversion CDATA #IMPLIED
208
+ creationdate CDATA #IMPLIED
209
+ creationid CDATA #IMPLIED
210
+ changedate CDATA #IMPLIED
211
+ segtype (%segtypes;) #IMPLIED
212
+ changeid CDATA #IMPLIED
213
+ o-tmf CDATA #IMPLIED
214
+ srclang CDATA #IMPLIED >
215
+
216
+ <!-- Translation Unit Variant -->
217
+ <!ELEMENT tuv ((note|prop)*, seg) >
218
+ <!ATTLIST tuv
219
+ xml:lang CDATA #REQUIRED
220
+ o-encoding CDATA #IMPLIED
221
+ datatype CDATA #IMPLIED
222
+ usagecount CDATA #IMPLIED
223
+ lastusagedate CDATA #IMPLIED
224
+ creationtool CDATA #IMPLIED
225
+ creationtoolversion CDATA #IMPLIED
226
+ creationdate CDATA #IMPLIED
227
+ creationid CDATA #IMPLIED
228
+ changedate CDATA #IMPLIED
229
+ o-tmf CDATA #IMPLIED
230
+ changeid CDATA #IMPLIED
231
+ lang CDATA #IMPLIED >
232
+ <!-- lang is deprecated: use xml:lang -->
233
+
234
+ <!-- Text -->
235
+ <!ELEMENT seg (#PCDATA|bpt|ept|ph|it|hi|ut)* >
236
+
237
+
238
+ <!-- Content Markup ================================================== -->
239
+
240
+ <!ELEMENT bpt (#PCDATA|sub)* >
241
+ <!ATTLIST bpt
242
+ i CDATA #REQUIRED
243
+ x CDATA #IMPLIED
244
+ type CDATA #IMPLIED >
245
+
246
+ <!ELEMENT ept (#PCDATA|sub)* >
247
+ <!ATTLIST ept
248
+ i CDATA #REQUIRED >
249
+
250
+ <!ELEMENT sub (#PCDATA|bpt|ept|it|ph|hi|ut)* >
251
+ <!ATTLIST sub
252
+ datatype CDATA #IMPLIED
253
+ type CDATA #IMPLIED >
254
+
255
+ <!ELEMENT it (#PCDATA|sub)* >
256
+ <!ATTLIST it
257
+ pos (begin|end) #REQUIRED
258
+ x CDATA #IMPLIED
259
+ type CDATA #IMPLIED >
260
+
261
+ <!ELEMENT ph (#PCDATA|sub)* >
262
+ <!ATTLIST ph
263
+ x CDATA #IMPLIED
264
+ assoc CDATA #IMPLIED
265
+ type CDATA #IMPLIED >
266
+
267
+ <!ELEMENT hi (#PCDATA|bpt|ept|it|ph|hi|ut)* >
268
+ <!ATTLIST hi
269
+ x CDATA #IMPLIED
270
+ type CDATA #IMPLIED >
271
+
272
+
273
+ <!-- The <ut> element is deprecated -->
274
+
275
+ <!ELEMENT ut (#PCDATA|sub)* >
276
+ <!ATTLIST ut
277
+ x CDATA #IMPLIED >
278
+
279
+
280
+ <!-- End -->
281
+
282
+