SQL Server writes a function to get Chinese pinyin code (first letter)
Create function fun_getpy (@str nvarchar (4000))
Returns nvarchar (4000)
As
Begin
DECLARE @word nchar (1), @PY nvarchar (4000)
Set @PY = '
While Len (@str) >0
Begin
Set @
Copy Code code as follows:
/* -------------------------------------------------------------
Function: Fn_getpinyin
Description: Chinese pinyin (no data table version)
Use: Dbo.fn_getpinyin (' People's Republic of China ') =
This thing traces back to the year before August of an article "10 steps to find the new Microsoft Pinyin Experience mode", in fact, is a manual registration of a COM finished, but the big Microsoft can get the registry permissions to screen,
The following methods are found on the Internet and feel useful (for example, you can combine Ajax techniques to find Chinese characters through Hanyu Pinyin).
But the following methods, many Chinese characters can not give a positive solution (such
The example of this article for you to share the C # conversion to pinyin abbreviation of the implementation code for your reference, the specific content as follows
Using System;
Using System.Configuration;
Using System.Data;
Using
$piny = Array (' A ' =>-20319,' Ai ' =>-20317,' An ' =>-20304,' Ang ' =>-20295);Echo getchinesespells (' China web first station www.111cn.net ');Take all pinyin of Chinese charactersfunction Getchinesespells ($chinese, $delimiter = ', $first
In GB 2312, the received Chinese characters are "partitioned", with 94 characters/symbols per zone. This representation is also called Location code. 1) Area 01-09 is a special symbol. 2) 16-55 is a first-level Chinese character, sorted by
-- Question
It was the hottest season of the year in the city, and the sound of learning English was mixed with the beauty. The summer vacation has been so hasty. Yes, when everyone is feeling fast, there is such a kind of person who insists on doing one thing every day, such people are good. I also felt that the time was so fast that I would start school tomorrow. I copied the English summary that I have already written.
I want to talk about my English without talking about computer learning. R
done So if there is a gap in this area, the gap is not big Comparison of the origins of Chinese and phonetic writing Now, some people think that this means that the phonetic alphabet is more advanced text, so the phonetic text defeated the ideographic/Italian tone, in fact, single from the development history of the t
the phonetic paste into the document to get the phonetic "yuèluòwūtíshuāngmǎntiān" of the verse quickly and accurately, for the sake of layout beauty, It is recommended that the phonetic font be set to "Chinese Yao Body". This font, the phonetic structure is more compact, and "a" "G" and other font display effect and
JSON object format
public class UserInfo
{
public string name {get; set;}
public string ID {get; set;}
public string py {get; set;}
}
protected void Getusers ()
{
Get user information, and the phonetic code for each record
Listlistforeach (User item in list)
{
UserInfo userinfo= new UserInfo ();
Userinfo.id = Item. UserId;
Userinfo.name = Item. User Name;
userinfo.py = Getpy (item. UserName);
Userinfolist. ADD (UserInfo);
}
JavaSc
. Keep this passion for tomorrow. It is ready to go, so that you can be more comfortable with it.As a matter of fact, it is not necessary to write the new concept book. Our junior high school English books and high school English books are all good materials for laying the foundation. I advise everyone not to despise them. 12. I have no problem reading. I have passed 6 levels, but I cannot understand or speak English. Most people are in this situation of "Chinese-style reading" English. That is
At present, primary school English involves mastering the pronunciation rules of vowels and common letter combinations. Students can still grasp this aspect, but most students still rely on rote memorization, in fact, we need to master their pronunciation rules.
English pronunciation rules
Pronunciation of vowels in re-Stressed syllables
A
In the opening syllable
[Ei]
Name plane Jane baby cake
In closed syllables
[?]
Bag Dad hat map black back
E
In the opening syllable
[I:]
He these me Chinese
follows:Pinyin is a separate occurrence!Then, take the long word for example, for its group of words also add pinyin, and is the form of superscript, as follows:Also, by selecting the "Long" word, you will find that pinyin and kanji are one, as follows:How do you do it?There are two things you can borrow:One is Sogou input method soft Keyboard, right-click Soft Keyboard icon, select "Phonetic Alphabet", th
128
C1 control operator and Latin supplement-1
C1 Control and Latin 1 Supplement
256
383
0100
017F
128
Latin extension-
Latin Extended-
384
591
0180
024F
208
Latin extension-B
Latin Extended-B
592
687
0250
02AF
96
International Phonetic Alphabet Extension
IPA Extensions
688
767
02B0
02FF
80
Bla
prompt you to correct the search vocabulary.
So how does Baidu prompt the correct vocabulary? It is obviously through pinyin, such as I input query "system only", Baidu provide tips for the word: ": Sanctions on the quality of paper materials," are homonym. So Baidu must maintain a homonym dictionary, which retains a homonym information, such as may contain the following entry: " Zhi Caià Sanctions, quality materials, paper materials ", there is also a note Pinyin program, can now see the basi
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.