The GB2312 standard contains 6763 Chinese characters, including 3755 first-level Chinese characters and 3008 second-level Chinese characters.
Partition representation
The collected Chinese characters are "partitioned" in GB 2312, and each area contains 94 Chinese characters/symbols. This representation is also called the location code.
1) Areas 01-09 are special symbols.
2) Areas 16-55 are first-level Chinese characters, sorted by pinyin.
3) Areas 56-87 are secondary Chinese characters, sorted by radicals/strokes.
4) There are no codes in areas 10-15 and areas 88-94.
In other words, there is no connection between the second-level Chinese characters and the pinyin. In this way, most Chinese characters on the Internet can only correctly obtain the pinyin of some Chinese characters (first-level Chinese characters). There is only a little more than 3,000 Chinese characters with a decimal number. However, the second-level Chinese characters cannot be found at all, such as "dragonfly" or "leap". Although the second-level Chinese characters are added online, it is still far from enough compared with the total number of second-level Chinese characters.
Therefore, based on the above questions, the existing methods on the Internet have been extended to obtain all Chinese characters in the GB2312-80 encoding rules.
Function description:
1. Convert Chinese character strings to full spelling representation
2. Convert Chinese character strings into the first letter of the entire pinyin. For example: "Seven Colors of Life" returns "SHDQSB"
Performance improvements compared to most existing online methods:
Performance and improvements:
1. Use StringBuilder to connect the pinyin in the string to be parsed. This method has a lot of string performance improvements.
2. Use block search for first-level strings (the most common Chinese characters used in daily life) to speed up the search speed.
3. Supports all Chinese characters at level one and two (that is, supports all Chinese characters in GB2312 character set).
Disadvantages: It cannot distinguish polyphonic characters, and only fully supports the GB2312-80 Chinese character library. If it is polyphonic characters, you can only get the pinyin in the last list.
Supplement: If you want to support polyphonic characters, it is recommended to use the method of vocabulary resource library to search and program. If I have time, I will use this lexicon resource library to create a Chinese character to Pinyin library to try to support Chinese characters and pinyin. stay tuned.
Here are the currently improved Chinese characters to pinyin categories:
using System; using ; using ; using ; namespace MyPinYin { /// <summary> /// Chinese character pinyin conversion category /// </summary> public class PinYinConverter { #region array information private static int[] pyValue = new int[] { -20319, -20317, -20304, -20295, -20292, -20283, -20265, -20257, -20242, -20230, -20051, -20036, -20032, -20026, -20002, -19990, -19986, -19982, -19976, -19805, -19784, -19775, -19774, -19763, -19756, -19751, -19746, -19741, -19739, -19728, -19725, -19715, -19540, -19531, -19525, -19515, -19500, -19484, -19479, -19467, -19289, -19288, -19281, -19275, -19270, -19263, -19261, -19249, -19243, -19242, -19238, -19235, -19227, -19224, -19218, -19212, -19038, -19023, -19018, -19006, -19003, -18996, -18977, -18961, -18952, -18783, -18774, -18773, -18763, -18756, -18741, -18735, -18731, -18722, -18710, -18697, -18696, -18526, -18518, -18501, -18490, -18478, -18463, -18448, -18447, -18446, -18239, -18237, -18231, -18220, -18211, -18201, -18184, -18183, -18181, -18012, -17997, -17988, -17970, -17964, -17961, -17950, -17947, -17931, -17928, -17922, -17759, -17752, -17733, -17730, -17721, -17703, -17701, -17697, -17692, -17683, -17676, -17496, -17487, -17482, -17468, -17454, -17433, -17427, -17417, -17202, -17185, -16983, -16970, -16942, -16915, -16733, -16708, -16706, -16689, -16664, -16657, -16647, -16474, -16470, -16465, -16459, -16452, -16448, -16433, -16429, -16427, -16423, -16419, -16412, -16407, -16403, -16401, -16393, -16220, -16216, -16212, -16205, -16202, -16187, -16180, -16171, -16169, -16158, -16155, -15959, -15958, -15944, -15933, -15920, -15915, -15903, -15889, -15878, -15707, -15701, -15681, -15667, -15661, -15659, -15652, -15640, -15631, -15625, -15454, -15448, -15436, -15435, -15419, -15416, -15408, -15394, -15385, -15377, -15375, -15369, -15363, -15362, -15183, -15180, -15165, -15158, -15153, -15150, -15149, -15144, -15143, -15141, -15140, -15139, -15128, -15121, -15119, -15117, -15110, -15109, -14941, -14937, -14933, -14930, -14929, -14928, -14926, -14922, -14921, -14914, -14908, -14902, -14894, -14889, -14882, -14873, -14871, -14857, -14678, -14674, -14670, -14668, -14663, -14654, -14645, -14630, -14594, -14429, -14407, -14399, -14384, -14379, -14368, -14355, -14353, -14345, -14170, -14159, -14151, -14149, -14145, -14140, -14137, -14135, -14125, -14123, -14122, -14112, -14109, -14099, -14097, -14094, -14092, -14090, -14087, -14083, -13917, -13914, -13910, -13907, -13906, -13905, -13896, -13894, -13878, -13870, -13859, -13847, -13831, -13658, -13611, -13601, -13406, -13404, -13400, -13398, -13395, -13391, -13387, -13383, -13367, -13359, -13356, -13343, -13340, -13329, -13326, -13318, -13147, -13138, -13120, -13107, -13096, -13095, -13091, -13076, -13068, -13063, -13060, -12888, -12875, -12871, -12860, -12858, -12852, -12849, -12838, -12831, -12829, -12812, -12802, -12607, -12597, -12594, -12585, -12556, -12359, -12346, -12320, -12300, -12120, -12099, -12089, -12074, -12067, -12058, -12039, -11867, -11861, -11847, -11831, -11798, -11781, -11604, -11589, -11536, -11358, -11340, -11339, -11324, -11303, -11097, -11077, -11067, -11055, -11052, -11045, -11041, -11038, -11024, -11020, -11019, -11018, -11014, -10838, -10832, -10815, -10800, -10790, -10780, -10764, -10587, -10544, -10533, -10519, -10331, -10329, -10328, -10322, -10315, -10309, -10307, -10296, -10281, -10274, -10270, -10262, -10260, -10256, -10254 }; private static string[] pyName = new string[] { "A", "Ai", "An", "Ang", "Ao", "Ba", "Bai", "Ban", "Bang", "Bao", "Bei", "Ben", "Beng", "Bi", "Bian", "Biao", "Bie", "Bin", "Bing", "Bo", "Bu", "Ba", "Cai", "Can", "Cang", "Cao", "Ce", "Ceng", "Cha", "Chai", "Chan", "Chang", "Chao", "Che", "Chen", "Cheng", "Chi", "Chong", "Chou", "Chu", "Chuai", "Chuan", "Chuang", "Chui", "Chun", "Chuo", "Ci", "Cong", "Cou", "Cu", "Cuan", "Cui", "Cun", "Cuo", "Da", "Dai", "Dan", "Dang", "Dao", "De", "Deng", "Di", "Dian", "Diao", "Die", "Ding", "Diu", "Dong", "Dou", "Du", "Duan", "Dui", "Dun", "Duo", "E", "En", "Er", "Fa", "Fan", "Fang", "Fei", "Fen", "Feng", "Fo", "Fou", "Fu", "Ga", "Gai", "Gan", "Gang", "Gao", "Ge", "Gei", "Gen", "Geng", "Gong", "Gou", "Gu", "Gua", "Guai", "Guan", "Guang", "Gui", "Gun", "Guo", "Ha", "Hai", "Han", "Hang", "Hao", "He", "Hei", "Hen", "Heng", "Hong", "Hou", "Hu", "Hua", "Huai", "Huan", "Huang", "Hui", "Hun", "Huo", "Ji", "Jia", "Jian", "Jiang", "Jiao", "Jie", "Jin", "Jing", "Jiong", "Jiu", "Ju", "Juan", "Jue", "Jun", "Ka", "Kai", "Kan", "Kang", "Kao", "Ke", "Ken", "Keng", "Kong", "Kou", "Ku", "Kua", "Kuai", "Kuan", "Kuang", "Kui", "Kun", "Kuo", "La", "Lai", "Lan", "Lang", "Lao", "Le", "Lei", "Leng", "Li", "Lia", "Lian", "Liang", "Liao", "Lie", "Lin", "Ling", "Liu", "Long", "Lou", "Lu", "Lv", "Luan", "Lue", "Lun", "Luo", "Ma", "Mai", "Man", "Mang", "Mao", "Me", "Mei", "Men", "Meng", "Mi", "Mian", "Miao", "Mie", "Min", "Ming", "Miu", "Mo", "Mou", "Mu", "Na", "Nai", "Nan", "Nang", "Nao", "Ne", "Nei", "Nen", "Neng", "Ni", "Nian", "Niang", "Niao", "Nie", "Nin", "Ning", "Niu", "Nong", "Nu", "Nv", "Nuan", "Nue", "Nuo", "O", "Ou", "Pa", "Pai", "Pan", "Pang", "Pao", "Pei", "Pen", "Peng", "Pi", "Pian", "Piao", "Pie", "Pin", "Ping", "Po", "Pu", "Qi", "Qia", "Qian", "Qiang", "Qiao", "Qie", "Qin", "Qing", "Qiong", "Qiu", "Qu", "Quan", "Que", "Qun", "Ran", "Rang", "Rao", "Re", "Ren", "Reng", "Ri", "Rong", "Rou", "Ru", "Ruan", "Rui", "Run", "Ruo", "Sa", "Sai", "San", "Sang", "Sao", "Se", "Sen", "Seng", "Sha", "Shai", "Shan", "Shang", "Shao", "She", "Shen", "Sheng", "Shi", "Shou", "Shu", "Shua", "Shuai", "Shuan", "Shuang", "Shui", "Shun", "Shuo", "Si", "Song", "Sou", "Su", "Suan", "Sui", "Sun", "Suo", "Ta", "Tai", "Tan", "Tang", "Tao", "Te", "Teng", "Ti", "Tian", "Tiao", "Tie", "Ting", "Tong", "Tou", "Tu", "Tuan", "Tui", "Tun", "Tuo", "Wa", "Wai", "Wan", "Wang", "Wei", "Wen", "Weng", "Wo", "Wu", "Xi", "Xia", "Xian", "Xiang", "Xiao", "Xie", "Xin", "Xing", "Xiong", "Xiu", "Xu", "Xuan", "Xue", "Xun", "Ya", "Yan", "Yang", "Yao", "Ye", "Yi", "Yin", "Ying", "Yo", "Yong", "You", "Yu", "Yuan", "Yue", "Yun", "Za", "Zai", "Zan", "Zang", "Zao", "Ze", "Zei", "Zen", "Zeng", "Zha", "Zhai", "Zhan", "Zhang", "Zhao", "Zhe", "Zhen", "Zheng", "Zhi", "Zhong", "Zhou", "Zhu", "Zhua", "Zhuai", "Zhuan", "Zhuang", "Zhui", "Zhun", "Zhuo", "Zi", "Zong", "Zou", "Zu", "Zuan", "Zui", "Zun", "Zuo" }; #region Second-level Chinese characters /// <summary> /// Secondary Chinese character array /// </summary> private static string[] otherChinese = new string[] { "Yu","No","Yu","beggar","twenty","thirty","Pi","through","Chief","Li","Naughty","startling","丨","Yu","Yu" ,"dagger","To","tender","Yao","goblet","Di","Fontium","Yin","Kui","Yu","Testal","sky",",","urgently","Nai","What" ,"Spirit","Qi","Mi","Bo","stingy","longevity","narrow","Blog","House","sky","Qui","Fei","Smell","Fake","Dictionary","thereupon" ,"Light","deficient","Plate","Secret","Gauze","wine container","Still","mow","cut the throat","cut the throat","rip","born","So","Sat","sky","quiet" ,"cut out","Kuai","rob","chisel","Speech","Steps","cut off the nose","mouth","Wang","South","Lonely","male","tithe","Three","beefy","install" ,"Ren","slouch","part","Blog","Wa","opponent","reckless","rude","Kang","Sustain","eloquent","Abide","Yu","Ignorance","He" ,"Tong","Tuo","mouth","Ga","Ji","color","Yu","Come on","Talking","Dwarf","Repeat","Frenetic","Peer","handsome","Nong" ,"Come","Mei","Yesin","Li","Miss","Slang","Mata","forlorn","Fierce","Waiting","Salary","Qian","No","Haiha","Zhuo","Success" ,"big","Japanese","Bi","Type","groom","pressed","Arrogant","ruin","Yan","Go to the West","Version","cuddle","hurried","hunchback","unexpectedly","best man" ,"Nuo","hinder","Xi","Shake","Understanding","clever","hire","Slave","ingenious","Dan","Tong","Sign up","She","Jie","Stock","flute" ,"Bai","Baiting","Xi","Xun","School","Bao","smilingly","Kui","Super","crawl","sound of a crash","Crouch","mallard","Such","Shi","Blog" ,"Yan","Bo","Gon","Expansion","Bad","skinny","take out","Report","win","South","lean","Doctor","congealed","Little","Xin" ,"Rhombus","Small","mound","deep","Blog","Criticism","Fighting","slander","Ao","Big","Ne","combine","blame","slander","Decree" ,"Take","Yi","deceive","eulogy","deceive","scold","Wow","inquire","sense of shame","Interpretation","Controversy","nickname","brag","blame","Edict","lie" ,"Hey","pick","complain","Shut down","flatter","Think","flatter","insult","Chen","admonish","Hear","Visit","Ser","Yuan","Secret","Anonymous" ,"meaning","Consultation","brag","Mo","Shou","Su","posthumous title","quiet","disgrace","Shu","slander","Qiao","deceitful","Judge","delirium","prophecy" ,"born","Blog","Zan","Zhan","footpath","trap","Shang","perilous","sky","Pi","border the stove","terrace","Zhi","parlous","corner","frontier" ,"parapet","kuma","dry moat","Qi","sky","Hang","Qiong","Kuang","Go","Wu","Fang","Black","Pi","Bi","Ye" ,"Di","Tai","big","Zhi","mouth","Huan","Xiang","Song","Yun","Li","Ying","Gao","Xi","suburbs","Pi" ,"Tan","Ying","Blog","Yan","Yin","Zhang","Po Lake","Zheng","sky","Win","Feng","Shu","Huan","Mo","Story","Shao" ,"impeach","That","Meng","Xu","Power","old man","Sup","Yue","Small","Blog","Tang","sacrificial spirit","color","Ben","basket","Supra" ,"dust","chalk","install","private school","official","obstruct","gully","dike","Blog","Blog","Zhen","tomb","destroyed","Sect","Li","Qi" ,"Saka","crucible","Rod","stand for goblets","clay","crack","islet","lump","son","Da","depression","Ya","anthill","mouth","Small","mix water with clay" ,"Blog","sky","boundary","Entertain","Cheng","big","crucible","official","Shou","Blog","sky","That","Platform","Pi","sky" ,"target in archery","side of bridge","broom","sky","Hori","battlement","mound","No","Blog","dry clay lump","Plain","Bao","Yong","sky","South" ,"Finny","Feng","Yi","grass","Return","plate","Dictionary","Qian","Ji","Sweeping","Xingxiong","Reagent","Xian","Fu","daphne","Yun" ,"Fu","water chestnut","Shoot","Swallow","Cordo","Pyrene","Zhi","Rui","Amaranth","That","Cistan","Sheng","Fluorene","Sauce","State","mow" ,"Benzyl","Rabbit","hollow","Ji","Mar","Glycoside","kohlrabi","Quan","Spirit","clover","Zhu","Ran","Sui","Zhi","Fu","Ling" ,"Zhu","Indene","South","grave","solitary","multitude","Tao","Anime","weed","grass","Fu","water chestnut","Ju","Chrysanthemum","fennel","Ju" ,"stalk of grass","buckwheat","Poria","Feng","Water","Quan","Qi","Xun","Ming","water chestnut","wild rice","Super","Bi","Rob","Xing" ,"Neen","ranunculus","loyal","just","Sun","�","South","Shoot","water chestnut","Di","lettuce","Weed","I","Berry","Yu" ,"Go","Tue","Zhu","die of hunger","coriander","Shut","Di","Xin","Dongguan","Shappy","warbler","Water","Cyan","Tree","Bao","Song" ,"Santhem","Naphthalene","luxuriant","back","Shu","Carrot","Tenpene","cornelian cherry","reed","castor seed","turnip","dodder","lotus","Cui","Smoke","not yet" ,"henbane","Suga","Saru","Ying","mushroom","Han","Blog","turnip","mulberry","Blog","Whi","finish","not yet","repair","Return","unhappy" ,"calyx","Bao","Ba","color","Trump","Shou","flower","reed","Zhen","Yarrhea","Production","suddenly","Anthracene","Bei","thick","Artemisia" ,"Territes","Blog","burdock","Zheng","capsule","Bao","Dictionary","yam","Shi","Card","Spirit","At once","Blog","nest","Lin" ,"lotus","Ko","Fu","Lipo","Yin","mushroom","Fern","Rui","Shi","Dictionary","Blog","Fan","Qi","budding","scallion" ,"death of a prince","Wei","Jay","Sheng","Su","Sacred","pull out","Sprout","Spun","Fusion","Moss","hand","Quanut","Hagua","Su","Heng" ,"Su","Tiller","millet","Cross","Tiss","Small","Bin","Droop","Yi","Xi","stout","leaf","Excuse me","Super","embarrassed","Awkward" ,"That","Shift","Tang","Stretch","pat","Strike","bend","antagonistic","Make","Open","pour","stroke","sort","none","play antics","Support" ,"sky","Shou","slap","weed","Catch","break up","Turn","carry on shoulders","Shut","sort out divining stalks","Kill","pull up","press","draw out","Sweep","pull up sleeves" ,"Stop","Kui","auxiliary","dart","press","Swallow","Shut","Shut","wipe","take hold","Shut","pile","assault","Fold","Sweeping" ,"Fold","Select","Fuck","scrimp","throw","Roll","pass through","Small","Blow","pull out","Share","Cut","Super","Yi","Too" ,"Glycoside","Kill","Bor","scold","grumble","knock","Talk","Lat","upbraid","Ah","Yao","Furo","mouth","Rare","That","cracking" ,"Well","Pyr","chant","Narration","Small","Ind","suck","Click","Snack","Qu","whisper","Dong","Reminder","Du","bawl","Yo" ,"Sister","Clang","Card","Smile","Blog","clatter","Ly","Huh","Shi","Beep","Squeeze","Bang","Small","call out","babble","Piper" ,"Kuai","Dole","Super","What","Mi","Zha","garrulous","Must","Moo","Mark","Che","chatter","choking","Um","official","Suon" ,"Sales","Sigh","Zole","Shi","chant","Tsk","Here","Meow","Line","son","Chir","wail","Huh","spit","Su" ,"Oh","taste","Pooh","Dine","Clang","Cry","Swish","sip","chatter","despair","Marble","Curry","Quin","Single","breathing of fish" ,"sigh","Thirt","Swoosh","dumb","Qi","sigh","Let's go","mouth","oh","beak","Zine","Ao","crop","beep","Che","small" ,"Ho","Angry","Say","belch","Yeah","Um","howl","Cute","Ai","Tip","Blue","Hi","Bang","laugh","bridle","Le" ,"noisy","Purity","whispering sound","Ying","Bang","incite","Ding","Pyramid","Bang","pout","Liao","puff","suck","Bo","oh","hold in mouth" ,"chatter","bass","Dong","Skin","silent","loud laughter","Alas","Thia","Crack","chatteration","Click","Wow","Mumbling","Four","child","female" ,"Whole","whole","*","Yuan","im*","pigsty","Bo","Circle","curtain","Volume","cap","treasury","canopy","conical cap","Women" ,"curtain","tent","Damp","hanging scroll","Quan","banner","perilous","hill without trees","Bo","Qi","rugged","Bo","Dian","Ao","Cen" ,"Ran","Bo","wooded hill","Bo","Bo","cap","Xiu","Dai","da","Mao","Min","Hai","Dong","Jiao","Self-","Yi" ,"Lao","Liao","Song","Gong","Official","sky","Bo","Kong","Rise","Kong","Wei","Cub","lofty","Bo","lofty","lofty","lofty","lofty","lofty","Kong","Rise","Rose","Rose","Rose","Rose","Rose","Rose","Kong","Wei","Cub","Call","Call","Lofty" ,"mountain peak","official","Mei","Sheng","Song","Crimson","Zhang","Bar","color","Bin","time","Top","large","irresolute","Return","Foreign" ,"walk back and forth","back","Lei","Moving","walk back and forth","Wandering","compulsory service","Recruitment","go around","throughfare","sky","armadillo","jail","Rough","Full" ,"accustomed to","All","Feither","Roy","hamadryad","Mart","cunning","hunting","Snap","quod","Hong","x","armadillo","light","snarling" ,"Shaped","Yi","light","Test","lion","Lynn","sudden","macaque","Money","Dict","rustic","Hedgehog","Monkey","roe" ,"Uncle","rude","hunt","Xie","Purple","badger","mistaken","Part ok","supper","late at night","Shou","small","Or","Non","sacrificial victim","Cooking" ,"Smash","Check","Yes","Sales","cake","Remaining","Chinese ravioli","Pin","rancid","But","delicate","Last","Bo","Food","Naan","Naan","South" ,"veranda","Bo","kitchen","shade","asylum for the aged","Tu","An","Yu","sky","Restoration","granary","Half","Power","Party","Standard","Xing" ,"it","grieved","guess","repent","disappointed","invasive","Absolute","sad","disbedient","anger","despair","sad","Bloody","sky","accustomed to","presume" ,"fear","thumping","Ta","discontented","ashamed","Still","anger","Sweep","Yi","grief","contented","sad","Kai","Hao" ,"Ke","Yun","Parish","frightened","Stingy","laugh","sincere","miserable","Ti","repent","satisfied","Hy","Troubled","undeceived","desolate" ,"forlorn","indistinct","sad","indignant","troubled","startled","Silent","anxious","all","obstinate","Such","contented","careless","awaken","haggard","unsettled" ,"Hate","Shoulder","stupid","Hao","destroy","latch","Yan","Express","Green","Min","small","Dark","Lu","member","lot","Lang" ,"threshold","gate of heaven","Brave","Born","shut","Bo","Qi","Close","fill up","Que","Kan","Test","Post","Kill","Hong" ,"sky","creek","Bao","Feng","Yuan","Mu","Mian","Chaos","Mi","confused","Bian","Wen","Corruption","small","write","Share" ,"Shu","Take","Lu","Understanding","Si","Stars","Ling","still water","sky","weep","Pan","Tuo","Hong","obliterate","Jing" ,"Huan","Fuck","pure","Ji","Zheng","Spray","whirl","Soo","small","Sweeping","drain","Tao","Xun","flood","Browse" ,"Hu","Xun","sky","Check","correct","*","Qing","None","Take","Cen","Bang","Xi","No","Caring","Natsu","Qi" ,"sound of rain","Song","ditch","Zhuo","Purity","Last","Damn","Purity","Chong","official","Qing","Official","Official","Official","Official","Official","Official","Official","Official","Official","Official","Official","Oministrative","Rinse","Get rid of","submerged","drunk" ,"Qiu","urinate","Huang","time","flowing of water","Render","Wu","Mae","Yan","Decision","None","Stock","expansive","Ying","Pu" ,"Li","muggy","time","muddy","Decanter","bromine","mouth","pond","rushing","sea","pond","eddy","xia","sea","canal","not" ,"Luo","indecipherable","trough","Zhu","Ri","Film","Verve","wash","Shu","exhaust","She","Shock","Tong","trickle","Se" ,"sky","Li","Dan","still water","Lian","moisten","Pu","Bi","Hao","wash","Han","vapor","Ying","boil","Bo" ,"Hao","Ba","Read","traitor","Dang","Mi","Yu","Chen","Chan","Squeeze","Absolute","Laos","Pu","Everything","San" ,"Jian","Open","receive as a guest","Whip","Different","haste","winding","near","Ga","Shi","Say","meet unexpectedly","On","This","winding","Everything" ,"Qiao","Tian","shrink from","Kui","Whi","escape","Leave","Trump","Not","Quo","Respect","excursion","meet unexpectedly","Sloppy","stroll","Siam" ,"Search","suddenly","meet unexpectedly","profound","mysterious","slovenly","Bo","Come","Tuan","swine","Butter","Close","clog","defecate","coward","slipper" ,"sandals","sheep crowding","an","crossbow","Secret","Steal","Bi","vend","sky","Father","Pretty","Yan","flatter","Woman","deceased mother" ,"Pretty","Sister","Guard","little girl","Concubine","Si","Da","Pretty","Shan","concubine","Ya","Rao","Su","Plan","Jiao" ,"mistress","Cai","Sister-in-law","Ping","Wa","Xian","Sa","Die","Wai","willowy","Jing","prostitute","Jie","prostitute","slave girl","Chan" ,"Pestle","old woman","Yuan","Ting","Wu","mary","ugly woman","match","life","Pin","ugly","widow","Yan","official","visit a prostitute","Chang" ,"Lao","female","play","Transformation","favorite","tease","ma","widow","Ga","South","Fu","offspring","breeding","Ze","off","off","spore" ,"powerful horse","Si","Prince Consort","Zhu","Shi","dull","tired","Snap","Hua","parallel","Li","Qi","Yu","piebald","official","stalion" ,"greedy","Ao","Ji","Ji","geld","white horse","Check","Qian","Ji","Xong","small","Yu","Zhou","knot","white silk","fine cotton" ,"Mutual","error","Break","purple","Fighting","Sweeping","crepe","Steel","Down","small","Spray","Quicking","Jiang","Plant","Xiao" ,"Party","Yan","Qi","Scarlet","Sweeping","sew","She","ribbon","lock","bound in a league","string together","Black","Ke","Good","Ti","indistinct" ,"multicolored","fine linen","braid","Bo","Soft","cord","Jin","Jing","adorned","Silk","Hang","thick waterproof silk","Color","misty","unadorned" ,"bond","Miao","Sweep","Val","wind","tie","Rein","loving","Railing","tie","Zhang","youngest","Green","Bo","steroid","Yong" ,"big","Ge","Wei","porphyrite","Min","Je","Ke","Qing","blemish","turtle","amber","Min","Jia","Er","Dong","Xun" ,"Ya","Heng","Xiao","Luo","Xia","Hun","Li","Qi","Ying","Qi","Amber","Kun","Yan","Cong","Wan" ,"Chen","Ji","Boss","Yu","Yo","flaw","Nao","Ai","jade","Jin","Huan","Girl","Bright","End","Xuan" ,"Zhang","Pure","gem","small","Lu","Bi","Zan","small","Just","Yun","Tao","No","dipper","Qi","branches of a tree","sky" ,"stable","loquat","End","dark and quiet","tenon","positive","pestle","doorpost","Fir","Owl","Fang","loquat","Zhu","Take","Chen","Zhe" ,"cage","bier","chessboard","ye","pen","hollow of a tree","pomelo","orange","Shu","gardenia","Check","Goji","Base","oak","Check","Take" ,"Cat","sky","Ya","Rail","Stay","Front","Stay","Part","club","sky","Bar","birch","Trunk","Jiang","Jie","Luan" ,"Blade","Eucalyptus","Life","Brahma","brace","rafter","Bo","Azusa","Port","lattice","Park","confused","casket","Sea","Owl" ,"House","Shaped","Shou","outer coffin","Di","Bo","sky","mulberry","Nan","Chinese quince","Mermeal","Lanthus","oar","big" ,"big","catalpa","Linite","hammer","coffin","M","Cha","Beech","Last","lintel","Jaga","hazel","Treya","couch","tenon","pavilion" ,"water pulley","Bao","rotten","lance","Penang","Bianhe","biscus","hibiscus","Mount","Maple","Zhu","Released","oak","olive" ,"Yue","candlestick","sack","peg","firewood","not","scull","bottle","Spicy","Orange","citron","Mar","eaves","purlin","Berbera","Salvation" ,"Yao","mastiff","Death","die","Sad","exterminate","die","Court","die of hunger","Devote","Slaying","funeral","exterminate","brake","yoke","wheel" ,"Ke","windlass","Enter","Anecdote","Zhen","Shoulder","Salted","light carriage","Shi","public","shallow","chariot","Jing","Charity","Rim" ,"cease","Ya","converge","Reel","Secret","Take","constricted","sky","Asia","halberd","Bo","Suppress","Don't","infringe","Crazy" ,"Zang","Ou","Ling","Bug","official","caldron","glazed tile","Share","Kan","Lang","sunset","Hao","Ten","Gao","color","Xin" ,"Yun","Jing","That","Zan","Pleiades","Yu","Chang","Nick","Elder","Sheng","Ye","Chao","Yan","Hi","Year","Han" ,"sundial","Xuan","in opposition to","Ambient","dark","Shu","twilight","Yao","Xi","Past","Ben","borrow","bestow","Yi","Zhi","Treasure" ,"Totally","Zi","Relief","Create","bribe","Take","Desperate","Blog","spy","covet","wizard","See","Tait","Opinion","Jesus","watch for" ,"prop","Strong","female","Ya","Gu","Treasure","shed for cattle","wing of an army","Blog","bullock","leaf","give a bonus","pull out","fondle","By" ,"hug","break","mouth","Share","Feng","shuttlecock","shaggy","rug","cloak","Check","Hait","woolen rug","Hybrid","deuterium","xenon" ,"tritium","radon","Argon","magic emanation","krypton","heavy atmosphere","Card","Edict","Print","She","dispatch","lattice window","Love","Guo","cut off the feet","Oxime" ,"exist","Nei","hydrazine","protein","Peptide","back","gizzard","sky","meat dish","Injury","hazy","Pytone","Secret","Lu","shoulder blade","mouth" ,"helmet","confer","guanidine","gizzard","Qu","Iron","Tibia","Boy","Dog","rouge","Salad","Put","hydroxylamine","Word","I","Amidine" ,"Pwolve","Snap","trifles","bladder","sky","urea","Nitrile","Pickled","Philippines","Full","Hydragon","Ass","tendon","Sept","Belly","Coy" ,"castor","Palate","Acupoint","path between fields","My mother","diaphragm","backbone","patella","Teng","Sweet","Tea","swollen","deceive","smell of urine","smell of mutton" ,"color","phosphine","Oh","sob","interjection","drink","Xin","She","Squall","Sa","hurricane","blow","Storm","Surprise","Shou" ,"enough","hub","frightened","Fiji","sky","Colorful","In","pennant","Term","Zhen","Sing","Ye","tassel","fluttering of flag","Yang","Wei" ,"stew","Fried","Spot","Blog","Stand","Show off","South","Ye","molten","day","Enthalpy","stew","Bao","Yan","Still","Yu" ,"simmer","Caze","pot","Xuan","Stir-fry","just","Sweep","Sales","entropy","Iron","Yi","Boil","Burning","flint","conflagration","torch" ,"cook","","Tao","Hu","Xi","Ri","Shake","shut","Hu","Tao","Super","Sacrifice","Zodiac","Heart","remove","Hu" ,"cleanse","Zuo","You","Zhi","temple","Zheng","ancestral hall","Qi","Zen","purification","Search","July","male","nervous","nervous" ,"hate","impassible","Angry","ashamed","Yes","Sick","Random","Haven","transgression","pity","evil thought","Relax","hate","Mao","melancholy" ,"stupid","big","Yu","again and again","sky","Miao","Asia","Sand","Dang","sky","Trief","Board","calender","chop","acupuncture","Sulphon" ,"Weight","astatine","grind","mill","Battle","Concrete","whetstone","sky","Top","big","whetstone","crude saltpeter","Ji","stony soil","Fort","Dong" ,"Blog","Harry","South","moraine","pestle","Bei","anchor","Such","stone roller","stone tablet","tellurium","Blog","Black","Creation","Check","stone plinth" ,"Check","Cam","stone block","step stone","Super","Hard","mineral","fill","niche","embroidery","embroidery","embroidery","Xu","ogle","Everything","nap" ,"subtle","gaze intently","calamity","parched","Yi","Back","big","gum in the eyes","eye","gaze","eyelid","Look","Song","Jiao","look askance" ,"Sui","look askance","Rui","blind","stare","South","Does","close the eyes","cast a glance","Yun","Looking at","Blog","blind","Chong","Bi" ,"field drains","hunt","farm","boundary","She","Blog","Don't","Shu","Gang","Shou","curse","foment","brown bear","sky","suffer","restrain" ,"seine","Preparation","wash","Can't","Sharp","gadolinium","yttrium","polonium","Zhao","ruthenium","thorium","Brave","samarium","mendelevium","hairpin","neodymium" ,"plutonium","titanium","Great","Sheet","seal","francium","scandium","San","holmium","palladium","Yu","Shake","cobalt","columbium","Protest","Porcelain" ,"cymbals","ax","molybdenum","Talanium","Dian","melt","cerium","Hyung","thallium","bismuth","niobium","beryllium","Duo","Cuffed","rhodium","erbium" ,"europium","Chain","sword","cymbals","Tang","clang","Power","indium","armor","baht","Sweeping","thulium","spade","Quan","hafnium" ,"spear","Sharp","Zheng","cesium","pistol","Extended","Ammonium","rubidium","Shu","rhenium","terbium","Calm","Sharp","lithium","zirconium" ,"osmium","file","Character","Shrink","californium","May","ornament","Do","curium","Actium","Bit","Blog","Add","technetium","ingot","Kun" ,"restrain","counter","berkelium","sky","Blog","Du","Health","Kai","strontium","E","Calling","Blog","Use","einsteinium","engrave","Clang" ,"Light","americum","mouth","cadmium","engrave","neptunium","Question","Yi","gallium","Blog","dart","Boring","trowel","mouth","Yong","arrowhead" ,"Start","dysprosium","Disconnect","Bi","protactinium","Oddite","upsetting","lanthanum","praseodymium","sky","sulfuric acid","stirrup","Wok","bracelet","ytterbium","Cymbal" ,"darts","Zhong","moreover","dwarfish","Phizar","blighted","trillion","horse feed","kaoliang","not yet","Ji","Shi","grass","wheat","Men" ,"Zhi","Ji","gather in harvest","sticky","Fu","Rang","Convert","bright","Hao","She","white","Blog","gourd","Yong","Dove" ,"kite","Bumblebee","poison","partridge","thrush","cormorant","Ribies","owl","heron","emu","Battle of Prey","Crown","owl","Luan","wood pigeon","Oriole" ,"Swan","mynah","Shen","pelican","parrot","Eu","quail","Bulin","quail","pelican","osprey","Amorantee","Shit","Du","Harrier","Dolly" ,"parrot","partridge","Bound","Pein","wren","Violet","snipe","Boil","heron","stork","Clean","boil","Buffer","Blog","hernia","Ji" ,"wart","rickets","Sickness","jaundice","mumps","Blister","Spray","Gi","scab","Secret","bruise","mole","tuberculosis","mole","acne","epilepsy" ,"Sha","chilblains","Primary","obstinate disease","atrophy","die in a *","Staste","hate","scabies","bury","wart","recover from illness","Fistula","Scary","Pruritus" ,"Sweet","distress","mark","barren","This","whitlow","scrofula","gall","Scary","infirmity","addiction","heal","Un","skin disease","Hyster" ,"erythema","addiction","Epileptic","Dian","Yi","big","Subtle","Dome","tomb","Blog","Yao","quiet and elegant","sinus","nest","hole in a wall","cellar" ,"rustic","ugly","Part","panties","cassock","Lang","Gone","sleeve of a robe","Loop","crotch","lined","big","Pret","pouch hung from belt","take off clothes","Short" ,"Pleated","Framed","Chu","Complete","benefit","She","Gas","Safe","Pull","Bloom","Black","narrow","Rag","strip","Pleated","swaddling clothes" ,"jacket","Highlight","Open","Xu","chap","cracked","Care","Pu","Blog","Sleep","plow","South","big","Sweet","Coupling","sky" ,"plow","hoe","Weekly","Nie","Blog","Dan","hear","Audit","Hit","deaf","difficult to pronounce","Kan","Good","tall","Dragon" ,"Jie","jaw","Ying","chin","Nos","jaw","Simple","temporal","idling","forehead","Hao","Black","knit the brows","stripe of a tiger","Pious" ,"dragon","Don't","scorpion","poisonous snake","flea","gadfly","water beetle","Battle","Snake","Clam","Oyster","Cat","Pede","tadpole","earthworm","Child" ,"clam","Citizen","oyster","oyster","Eye","Anaconda","grasshopper","earthworm","Shou","Clam","larva","cricket","butterfly","Pin","leech","Snail" ,"cricket","dragonfly","Slut","Battle","Jiao","Su","marine crab","Miracle","sting","octopus","centipede","clam","toad","wasp","Sugar","dragonfly" ,"big","Lizard","mythical creature","Fei","Sentence","Grass","chameleon","tick","cicada","Curm","Wind","dragonfly","grasshopper","Must","salamander","painting" ,"bat","Vire","tadpole","venomous snake","big","snail","Fly","Fuck","larva","bat","Spanish fly","small cicada","Check","Mite","python" ,"toad","Kim","intestinal worm","Chi","cicada","crab","sting","horseleech","Great","Seal","mantis","cricket","Korea","grasshopper","cockroach" ,"cricket","Spanish fly","San","cicada","coil","Sank","Blog","midge","toad","cockroach","minute fly","calabash","Cord","Blog","pottery","Poppy" ,"exhausted","Ring","lick","Zhu","born","Book","Deci","Battle","white","strainer","Second","Wat","species of bamboo","flat basket tray","color","Sheng" ,"narrow","basket for trapping fish","Listen","trunk","broom","Share","basket for fruits","Fuck","reed","wicker","bamboo brush for utensils","feast","安","Zi","Yun","Divine" ,"Zi","Zizang","bucket","Xiao","Qing","Givea","trunk","chopsticks","bamboo","Clean","Seed","Rub","South","Kum","Treasure","Flute" ,"Proverb","basket for carrying soil","bamboo grove","musical instrument","cage","round covered basket","horn","Groove","chi","sieve","Blade","male","basket","bamboo fish trap","Gui" ,"bamboo mat","hairpin","large umbrella for stalls","toss","Ala","writing","For a moment","cock","Minding","shoe","provincial judge","bleed at the nose","Small","sampan","big" ,"Strike","That","sampan","Feng","Boat","bow of ship","stern","small boat","Al","rudder","Stern","small boat","Bow","wooden cargo boat","Stat","Talk" ,"quilt","delicate","Cast","fur","Roof","Fold","ram","hydroxyl","Carboxy","Karabak","carbonyl","Xi","Indica","Resist","cake","Shut" ,"Snatch","ground rice","common millet","Carn","Rich","Zongzong","mix","Qi","That","Gigi","official pay","Mix","Embraced","Cheese","Gen","and" ,"Yi","Sheng","Xi","Dictionary","Fei","scissors","Pian","quill","shade","丨","tie","Qi","embroidered banner","forced labor","feather fan","bran" ,"Ko","Charity","reclined","stumble","Shock","urge","blush","ocher","cowpea","Syrup","Tinder","anhydride","strong wine","elixir","Hot" ,"Ji","flushed","Acyl","Moon","ester","strong","Emotion","alcoholic","yeast","sprinkle","Qinone","Mermeal","Go","Di","spiritus" ,"mince","Sauce","Make","Med","Jing","Acetic","ocean","sweet wine","Turn","hog","salt","wholesale","trampling","walk around","Fuck","limp" ,"jump","Bo","callous","instep","stagger","Plain","tarsus","limp","walk","stumble","Lanfa","lame","Tait","My","Steal","Enjoy" ,"just","Steal","Che","wrestle","jump","Shou","Suit","ankle","hesitant","stumble","Tiptty","prostrate","Shake","Stay","tread","kick" ,"heel","hunchbacked","Passing","Scam","limp","trample","chase","Too","footpath","undecided","kick","Website","paw","kick","just","Dampered" ,"follow precedent","overstep","Ci","Shi","sky","mink","speechless","Xiu","tapir","Pi","Hu","dissatisfied","feast","Gou","mouth" ,"Gong","Sound","goblet","Secret","Thank you","Beautiful","Zhu","Li","Wen","Ting","Ji","Pei","Fei","Silent","heavy rain" ,"Oh","sleet","haze","Go","irregular","Buck","shed the milk teeth","bare","Gum","irregular teeth","She","filthy","toad","sea turtle","Carp","ocean" ,"Falcon","June","Ju","Luo","Qu","feud","Sales","Luan","Steel","chisel","iron pot","Slide","Liu","Blog","Xin","Squid" ,"bream","Mao","Boat","Cathound","bass","Just","silver carp","horseshoe crab","mackerel","Salmon","oyster","Tuin","Ox","Sharp","shark","Spirit" ,"sturgeon","Boil","Food","Cartch","bonito","shad","Battle","Gun","shark","Shit","Carrot","mackerel","Full","tiddler","Hering","Kun" ,"Pomba","Capric","salamander","Catmacall","Bream","Shawk","mullet","Ray","Flounder","crocodile","Loach","Bird","sturgeon","Bird","Battle" ,"Ao","fin","Boy","widower","ray","shad","swim bladder","Cod","eel","Bird","Cheer","Mandarin","Eel","Trout","Bird" ,"dressed leather","martingale","Tartar","name","Sharing","saddle blanket","Small","Tanning","back","Take","joint of bones","dice","skeleton","falcon","Sacral","Epiphyseal" ,"skeleton","condyle","thigh","skull","Iliac","Hip","Patient","skull","Celebrity","drought demon","nightmare","Liang","elf","elf","mountain elf","Feast" ,"Satisfied","gluttonous","gluttonous","Sales","shaggy","Hair","mane","beard","Teen","Hun","mustache","Painted","curly","Sharp","Shanghai","Hai" ,"mane","Who","rejoice","sky","muntjac","That","stag","moose","Qi","Bao","musk deer","Lin","Dai","dismiss","dark green","Cry" ,"Soft","Bail","blacken","dark","tattoo","Small","dark","mole","Itachi","Edit","mole","mouse","congested nose","snore","sky" }; /// <summary> /// The corresponding pinyin array of second-level Chinese characters /// </summary> private static string[] otherPinYin = new string[] { "Chu","Ji","Wu","Gai","Nian","Sa","Pi","Gen","Cheng","Ge","Nao","E","Shu","Yu","Pie","Bi", "Tuo","Yao","Yao","Zhi","Di","Xin","Yin","Kui","Yu","Gao","Tao","Dian","Ji","Nai","Nie","Ji", "Qi","Mi","Bei","Se","Gu","Ze","She","Cuo","Yan","Jue","Si","Ye","Yan","Fang","Po","Gui", "Kui","Bian","Ze","Gua","You","Ce","Yi","Wen","Jing","Ku","Gui","Kai","La","Ji","Yan","Wan", "Kuai","Piao","Jue","Qiao","Huo","Yi","Tong","Wang","Dan","Ding","Zhang","Le","Sa","Yi","Mu","Ren", "Yu","Pi","Ya","Wa","Wu","Chang","Cang","Kang","Zhu","Ning","Ka","You","Yi","Gou","Tong","Tuo", "Ni","Ga","Ji","Er","You","Kua","Kan","Zhu","Yi","Tiao","Chai","Jiao","Nong","Mou","Chou","Yan", "Li","Qiu","Li","Yu","Ping","Yong","Si","Feng","Qian","Ruo","Pai","Zhuo","Shu","Luo","Wo","Bi", "Ti","Guan","Kong","Ju","Fen","Yan","Xie","Ji","Wei","Zong","Lou","Tang","Bin","Nuo","Chi","Xi", "Jing","Jian","Jiao","Jiu","Tong","Xuan","Dan","Tong","Tun","She","Qian","Zu","Yue","Cuan","Di","Xi", "Xun","Hong","Guo","Chan","Kui","Bao","Pu","Hong","Fu","Fu","Su","Si","Wen","Yan","Bo","Gun", "Mao","Xie","Luan","Pou","Bing","Ying","Luo","Lei","Liang","Hu","Lie","Xian","Song","Ping","Zhong","Ming", "Yan","Jie","Hong","Shan","Ou","Ju","Ne","Gu","He","Di","Zhao","Qu","Dai","Kuang","Lei","Gua", "Jie","Hui","Shen","Gou","Quan","Zheng","Hun","Xu","Qiao","Gao","Kuang","Ei","Zou","Zhuo","Wei","Yu", "Shen","Chan","Sui","Chen","Jian","Xue","Ye","E","Yu","Xuan","An","Di","Zi","Pian","Mo","Dang", "Su","Shi","Mi","Zhe","Jian","Zen","Qiao","Jue","Yan","Zhan","Chen","Dan","Jin","Zuo","Wu","Qian", "Jing","Ban","Yan","Zuo","Bei","Jing","Gai","Zhi","Nie","Zou","Chui","Pi","Wei","Huang","Wei","Xi", "Han","Qiong","Kuang","Mang","Wu","Fang","Bing","Pi","Bei","Ye","Di","Tai","Jia","Zhi","Zhu","Kuai", "Qie","Xun","Yun","Li","Ying","Gao","Xi","Fu","Pi","Tan","Yan","Juan","Yan","Yin","Zhang","Po", "Shan","Zou","Ling","Feng","Chu","Huan","Mai","Qu","Shao","He","Ge","Meng","Xu","Xie","Sou","Xie", "Jue","Jian","Qian","Dang","Chang","Si","Bian","Ben","Qiu","Ben","E","Fa","Shu","Ji","Yong","He", "Wei","Wu","Ge","Zhen","Kuang","Pi","Yi","Li","Qi","Ban","Gan","Long","Dian","Lu","Che","Di", "Tuo","Ni","Mu","Ao","Ya","Die","Dong","Kai","Shan","Shang","Nao","Gai","Yin","Cheng","Shi","Guo", "Xun","Lie","Yuan","Zhi","An","Yi","Pi","Nian","Peng","Tu","Sao","Dai","Ku","Die","Yin","Leng", "Hou","Ge","Yuan","Man","Yong","Liang","Chi","Xin","Pi","Yi","Cao","Jiao","Nai","Du","Qian","Ji", "Wan","Xiong","Qi","Xiang","Fu","Yuan","Yun","Fei","Ji","Li","E","Ju","Pi","Zhi","Rui","Xian", "Chang","Cong","Qin","Wu","Qian","Qi","Shan","Bian","Zhu","Kou","Yi","Mo","Gan","Pie","Long","Ba", "Mu","Ju","Ran","Qing","Chi","Fu","Ling","Niao","Yin","Mao","Ying","Qiong","Min","Tiao","Qian","Yi", "Rao","Bi","Zi","Ju","Tong","Hui","Zhu","Ting","Qiao","Fu","Ren","Xing","Quan","Hui","Xun","Ming", "Qi","Jiao","Chong","Jiang","Luo","Ying","Qian","Gen","Jin","Mai","Sun","Hong","Zhou","Kan","Bi","Shi", "Wo","You","E","Mei","You","Li","Tu","Xian","Fu","Sui","You","Di","Shen","Guan","Lang","Ying", "Chun","Jing","Qi","Xi","Song","Jin","Nai","Qi","Ba","Shu","Chang","Tie","Yu","Huan","Bi","Fu", "Tu","Dan","Cui","Yan","Zu","Dang","Jian","Wan","Ying","Gu","Han","Qia","Feng","Shen","Xiang","Wei", "Chan","Kai","Qi","Kui","Xi","E","Bao","Pa","Ting","Lou","Pai","Xuan","Jia","Zhen","Shi","Ru", "Mo","En","Bei","Weng","Hao","Ji","Li","Bang","Jian","Shuo","Lang","Ying","Yu","Su","Meng","Dou", "Xi","Lian","Cu","Lin","Qu","Kou","Xu","Liao","Hui","Xun","Jue","Rui","Zui","Ji","Meng","Fan", "Qi","Hong","Xie","Hong","Wei","Yi","Weng","Sou","Bi","Hao","Tai","Ru","Xun","Xian","Gao","Li", "Huo","Qu","Heng","Fan","Nie","Mi","Gong","Yi","Kuang","Lian","Da","Yi","Xi","Zang","Pao","You", "Liao","Ga","Gan","Ti","Men","Tuan","Chen","Fu","Pin","Niu","Jie","Jiao","Za","Yi","Lv","Jun", "Tian","Ye","Ai","Na","Ji","Guo","Bai","Ju","Pou","Lie","Qian","Guan","Die","Zha","Ya","Qin", "Yu","An","Xuan","Bing","Kui","Yuan","Shu","En","Chuai","Jian","Shuo","Zhan","Nuo","Sang","Luo","Ying", "Zhi","Han","Zhe","Xie","Lu","Zun","Cuan","Gan","Huan","Pi","Xing","Zhuo","Huo","Zuan","Nang","Yi", "Te","Dai","Shi","Bu","Chi","Ji","Kou","Dao","Le","Zha","A","Yao","Fu","Mu","Yi","Tai", "Li","E","Bi","Bei","Guo","Qin","Yin","Za","Ka","Ga","Gua","Ling","Dong","Ning","Duo","Nao", "You","Si","Kuang","Ji","Shen","Hui","Da","Lie","Yi","Xiao","Bi","Ci","Guang","Yue","Xiu","Yi", "Pai","Kuai","Duo","Ji","Mie","Mi","Zha","Nong","Gen","Mou","Mai","Chi","Lao","Geng","En","Zha", "Suo","Zao","Xi","Zuo","Ji","Feng","Ze","Nuo","Miao","Lin","Zhuan","Zhou","Tao","Hu","Cui","Sha", "Yo","Dan","Bo","Ding","Lang","Li","Shua","Chuo","Die","Da","Nan","Li","Kui","Jie","Yong","Kui", "Jiu","Sou","Yin","Chi","Jie","Lou","Ku","Wo","Hui","Qin","Ao","Su","Du","Ke","Nie","He", "Chen","Suo","Ge","A","En","Hao","Dia","Ai","Ai","Suo","Hei","Tong","Chi","Pei","Lei","Cao", "Piao","Qi","Ying","Beng","Sou","Di","Mi","Peng","Jue","Liao","Pu","Chuai","Jiao","O","Qin","Lu", "Ceng","Deng","Hao","Jin","Jue","Yi","Sai","Pi","Ru","Cha","Huo","Nang","Wei","Jian","Nan","Lun", "Hu","Ling","You","Yu","Qing","Yu","Huan","Wei","Zhi","Pei","Tang","Dao","Ze","Guo","Wei","Wo", "Man","Zhang","Fu","Fan","Ji","Qi","Qian","Qi","Qu","Ya","Xian","Ao","Cen","Lan","Ba","Hu", "Ke","Dong","Jia","Xiu","Dai","Gou","Mao","Min","Yi","Dong","Qiao","Xun","Zheng","Lao","Lai","Song", "Yan","Gu","Xiao","Guo","Kong","Jue","Rong","Yao","Wai","Zai","Wei","Yu","Cuo","Lou","Zi","Mei", "Sheng","Song","Ji","Zhang","Lin","Deng","Bin","Yi","Dian","Chi","Pang","Cu","Xun","Yang","Hou","Lai", "Xi","Chang","Huang","Yao","Zheng","Jiao","Qu","San","Fan","Qiu","An","Guang","Ma","Niu","Yun","Xia", "Pao","Fei","Rong","Kuai","Shou","Sun","Bi","Juan","Li","Yu","Xian","Yin","Suan","Yi","Guo","Luo", "Ni","She","Cu","Mi","Hu","Cha","Wei","Wei","Mei","Nao","Zhang","Jing","Jue","Liao","Xie","Xun", "Huan","Chuan","Huo","Sun","Yin","Dong","Shi","Tang","Tun","Xi","Ren","Yu","Chi","Yi","Xiang","Bo", "Yu","Hun","Zha","Sou","Mo","Xiu","Jin","San","Zhuan","Nang","Pi","Wu","Gui","Pao","Xiu","Xiang", "Tuo","An","Yu","Bi","Geng","Ao","Jin","Chan","Xie","Lin","Ying","Shu","Dao","Cun","Chan","Wu", "Zhi","Ou","Chong","Wu","Kai","Chang","Chuang","Song","Bian","Niu","Hu","Chu","Peng","Da","Yang","Zuo", "Ni","Fu","Chao","Yi","Yi","Tong","Yan","Ce","Kai","Xun","Ke","Yun","Bei","Song","Qian","Kui", "Kun","Yi","Ti","Quan","Qie","Xing","Fei","Chang","Wang","Chou","Hu","Cui","Yun","Kui","E","Leng", "Zhui","Qiao","Bi","Su","Qie","Yong","Jing","Qiao","Chong","Chu","Lin","Meng","Tian","Hui","Shuan","Yan", "Wei","Hong","Min","Kang","Ta","Lv","Kun","Jiu","Lang","Yu","Chang","Xi","Wen","Hun","E","Qu", "Que","He","Tian","Que","Kan","Jiang","Pan","Qiang","San","Qi","Si","Cha","Feng","Yuan","Mu","Mian", "Dun","Mi","Gu","Bian","Wen","Hang","Wei","Le","Gan","Shu","Long","Lu","Yang","Si","Duo","Ling", "Mao","Luo","Xuan","Pan","Duo","Hong","Min","Jing","Huan","Wei","Lie","Jia","Zhen","Yin","Hui","Zhu", "Ji","Xu","Hui","Tao","Xun","Jiang","Liu","Hu","Xun","Ru","Su","Wu","Lai","Wei","Zhuo","Juan", "Cen","Bang","Xi","Mei","Huan","Zhu","Qi","Xi","Song","Du","Zhuo","Pei","Mian","Gan","Fei","Cong", "Shen","Guan","Lu","Shuan","Xie","Yan","Mian","Qiu","Sou","Huang","Xu","Pen","Jian","Xuan","Wo","Mei", "Yan","Qin","Ke","She","Mang","Ying","Pu","Li","Ru","Ta","Hun","Bi","Xiu","Fu","Tang","Pang", "Ming","Huang","Ying","Xiao","Lan","Cao","Hu","Luo","Huan","Lian","Zhu","Yi","Lu","Xuan","Gan","Shu", "Si","Shan","Shao","Tong","Chan","Lai","Sui","Li","Dan","Chan","Lian","Ru","Pu","Bi","Hao","Zhuo", "Han","Xie","Ying","Yue","Fen","Hao","Ba","Bao","Gui","Dang","Mi","You","Chen","Ning","Jian","Qian", "Wu","Liao","Qian","Huan","Jian","Jian","Zou","Ya","Wu","Jiong","Ze","Yi","Er","Jia","Jing","Dai", "Hou","Pang","Bu","Li","Qiu","Xiao","Ti","Qun","Kui","Wei","Huan","Lu","Chuan","Huang","Qiu","Xia", "Ao","Gou","Ta","Liu","Xian","Lin","Ju","Xie","Miao","Sui","La","Ji","Hui","Tuan","Zhi","Kao", "Zhi","Ji","E","Chan","Xi","Ju","Chan","Jing","Nu","Mi","Fu","Bi","Yu","Che","Shuo","Fei", "Yan","Wu","Yu","Bi","Jin","Zi","Gui","Niu","Yu","Si","Da","Zhou","Shan","Qie","Ya","Rao", "Shu","Luan","Jiao","Pin","Cha","Li","Ping","Wa","Xian","Suo","Di","Wei","E","Jing","Biao","Jie", "Chang","Bi","Chan","Nu","Ao","Yuan","Ting","Wu","Gou","Mo","Pi","Ai","Pin","Chi","Li","Yan", "Qiang","Piao","Chang","Lei","Zhang","Xi","Shan","Bi","Niao","Mo","Shuang","Ga","Ga","Fu","Nu","Zi", "Jie","Jue","Bao","Zang","Si","Fu","Zou","Yi","Nu","Dai","Xiao","Hua","Pian","Li","Qi","Ke", "Zhui","Can","Zhi","Wu","Ao","Liu","Shan","Biao","Cong","Chan","Ji","Xiang","Jiao","Yu","Zhou","Ge", "Wan","Kuang","Yun","Pi","Shu","Gan","Xie","Fu","Zhou","Fu","Chu","Dai","Ku","Hang","Jiang","Geng", "Xiao","Ti","Ling","Qi","Fei","Shang","Gun","Duo","Shou","Liu","Quan","Wan","Zi","Ke","Xiang","Ti", "Miao","Hui","Si","Bian","Gou","Zhui","Min","Jin","Zhen","Ru","Gao","Li","Yi","Jian","Bin","Piao", "Man","Lei","Miao","Sao","Xie","Liao","Zeng","Jiang","Qian","Qiao","Huan","Zuan","Yao","Ji","Chuan","Zai", "Yong","Ding","Ji","Wei","Bin","Min","Jue","Ke","Long","Dian","Dai","Po","Min","Jia","Er","Gong", "Xu","Ya","Heng","Yao","Luo","Xi","Hui","Lian","Qi","Ying","Qi","Hu","Kun","Yan","Cong","Wan", "Chen","Ju","Mao","Yu","Yuan","Xia","Nao","Ai","Tang","Jin","Huang","Ying","Cui","Cong","Xuan","Zhang", "Pu","Can","Qu","Lu","Bi","Zan","Wen","Wei","Yun","Tao","Wu","Shao","Qi","Cha","Ma","Li", "Pi","Miao","Yao","Rui","Jian","Chu","Cheng","Cong","Xiao","Fang","Pa","Zhu","Nai","Zhi","Zhe","Long", "Jiu","Ping","Lu","Xia","Xiao","You","Zhi","Tuo","Zhi","Ling","Gou","Di","Li","Tuo","Cheng","Kao", "Lao","Ya","Rao","Zhi","Zhen","Guang","Qi","Ting","Gua","Jiu","Hua","Heng","Gui","Jie","Luan","Juan", "An","Xu","Fan","Gu","Fu","Jue","Zi","Suo","Ling","Chu","Fen","Du","Qian","Zhao","Luo","Chui", "Liang","Guo","Jian","Di","Ju","Cou","Zhen","Nan","Zha","Lian","Lan","Ji","Pin","Ju","Qiu","Duan", "Chui","Chen","Lv","Cha","Ju","Xuan","Mei","Ying","Zhen","Fei","Ta","Sun","Xie","Gao","Cui","Gao", "Shuo","Bin","Rong","Zhu","Xie","Jin","Qiang","Qi","Chu","Tang","Zhu","Hu","Gan","Yue","Qing","Tuo", "Jue","Qiao","Qin","Lu","Zun","Xi","Ju","Yuan","Lei","Yan","Lin","Bo","Cha","You","Ao","Mo", "Cu","Shang","Tian","Yun","Lian","Piao","Dan","Ji","Bin","Yi","Ren","E","Gu","Ke","Lu","Zhi", "Yi","Zhen","Hu","Li","Yao","Shi","Zhi","Quan","Lu","Zhe","Nian","Wang","Chuo","Zi","Cou","Lu", "Lin","Wei","Jian","Qiang","Jia","Ji","Ji","Kan","Deng","Gai","Jian","Zang","Ou","Ling","Bu","Beng", "Zeng","Pi","Po","Ga","La","Gan","Hao","Tan","Gao","Ze","Xin","Yun","Gui","He","Zan","Mao", "Yu","Chang","Ni","Qi","Sheng","Ye","Chao","Yan","Hui","Bu","Han","Gui","Xuan","Kui","Ai","Ming", "Tun","Xun","Yao","Xi","Nang","Ben","Shi","Kuang","Yi","Zhi","Zi","Gai","Jin","Zhen","Lai","Qiu", "Ji","Dan","Fu","Chan","Ji","Xi","Di","Yu","Gou","Jin","Qu","Jian","Jiang","Pin","Mao","Gu", "Wu","Gu","Ji","Ju","Jian","Pian","Kao","Qie","Suo","Bai","Ge","Bo","Mao","Mu","Cui","Jian", "San","Shu","Chang","Lu","Pu","Qu","Pie","Dao","Xian","Chuan","Dong","Ya","Yin","Ke","Yun","Fan", "Chi","Jiao","Du","Die","You","Yuan","Guo","Yue","Wo","Rong","Huang","Jing","Ruan","Tai","Gong","Zhun", "Na","Yao","Qian","Long","Dong","Ka","Lu","Jia","Shen","Zhou","Zuo","Gua","Zhen","Qu","Zhi","Jing", "Guang","Dong","Yan","Kuai","Sa","Hai","Pian","Zhen","Mi","Tun","Luo","Cuo","Pao","Wan","Niao","Jing", "Yan","Fei","Yu","Zong","Ding","Jian","Cou","Nan","Mian","Wa","E","Shu","Cheng","Ying","Ge","Lv", "Bin","Teng","Zhi","Chuai","Gu","Meng","Sao","Shan","Lian","Lin","Yu","Xi","Qi","Sha","Xin","Xi", "Biao","Sa","Ju","Sou","Biao","Biao","Shu","Gou","Gu","Hu","Fei","Ji","Lan","Yu","Pei","Mao", "Zhan","Jing","Ni","Liu","Yi","Yang","Wei","Dun","Qiang","Shi","Hu","Zhu","Xuan","Tai","Ye","Yang", "Wu","Han","Men","Chao","Yan","Hu","Yu","Wei","Duan","Bao","Xuan","Bian","Tui","Liu","Man","Shang", "Yun","Yi","Yu","Fan","Sui","Xian","Jue","Cuan","Huo","Tao","Xu","Xi","Li","Hu","Jiong","Hu", "Fei","Shi","Si","Xian","Zhi","Qu","Hu","Fu","Zuo","Mi","Zhi","Ci","Zhen","Tiao","Qi","Chan", "Xi","Zhuo","Xi","Rang","Te","Tan","Dui","Jia","Hui","Nv","Nin","Yang","Zi","Que","Qian","Min", "Te","Qi","Dui","Mao","Men","Gang","Yu","Yu","Ta","Xue","Miao","Ji","Gan","Dang","Hua","Che", "Dun","Ya","Zhuo","Bian","Feng","Fa","Ai","Li","Long","Zha","Tong","Di","La","Tuo","Fu","Xing", "Mang","Xia","Qiao","Zhai","Dong","Nao","Ge","Wo","Qi","Dui","Bei","Ding","Chen","Zhou","Jie","Di", "Xuan","Bian","Zhe","Gun","Sang","Qing","Qu","Dun","Deng","Jiang","Ca","Meng","Bo","Kan","Zhi","Fu", "Fu","Xu","Mian","Kou","Dun","Miao","Dan","Sheng","Yuan","Yi","Sui","Zi","Chi","Mou","Lai","Jian", "Di","Suo","Ya","Ni","Sui","Pi","Rui","Sou","Kui","Mao","Ke","Ming","Piao","Cheng","Kan","Lin", "Gu","Ding","Bi","Quan","Tian","Fan","Zhen","She","Wan","Tuan","Fu","Gang","Gu","Li","Yan","Pi", "Lan","Li","Ji","Zeng","He","Guan","Juan","Jin","Ga","Yi","Po","Zhao","Liao","Tu","Chuan","Shan", "Men","Chai","Nv","Bu","Tai","Ju","Ban","Qian","Fang","Kang","Dou","Huo","Ba","Yu","Zheng","Gu", "Ke","Po","Bu","Bo","Yue","Mu","Tan","Dian","Shuo","Shi","Xuan","Ta","Bi","Ni","Pi","Duo", "Kao","Lao","Er","You","Cheng","Jia","Nao","Ye","Cheng","Diao","Yin","Kai","Zhu","Ding","Diu","Hua", "Quan","Ha","Sha","Diao","Zheng","Se","Chong","Tang","An","Ru","Lao","Lai","Te","Keng","Zeng","Li", "Gao","E","Cuo","Lve","Liu","Kai","Jian","Lang","Qin","Ju","A","Qiang","Nuo","Ben","De","Ke", "Kun","Gu","Huo","Pei","Juan","Tan","Zi","Qie","Kai","Si","E","Cha","Sou","Huan","Ai","Lou", "Qiang","Fei","Mei","Mo","Ge","Juan","Na","Liu","Yi","Jia","Bin","Biao","Tang","Man","Luo","Yong", "Chuo","Xuan","Di","Tan","Jue","Pu","Lu","Dui","Lan","Pu","Cuan","Qiang","Deng","Huo","Zhuo","Yi", "Cha","Biao","Zhong","Shen","Cuo","Zhi","Bi","Zi","Mo","Shu","Lv","Ji","Fu","Lang","Ke","Ren", "Zhen","Ji","Se","Nian","Fu","Rang","Gui","Jiao","Hao","Xi","Po","Die","Hu","Yong","Jiu","Yuan", "Bao","Zhen","Gu","Dong","Lu","Qu","Chi","Si","Er","Zhi","Gua","Xiu","Luan","Bo","Li","Hu", "Yu","Xian","Ti","Wu","Miao","An","Bei","Chun","Hu","E","Ci","Mei","Wu","Yao","Jian","Ying", "Zhe","Liu","Liao","Jiao","Jiu","Yu","Hu","Lu","Guan","Bing","Ding","Jie","Li","Shan","Li","You", "Gan","Ke","Da","Zha","Pao","Zhu","Xuan","Jia","Ya","Yi","Zhi","Lao","Wu","Cuo","Xian","Sha", "Zhu","Fei","Gu","Wei","Yu","Yu","Dan","La","Yi","Hou","Chai","Lou","Jia","Sao","Chi","Mo", "Ban","Ji","Huang","Biao","Luo","Ying","Zhai","Long","Yin","Chou","Ban","Lai","Yi","Dian","Pi","Dian", "Qu","Yi","Song","Xi","Qiong","Zhun","Bian","Yao","Tiao","Dou","Ke","Yu","Xun","Ju","Yu","Yi", "Cha","Na","Ren","Jin","Mei","Pan","Dang","Jia","Ge","Ken","Lian","Cheng","Lian","Jian","Biao","Chu", "Ti","Bi","Ju","Duo","Da","Bei","Bao","Lv","Bian","Lan","Chi","Zhe","Qiang","Ru","Pan","Ya", "Xu","Jun","Cun","Jin","Lei","Zi","Chao","Si","Huo","Lao","Tang","Ou","Lou","Jiang","Nou","Mo", "Die","Ding","Dan","Ling","Ning","Guo","Kui","Ao","Qin","Han","Qi","Hang","Jie","He","Ying","Ke", "Han","E","Zhuan","Nie","Man","Sang","Hao","Ru","Pin","Hu","Qian","Qiu","Ji","Chai","Hui","Ge", "Meng","Fu","Pi","Rui","Xian","Hao","Jie","Gong","Dou","Yin","Chi","Han","Gu","Ke","Li","You", "Ran","Zha","Qiu","Ling","Cheng","You","Qiong","Jia","Nao","Zhi","Si","Qu","Ting","Kuo","Qi","Jiao", "Yang","Mou","Shen","Zhe","Shao","Wu","Li","Chu","Fu","Qiang","Qing","Qi","Xi","Yu","Fei","Guo", "Guo","Yi","Pi","Tiao","Quan","Wan","Lang","Meng","Chun","Rong","Nan","Fu","Kui","Ke","Fu","Sou", "Yu","You","Lou","You","Bian","Mou","Qin","Ao","Man","Mang","Ma","Yuan","Xi","Chi","Tang","Pang", "Shi","Huang","Cao","Piao","Tang","Xi","Xiang","Zhong","Zhang","Shuai","Mao","Peng","Hui","Pan","Shan","Huo", "Meng","Chan","Lian","Mie","Li","Du","Qu","Fou","Ying","Qing","Xia","Shi","Zhu","Yu","Ji","Du", "Ji","Jian","Zhao","Zi","Hu","Qiong","Po","Da","Sheng","Ze","Gou","Li","Si","Tiao","Jia","Bian", "Chi","Kou","Bi","Xian","Yan","Quan","Zheng","Jun","Shi","Gang","Pa","Shao","Xiao","Qing","Ze","Qie", "Zhu","Ruo","Qian","Tuo","Bi","Dan","Kong","Wan","Xiao","Zhen","Kui","Huang","Hou","Gou","Fei","Li", "Bi","Chi","Su","Mie","Dou","Lu","Duan","Gui","Dian","Zan","Deng","Bo","Lai","Zhou","Yu","Yu", "Chong","Xi","Nie","Nv","Chuan","Shan","Yi","Bi","Zhong","Ban","Fang","Ge","Lu","Zhu","Ze","Xi", "Shao","Wei","Meng","Shou","Cao","Chong","Meng","Qin","Niao","Jia","Qiu","Sha","Bi","Di","Qiang","Suo", "Jie","Tang","Xi","Xian","Mi","Ba","Li","Tiao","Xi","Zi","Can","Lin","Zong","San","Hou","Zan", "Ci","Xu","Rou","Qiu","Jiang","Gen","Ji","Yi","Ling","Xi","Zhu","Fei","Jian","Pian","He","Yi", "Jiao","Zhi","Qi","Qi","Yao","Dao","Fu","Qu","Jiu","Ju","Lie","Zi","Zan","Nan","Zhe","Jiang", "Chi","Ding","Gan","Zhou","Yi","Gu","Zuo","Tuo","Xian","Ming","Zhi","Yan","Shai","Cheng","Tu","Lei", "Kun","Pei","Hu","Ti","Xu","Hai","Tang","Lao","Bu","Jiao","Xi","Ju","Li","Xun","Shi","Cuo", "Dun","Qiong","Xue","Cu","Bie","Bo","Ta","Jian","Fu","Qiang","Zhi","Fu","Shan","Li","Tuo","Jia", "Bo","Tai","Kui","Qiao","Bi","Xian","Xian","Ji","Jiao","Liang","Ji","Chuo","Huai","Chi","Zhi","Dian", "Bo","Zhi","Jian","Die","Chuai","Zhong","Ju","Duo","Cuo","Pian","Rou","Nie","Pan","Qi","Chu","Jue", "Pu","Fan","Cu","Zhu","Lin","Chan","Lie","Zuan","Xie","Zhi","Diao","Mo","Xiu","Mo","Pi","Hu", "Jue","Shang","Gu","Zi","Gong","Su","Zhi","Zi","Qing","Liang","Yu","Li","Wen","Ting","Ji","Pei", "Fei","Sha","Yin","Ai","Xian","Mai","Chen","Ju","Bao","Tiao","Zi","Yin","Yu","Chuo","Wo","Mian", "Yuan","Tuo","Zhui","Sun","Jun","Ju","Luo","Qu","Chou","Qiong","Luan","Wu","Zan","Mou","Ao","Liu", "Bei","Xin","You","Fang","Ba","Ping","Nian","Lu","Su","Fu","Hou","Tai","Gui","Jie","Wei","Er", "Ji","Jiao","Xiang","Xun","Geng","Li","Lian","Jian","Shi","Tiao","Gun","Sha","Huan","Ji","Qing","Ling", "Zou","Fei","Kun","Chang","Gu","Ni","Nian","Diao","Shi","Zi","Fen","Die","E","Qiu","Fu","Huang", "Bian","Sao","Ao","Qi","Ta","Guan","Yao","Le","Biao","Xue","Man","Min","Yong","Gui","Shan","Zun", "Li","Da","Yang","Da","Qiao","Man","Jian","Ju","Rou","Gou","Bei","Jie","Tou","Ku","Gu","Di", "Hou","Ge","Ke","Bi","Lou","Qia","Kuan","Bin","Du","Mei","Ba","Yan","Liang","Xiao","Wang","Chi", "Xiang","Yan","Tie","Tao","Yong","Biao","Kun","Mao","Ran","Tiao","Ji","Zi","Xiu","Quan","Jiu","Bin", "Huan","Lie","Me","Hui","Mi","Ji","Jun","Zhu","Mi","Qi","Ao","She","Lin","Dai","Chu","You", "Xia","Yi","Qu","Du","Li","Qing","Can","An","Fen","You","Wu","Yan","Xi","Qiu","Han","Zha" }; #endregion Secondary Chinese Characters #region variable definition // GB2312-80 The first Chinese character in the standard specification. That is, the internal code of "Ah" private const int firstChCode = -20319; // GB2312-80 The machine code of the last Chinese character in the standard specification. That is, the machine code of "sky" private const int lastChCode = -2050; // GB2312-80 The machine code of the last first-level Chinese character in the standard specification. That is, the machine code of the "slot" private const int lastOfOneLevelChCode = -10247; // Configure Chinese characters //static Regex regex = new Regex("[\u4e00-\u9fa5]$"); #endregion #endregion /// <summary> /// Take the first field of pinyin /// </summary> /// <param name="ch"></param> /// <returns></returns> public static String GetFirst(Char ch) { var rs = Get(ch); if (!(rs)) rs = (0, 1); return rs; } /// <summary> /// Take the first field of pinyin /// </summary> /// <param name="str"></param> /// <returns></returns> public static String GetFirst(String str) { if ((str)) return ; var sb = new StringBuilder( + 1); var chs = (); for (var i = 0; i < ; i++) { (GetFirst(chs[i])); } return (); } /// <summary> /// Get single word pinyin /// </summary> /// <param name="ch"></param> /// <returns></returns> public static String Get(Char ch) { // Latin characters if (ch <= '\x00FF') return (); // Punctuation marks, separators if ((ch) || (ch)) return (); // Non-Chinese characters if (ch < '\x4E00' || ch > '\x9FA5') return (); var arr = ("gb2312").GetBytes(()); //Although it is GB2312 in the Chinese environment by default, it may be other in a changing environment //var arr = (()); var chr = (Int16)arr[0] * 256 + (Int16)arr[1] - 65536; //***/ Single character - English or half-width character if (chr > 0 && chr < 160) return (); #region Chinese character processing // Determine whether it exceeds the Chinese character range in the GB2312-80 standard if (chr > lastChCode || chr < firstChCode) { return ();; } // If it is in first-class Chinese characters else if (chr <= lastOfOneLevelChCode) { // Divide the first-level Chinese characters into 12 pieces, each with 33 Chinese characters. for (int aPos = 11; aPos >= 0; aPos--) { int aboutPos = aPos * 33; //Scan from the last block. If the in-machine code is larger than the first in-machine code of the block, it means that in this block if (chr >= pyValue[aboutPos]) { // ("exist in the " + () + " block, the first in-machine code of this block is: " + pyValue[aPos * 33].ToString()); // traverse each syllable machine code in the block and start scanning from the last syllable machine code. // If the syllable code is smaller than the machine code, then take this syllable code for (int i = aboutPos + 32; i >= aboutPos; i--) { if (pyValue[i] <= chr) { // ("Find the first in-computer code that is smaller than the in-computer code to be found: " + pyValue[i].ToString()); return pyName[i]; } } break; } } } // If it is in secondary Chinese characters else { int pos = (otherChinese, ()); if (pos != ) { return otherPinYin[pos]; } } #endregion Chinese character processing //if (chr < -20319 || chr > -10247) { // Unknown characters // return null; //for (var i = - 1; i >= 0; i--) //{ // if (pyValue[i] <= chr) return pyName[i];//This can only correspond to the array already defined //} return ; } /// <summary> /// Convert Chinese characters to pinyin (full spelling) /// </summary> /// <param name="str">Chinese character string</param> /// <returns>Converted Pinyin (full spelling) string</returns> public static String Get(String str) { if ((str)) return ; var sb = new StringBuilder( * 10); var chs = (); for (var j = 0; j < ; j++) { (Get(chs[j])); } return (); } } }
The above is all the content of this article. I hope it will be helpful to everyone's study and I hope everyone will support me more.