Separation of input method and lexicon