tfidf on categories without UI