SunPinyin is an SLM (Statistical Language Model) based input method engine. To model the Chinese language, it uses a backoff bigram and trigram language model.