blob: 8eeab22f12b9c6f7b26446f5492dc0b2ca07606f (
plain)
1
2
3
4
5
6
7
8
9
|
Put any scripts useful for human analysis of MT output here.
sentence-by-sentence.pl [EVH]: show comparison of sentences in reference translation(s)/system output(s)/(truth) in colorful format
-- show all sentences given, with non-matching words in the system output marked, BLEU scores given by sentence, and matching n-grams shown in a table
-- requires all input files be utf8-encoded (you can convert a file with `cat FILE | perl -n -e 'binmode(STDOUT, ":utf8"); print;' > FILE.utf8`)
show-phrases-used.pl [EVH]: draw colorful diagram of which source phrases map to which target phrases
-- show average length of source phrases used for each sentence and overall
-- command-line options -r for reference and -s for source; lone filenames are taken to be system outputs
|