Fixed TF-IDF tokenization