Changed functions in LSI and BoW