loop caculate sentimentword