In our last class, we introduced the example of the first letter implementation of the PHP kanji to be shared, then in our Chinese language there is an uncommon word, uncommon word is also called obscure word, refers to the uncommon or unfamiliar Chinese characters. Since the Chinese
;release ();}The Chinese sentence to be parsedWidestring wstrinput = widestring ("Chinese character plus phonetic demonstration of the demon Brother Long Live");Morrslt *pmorrslt;Add Pinyin to Chinese characters by Getjmorphresult methodif (Pifelanguage->getjmorphresult (Fel
Terminator: converts Chinese characters into pinyin characters using the jar package related to pinyin4j
Import net. sourceforge. pinyin4j. pinyinHelper; import net. sourceforge. pinyin4j. format. hanyuPinyinCaseType; import net. sourceforge. pinyin4j. format. hanyuPinyinOutputFormat; import net. sourceforge. pinyin4j.
Recently, you need to add the Bluetooth phone book function on the car. One of the most important functions is to query the phone book through the pinyin or first letter of the person's name, A better implementation method is to first convert the Chinese name in the phone book to the first letter corresponding to the Pinyin and
Java _ open-source framework _ JPinyin open-source Java library for converting Chinese characters to PinYin1. Introduction
JPinyin is an open-source Java class library for converting Chinese characters to pinyin. Based on the functions of PinYin4j, some improvements have
[] toYalePinyinStringArray (char ch)
Convert to yeyun pinyin: http://zh.wikipedia.org/zh-cn/%E8%80%B6%E9%AD%AF%E6%8B%BC%E9%9F%B3
Static public String [] toGwoyeuRomatzyhStringArray (char ch)
Conversion to Mandarin Rome: http://zh.wikipedia.org/wiki/%E5%9C%8B%E8%AA%9E%E7%BE%85%E9%A6%AC%E5%AD%97
For the PinYin conversion of "weight", the results obtained by the above methods are:
This article mainly introduces the python library for converting Chinese characters into Chinese pinyin, which involves Python calling word. the data field function is very useful for converting Chinese characters to
Converts Chinese characters to pinyin, and converts the first letter of each Chinese character to uppercase, for example, dalian, dalian, D, l, and other letters to lowercase.
Reply to discussion (solution)
Can you help me solve this problem? Solution
The code for converting C
Converts Chinese characters to pinyin and uppercase letters of each Chinese character, such as dalian. I convert them to dalian, and convert them to D and l to L, in addition, other letters are shared in lower case: more Chinese characte
), dbo. fun_getbh (People's Republic of China) Execution result: the total number of strokes is 39 and 46, both in simplified and Traditional Chinese.Of course, you can also change the Chinese characters and strokes in the above "union all" to a fixed table.Create clustered index for the column, and set the column sorting rule:Chinese_prc_stroke_cs_as_ks_wsThis is faster. If you are using a big5 code operat
/* Result:ID name-------------------------------42 countries3 personsMedium*/
Example 2: sort the content of the table name column by the last name strokes:
Create Table # T (ID int, name varchar (20 ))
Insert # T select 1, 3Union all select 2, BUnion all select 3, twoUnion all select 4, oneUnion all select 5, tenSelect * from # T order by name collate chinese_prc_stroke_cs_as_ks_wsDrop table # T/* Result:ID name-------------------------------4yi2 B3 II5th1 3*/
4. Application extension of sortin
Converts Chinese characters to pinyin and uppercase letters of each Chinese character, such as dalian. I convert them to dalian, and convert them to D and l to L, in addition, other letters are shared in lower case: more -- convert Chinese
The Chinese Input Method of ubuntu12 cannot see pinyin. Only Chinese characters can be seen during typing. -- Linux general technology-Linux technology and application information. For details, refer to the following section. To solve the txt Garbled text, we ran a command: gsettings set org. gnome. gedit. preferences.
Converts Chinese characters to pinyin and uppercase letters of each Chinese character, such as dalian. I convert them to dalian, and convert them to D and l to L, in addition, other letters are converted to pinyin in lower case, and the first letter of each
Package test;
/**** @ Author moxie system128 (AT) Gmail. com converts Chinese characters to Chinese pinyin**/Public class spellcnhelper {
Public static void main (string [] ARGs ){Spellcnhelper Sch = new spellcnhelper ();System. Out. println (Sch. getspell ("What is the weather like in Beijing today? "));
// However, s
The general meaning is as follows: Change "today, Monday, the weather is good" to amp; quot; jin-tian-zhou-yi-tian-qi-Taobao-hao amp; quot; the general meaning is as follows:
Put "today, Monday, the weather is good"
After being processed by a php program, it becomes "jin-tian-zhou-yi-tian-qi-Yun-hao"
Reply content:
The general meaning is as follows:
Put "today, Monday, the weather is good"
After being processed by a php program, it becomes "jin-tian-zhou-yi-tian-qi-Yun-hao"
I used to refe
Later I thought that I had a pinyin player in Delphi.
Code . So I found it. The Code is as follows:
Copy code The Code is as follows: function get_hz_pywb (hzstr: string; pytype: integer): string;
VaR
I: integer;
Allstr: string;
Hh: thandle;
PP: pointer;
SS: tstringlist;
Function retturn_wbpy (tempstr: string; tqtype: integer): string;
VaR
Outstr, STR: string;
I: integer;
Begin
// #################### Chinese
You can use pinyin4j. jar to convert Chinese characters to pinyin. The Code is as follows:
[Java]
View plaincopyprint?
Package mainapp;
Import net. SourceForge. pinyin4j. pinyinhelper;
Import net. SourceForge. pinyin4j. format. hanyupinyincasetype;
Import net. SourceForge. pinyin4j. format. hanyupinyinoutputformat;
Import net. SourceForge. pinyin4j. for
(Author: finallyly Source: Author and source)
Converting Chinese characters into Pinyin is actually a non-technical activity, nothing more than a look-up table. There may be fewer open-source conversion programs on the network due to the valuable resources of converting tables from Chinese
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.