smarter token grouping based on length and stopwords