You might want to know that emacs has a markov-chaining module that can work in a character-by-character mode (and a word-by-word mode too). I think it's called dissociated press. (Google "dissociated press" emacs)
(Sidenote: this is the kind of thing why I think that emacs is a noteworthy program although not as a text-editor.)
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |