rename terms_weight to words_weight