diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-01-16 00:25:14 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-01-16 00:25:14 -0500 |
commit | c13f5b9f6b5e80cfe7719b25f90d8d73d5ef3098 (patch) | |
tree | 2830ddf1ac1854618c218e6d24fa3a342eb8c7a4 /corpus/support/quote-norm.pl | |
parent | 7f5aa4fbf1165b769265376269e0b46dfbb8b342 (diff) |
moar hindi
Diffstat (limited to 'corpus/support/quote-norm.pl')
-rwxr-xr-x | corpus/support/quote-norm.pl | 5 |
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; |