diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-10-12 14:18:36 +0400 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-10-12 14:18:36 +0400 |
commit | b88fad16f860d286543a1195350e7606b7494dd2 (patch) | |
tree | f453e6d30f1245cb0bace02f07e2de878a76b8ce | |
parent | 15adb17e350a9081189bc301fd1dd531855f7702 (diff) |
create valid html header, according to Tomas Hudik
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4336 1f5c12ca-751b-0410-a591-d2e778427230
-rwxr-xr-x | scripts/analysis/sentence-by-sentence.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/analysis/sentence-by-sentence.pl b/scripts/analysis/sentence-by-sentence.pl index c260bfd6c..82ae57949 100755 --- a/scripts/analysis/sentence-by-sentence.pl +++ b/scripts/analysis/sentence-by-sentence.pl @@ -122,7 +122,7 @@ for(my $i = 0; $i < scalar(@htmlColors); $i++) } $stylesheet .= "</style>\n"; -print "<html><head><meta http-equiv=\"Content-type: text/html; charset=utf-8\">\n"; +print "<html><head><meta http-equiv=\"Content-type\" content=\"text/html; charset=UTF-8\">\n"; print "<title>[" . join(', ', @sysoutfiles) . "] vs. [" . join(', ', @truthfiles) . "]: Sentence-by-Sentence Comparison</title>$stylesheet</head><body>\n"; foreach my $systemScores (@bleuScores) {rankSentencesByBLEU($systemScores);} |