Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7f398d43 authored by Benoît Sagot's avatar Benoît Sagot
Browse files

git-svn-id: https://scm.gforge.inria.fr/authscm/cfourrie/svn/lingwb/MElt/trunk@5697 dc05b511-7f1d-0410-9f1c-d6f32a2df9e4
parent 0527dd65
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,10 @@ if ($lang eq "zzz" || $no_post_process) {
# s/_ACC_O/\\{/g;
# s/_ACC_F/\\}/g;
} else {
while (s/{ *([^}]+?) *} *[^ ]+?(\/[^ \/]+(?:\/[0-9\.]+)?) +{} */$2 {$1} /g) {} # in non-normalising mode, situations with {} require ignoring original tokens and using splitted forms (e.g. "don't > do n't" for English)
# in non-normalising mode, situations with {} require ignoring original tokens and using splitted forms (e.g. "don't > do n't" for English)
s/{ *[^}]+? *} *([^ ]+?\/[^ \/]+(?:\/[0-9\.]+)?) +{} */$1 /g;
s/{} *//g;
s/{ *([^}]*?) *} *[^ ]+?(\/[^ \/]+(?:\/[0-9\.]+)?) /replace_whitespaces_with_underscores($1).$2." "/ge;
s/◁/{/g;
s/▷/}/g;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment