This article is a mirror article of machine translation, please click here to jump to the original article.

View: 64221|Reply: 8

[Source] .net/c# get all Chinese characters and all pinyin [source code]

[Copy link]
Posted on 5/6/2018 9:09:29 PM | | | |
Number of all Chinese characters: 18428



Get all the kanji pinyin complete! There are 403 in total, as shown below:







Chinese characters to pinyin use the Microsoft language package to implement Chinese characters to pinyin, which can be installed with the nuget command:



We test the words "row" and "heavy" and output the following results:

HANG2
HANG4
HANG5
HENG2
HENG5
XING2
XING4

CHONG2
ZHONG4
As you can see, it is very correct, attaching the main code:



All Chinese character files (deduplicated)

hanzi.txt (78.42 KB, Number of downloads: 2, 售价: 1 粒MB)

All Pinyin (deduplicated)

pinyin.txt (2.06 KB, Number of downloads: 2, 售价: 1 粒MB)

Finally, attach the source code of the program:

Tourists, if you want to see the hidden content of this post, pleaseReply





Previous:Functions that keep two decimal places after the decimal point in C# and how to use them
Next:Firefox enables the Java virtual machine in Firefox
Posted on 5/7/2018 2:38:19 AM |
Thank you for sharing
Posted on 5/7/2018 4:48:26 PM |
Mark it up, not used for the time being!
Posted on 5/8/2018 9:20:02 AM |
Thank you for sharing
Posted on 5/8/2018 9:35:42 AM |
What's the use of getting this?
Posted on 5/8/2018 10:44:48 AM |
Simplified spelling improves query speed
Posted on 1/19/2019 2:12:31 PM |
How to refine to the tone
Posted on 1/21/2019 3:30:00 PM |
Assad Stephen Stephen, thank you, landlord
 Landlord| Posted on 2/26/2021 1:53:13 PM |
.NET Core Chinese Character Generation Pinyin Solution
https://www.itsvse.com/thread-9572-1-1.html
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com