mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
Merge pull request #215 from moses-smt/alvations-patch-normalization
Single quotes should be escaped as single quotes.
This commit is contained in:
commit
41b31167fd
@ -42,8 +42,8 @@ while(<STDIN>) {
|
|||||||
s/´/\'/g;
|
s/´/\'/g;
|
||||||
s/([a-z])‘([a-z])/$1\'$2/gi;
|
s/([a-z])‘([a-z])/$1\'$2/gi;
|
||||||
s/([a-z])’([a-z])/$1\'$2/gi;
|
s/([a-z])’([a-z])/$1\'$2/gi;
|
||||||
s/‘/\"/g;
|
s/‘/\'/g;
|
||||||
s/‚/\"/g;
|
s/‚/\'/g;
|
||||||
s/’/\"/g;
|
s/’/\"/g;
|
||||||
s/''/\"/g;
|
s/''/\"/g;
|
||||||
s/´´/\"/g;
|
s/´´/\"/g;
|
||||||
|
Loading…
Reference in New Issue
Block a user