Work in progress, preparation for tf-idf