Skip to content
Snippets Groups Projects
Commit c2f20127 authored by Milos Janda's avatar Milos Janda
Browse files

gp_norm_trans_CZ.pl update

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@1279 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent c13106ff
Branches
No related tags found
No related merge requests found
......@@ -47,6 +47,8 @@ while (<T>) {
my $trans = $2;
$trans =~ s/ \,(.*?)\'/ $1/g; # Remove quotation marks.
# Remove all special characters
$trans =~ s/[\;\:\`\<\>\,\.\-\?\!\@\#\$\%\&\(\)\[\]\{\}\"\/\']/ /g;
# Normalize spaces
$trans =~ s/^\s*//; $trans =~ s/\s*$//; $trans =~ s/\s+/ /g;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment