Statistical methods in NLP: kNN algorithm (Feature Selection and chi square)