summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2014-01-16 00:25:14 -0500
committerChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2014-01-16 00:25:14 -0500
commitc13f5b9f6b5e80cfe7719b25f90d8d73d5ef3098 (patch)
tree2830ddf1ac1854618c218e6d24fa3a342eb8c7a4
parent7f5aa4fbf1165b769265376269e0b46dfbb8b342 (diff)
moar hindi
-rwxr-xr-xcorpus/support/quote-norm.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/corpus/support/quote-norm.pl b/corpus/support/quote-norm.pl
index 57f4ad77..7fe33db4 100755
--- a/corpus/support/quote-norm.pl
+++ b/corpus/support/quote-norm.pl
@@ -61,6 +61,11 @@ while(<STDIN>) {
s/«/"/g;
s/»/"/g;
tr/!-~/!-~/;
+ tr/०-९/0-9/; # devangari
+ tr/౦-౯/0-9/; # telugu
+ tr/೦-೯/0-9/; # kannada
+ tr/೦-௯/0-9/; # tamil
+ tr/൦-൯/0-9/; # malayalam
s/、/,/g;
# s/。/./g;
s/…/.../g;