Optimized string tokenization during inverted_index generation