support batch translation from a file
added word count normalization of log-prob