summaryrefslogtreecommitdiff
path: root/corpus
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
commitef3c7beb9e58f22df5a778deed185d751dda0580 (patch)
tree48946aa59713c2891b9ecf0669622438304233ca /corpus
parent4b3c880a77d25af9f612e9aaf60e78faa3f00624 (diff)
moar hindi
Diffstat (limited to 'corpus')
-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;