Compute confidence scores by char, word or line
By default, DAN returns an overall confidence score, which is the mean of character probabilities. We could add an option to return confidence scores averaged by line/word, or return the full list of character probabilities.