Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2019-10-19 05:54:46 +0300
committerGitHub <noreply@github.com>2019-10-19 05:54:46 +0300
commit286188b82a1fc80145e7e7213337c2f8577adbbf (patch)
tree35eafd850639ad032670410f987555aba4825a1a
parent555829a771cd897bb807f495a95737953a7ca9a3 (diff)
parent5d3331b922d4443b86a74960c7ebb7fea4ce7d50 (diff)
Merge pull request #214 from JetRunner/patch-1
Fix the incorrect processing considering fullwidth number character
-rwxr-xr-xscripts/tokenizer/replace-unicode-punctuation.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tokenizer/replace-unicode-punctuation.perl b/scripts/tokenizer/replace-unicode-punctuation.perl
index b0bc811fe..faed2cd9d 100755
--- a/scripts/tokenizer/replace-unicode-punctuation.perl
+++ b/scripts/tokenizer/replace-unicode-punctuation.perl
@@ -29,7 +29,7 @@ while(<STDIN>) {
s/!/\!/g;
s/(/\(/g;
s/;/;/g;
- s/1/"/g;
+ s/1/1/g;
s/」/"/g;
s/「/"/g;
s/0/0/g;