generate all character trigrams (all combinations of 3 consecutive characters that appear in the word).