I have a problem, I want to create n-gram encoding, so a break a sentence into n-grams, and if the n-gram is in dictionary, I return the index, but if it is not in dictionar