Home  >  Article  >  Backend Development  >  PHP如何将拼音转换成汉字?

PHP如何将拼音转换成汉字?

WBOY
WBOYOriginal
2016-06-23 13:50:451454browse

PHP如何将拼音转换成汉字?  网上查的都是如何将汉字转化成拼音,反过来如何实现呀?


回复讨论(解决方案)

汉字到拼音很简单,只需查简单对照表就可以了
拼音到汉字就不容易了,因为汉字中存在有大量同音字
反查表构造起来很复杂,规模也很大。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn