汉字拼音表

news/2024/11/15 17:42:53/

碰到诸如dongfangmingzhu这样的拼音,需要将其拆分为空格隔开的形式(dong fang ming zhu)。

第一方案想通过声母韵母的规则进行分割。但是,由于规则的整理容易遗漏,并且没有可借鉴的,所以转为通过匹配固定拼音形式的方式进行分割

从在线新华字典得到汉字拼音表,结果并不全,在调试代码的过程中,增补了一些,记录如下,如有遗漏,还请指出

 

public static final String aoePinyin = "a o e ai ao ou er an en ang eng";
public static final String bPinyin = "ba bo bai bei bao ban ben bang beng bi bie biao bian bin bing bu";
public static final String cPinyin = "ca cai cao can cang ce cen ceng ci cou cong cu cui cuo cun";
public static final String chPinyin = "cha chai chan chao chang che chen cheng chi chou chong chu chuo chun chuan";
public static final String dPinyin = "da de dai dei dao dou dong dan dang deng di die diao diu dian ding du dui duo dun duan";
public static final String fPinyin = "fa fo fei fou fan fen fang feng fu";
public static final String gPinyin = "ga ge gai gei gao gou gan gen gang geng gong gu gua gui guo guai guan guang";
public static final String hPinyin = "ha hai hao han hang he hei hen heng hou hong hu hua hui huo huai huan huang";
public static final String jPinyin = "ji jia jie jiao jiu jian jin jiang jing ju jue jun juan";
public static final String kPinyin = "ka kao kai kan kang ke ken keng kou kong ku kua kuo kun kuan kuang";
public static final String lPinyin = "la le lai lei lao lou lan lang leng long li lia lie liao liu lian lin liang ling lu lun luo luan lv";
public static final String mPinyin = "ma mo me mei mu mai mao mou man men mang meng mi mie miao miu mian min ming";
public static final String nPinyin = "na nai nei nao nong nan nen nang neng ni nie niao niu nian nin niang ning nu nv";
public static final String pPinyin = "pa pai pao pan pang po pou pu pei pen peng pi pie piao pian pin ping";
public static final String qPinyin = "qi qia qie qiao qiu qian qin qiang qing qu que qun quan";
public static final String rPinyin = "rao re ri rou rong ran ren rang reng ru rui ruo";
public static final String sPinyin = "sa se si sai sao sou san sen sang seng song su sui suo sun";
public static final String shPinyin = "sha she shi shai shao shou shan shen shang sheng shu shua shui shuo shun shuan shuang";
public static final String tPinyin = "ta te tai tao tou tong tan tang teng ti tie tiao tian ting tu tui tuo tuan";
public static final String wPinyin = "wa wo wai wei wan wen wang weng wu";
public static final String yPinyin = "ya yao you yong yan yang ye yue yuan yi yin ying yu yun";
public static final String xPinyin = "xi xia xie xiao xiu xian xin xing xiang xiong xu xue xun xuan";
public static final String zPinyin = "za zai zao zang ze zi zou zong zui zeng zu zun zuo zuan";
public static final String zhPinyin = "zha zhe zhi zhai zhao zhou zhong zhan zhen zhang zheng zhu zhua zhuan zhuang";

转载于:https://www.cnblogs.com/northhurricane/p/3386156.html


http://www.ppmy.cn/news/456460.html

相关文章

发音学习

英语48个音标的快速记忆法 元音部分: 1)、单元音: [i:]、[ɪ]、[ɔ:]、[ɒ]、[u:]、[ʊ]、[ɜː]、[ə]、[ɑ:]、[ʌ]、[e]、[] 2)、双元音: [eɪ]、[aɪ]、[ɔɪ]、[ɪə]、[eə]、[ʊə]、[aʊ] 、[əʊ] 辅音部分&a…

如何让孩子背拼音

经过孩他妈一年多的教育,孩子终于可以按顺序背下拼音了,也就是,给他拼音表,他能顺序的念 a,o,e,i,u 等,但是让他自己拼音就有些麻烦了,他不能随机的读出这些拼音,要念带拼音的书也费劲。于是我…

生僻字拼音

我们中国的汉字,落笔成画留下五千年的历史 让世界都认识,我们中国的汉字,一撇一捺都是故事 跪举火把虔诚像道光,四方田地落谷成仓,古人象形声意辨恶良 茕茕(qing)孑(ji)立,沆(hng)瀣(xi)一气,踽…

汉字-拼音转换类

汉字转拼音 using System; using System.Data; using System.Configuration; using System.Text;/// <summary> /// Summary description for ConvertHzToPz_Gb2312 /// </summary> namespace Common {public class ChinesConvertSpelling{public ChinesConvertSpe…

汉语拼音码

汉字拼音首字母列表 本列表包含了20902个汉字,用于配合 GetChineseSpell 函数使用,本表收录的字符的Unicode编码范围为19968至40869/// /summary>private static string strChineseFirstPY "YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJ…

汉字生成拼音

废话不说&#xff0c;直接上代码。 注&#xff1a;汉字为utf-8编码&#xff0c;若为gb2312编码&#xff0c;请先使用iconv转为utf-8编码 $pinyin new Tty_Chinese2Pinyin(); $pinyin_code $pinyin->encode(待转换汉字); class Tty_Chinese2Pinyin <?php /*** 中文转拼…

Windows VMware安装RockyLinux9

前言&#xff0c;今天用虚拟机安装rockyLinux时碰到了一些坑&#xff0c;要么时无法联网&#xff0c;要么是无法使用ssh链 接&#xff0c;在这里记录下 准备工作 1. VMware Workstation 17 Pro 2. RockyLinux9.2阿里镜像站&#xff0c;这里无选择了最小版本Rocky-9-latest-x86…

MCS-51单片机的内部结构

文章目录 前言一、CPU二、存储器1.存储器结构2.物理上有4个存储器地址空间3.逻辑上有3个存储器地址空间4.程序存储器5.程序存储器中的几个特殊地址的使用 三、外部数据存储器四、内部数据存储器&#xff08;1&#xff09;内部RAM——寄存器区&#xff08;地址为0&#xff5e;1F…