basic input to pinyin