[libpinyin] WIP, some initial implementation