Statistical Input Method based on a Phrase Class n