Changes

Jump to navigation Jump to search
209 bytes added ,  09:24, 3 November 2014
no edit summary
Line 1: Line 1: −
The EU has a huge translation memory in 20+ languages, with legislative texts related to Food and Cosmetics. We aim to find relevant text and extract valuable translations and info from them.
+
bla
   −
* http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:L:2012:083:0001:0295:FR:PDF
+
{| class="mw-collapsible mw-collapsed" style="text-align:left;"<br>
 +
! '''Header'''<br>
 +
|-<br>
 +
|<br>
 +
<pre>iconv -f UTF-16 -t UTF-8 32012R0231.txt |  grep -3 "<seg>E "  | sed -n -re '/<tuv/ { N; s/<tuv lang\=\"(..)-..\">.*\n<seg>(.*)<\/seg>/\L\1\E => \2/p }' | sed -e 's/[,;.: ]$//g' | sed -n -re 's/^(.*)([EЕΕ])([ ]*)([0-9]+)([ ]*)([a-h])?([ ]+)([\(ivx\)]*)(.*)\r$/\1\2\4\6(\8, \9/p'  | sed -re 's/\(([\(\,])/\1/' | sed -re 's/en => (.*)$/\n\0/g'  | sed -re 's/  / /g'</pre>
 +
|}
 +
 
 +
bla
277

edits

Navigation menu