Probably nothing. XT9 and Presage provide text predictions while you type. What does libpinyin do, I have no idea. As far as I remember, you were looking for Chinese input. Would be good to get input for Chinese working *** well, but that's far from at least my expertise. I guess, you would have to start working on it yourself.