i am reading and trying to understand HMM and the area i am looking it is for spell correction. One thing i dont get is how does it handle insertion or deletion. Lets say there is character level model in which expected states are 'c', 'a', 't'. Now say the observed state is 'c', 't'. Now when the model is built there will transitions from 'c' to 'a' but not from 'c' to 't'. Now during correction or prediction phrase how to handle the case of inserting the character 'a' as opposed?
hope i am clear on the question. thanks.