Added some data preprocessing functions

- remove rare words
- remove words with equal likelihood
- none improved the performance