how to get character level ngram from a string in oython code example
Example: how to get character n-grams of words
In [10]: n=4
In [11]: b = "student"
In [12]: [b[i:i+n] for i in range(len(b)-n+1)]
Out[12]: ['stud', 'tude', 'uden', 'dent']
In [10]: n=4
In [11]: b = "student"
In [12]: [b[i:i+n] for i in range(len(b)-n+1)]
Out[12]: ['stud', 'tude', 'uden', 'dent']