alternative to SpellCheck class

lines 181-190:
need to add probability calculation code for trigram based on trigram train data