Add class SentenceStatisticsVisitor to calculate sentence weight.