[libpinyin] implement enter/shift+enter for half chh/eng input