now calculating average entropy in posteriorSentences.py