Php function for converting Chinese characters into pinyin
/*---
* Function: convert Chinese characters to pinyin
* Function: Pinyin
*/
Function Pinyin ($ _ String, $ _ Code = 'gb2312 ')
{
$ _ DataKey = "a | ai | an | ang | ao | ba | bai | ban | bang | bao
Article Title: intelligent PinYin Input Method in UbuntuLinux8.04 system. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. install smart pinyin in scim
Update System:
Sudo apt-get update
Sudo apt-get upgrade
You do not need to restart the system. Choose system> pr
Recently, the conversion from Chinese characters to PinYin was used, so this article was found in many search result interference items. Because the original article has clear ideas and unique points of view, it is reproduced here. In essence, this article uses the lookup table method. The full text is basically a dictionary acquisition method.
Note: This article is transferred from http://blog.verycd.com/dash/cmd=showentryeid=1677, the following is t
Note: I am using 32-bit (i686) Fedora20, The x86-x64 will be different. The article is written after the operation is successful. it is not guaranteed that each command is correct, but the idea is correct. Sogou Pinyin input method is probably the best Chinese Input Method for Linux. However, it is estimated that only the deb package is available for commercial reasons. Someone provides an rpm package for the x86-x64 online, but I'm using i686. So do
This function is written in SQL SERVER 2008. Due to limited time, there are still many problems to be solved: If you need a database with pinyin words (some databases only have the first pinyin words, not Suitable). Currently, this function can only convert a string of Chinese characters (without any punctuation, letters or special characters in the middle. I will improve this function if I have time. Pleas
There are many algorithms for ASP and PHP to use Chinese pinyin, but these algorithms are not very effective in C # Because in ASP, PHP, Delphi, and other languages, they represent characters in the "ANSI" way, that is, the program stores the inner code of Chinese characters, and all characters in C # Are Unicode, not Chinese characters inner code, therefore, the simple application of PHP and ASP to obtain Chinese
Original Text excerptItecn blog, Author: BasinOriginal article address:Click to viewItecn blogIt is composed of nearly 40 Microsoft MVPs, MCT, and Microsoft employees. It aims to promote Microsoft it pro technology.Prepared BasinDifficulty level200LinkHttp://blogs.itecn.net/blogs/winvista/archive/2006/10/08/3777.aspxIntroduction to the Windows Vista LibraryHttp://vista.itecn.net/To study and promote the Windows Vista technology, which consists of multiple Microsoft MVPs and other technology enth
Comrades, you can see that I have installed our PinYin Input Method on my own system by posting a blog in Chinese.
Well, let me first talk about my system. I am ubuntu13.04, a 32-bit system. The English version of the installation is not selected during installation.
So today I didn't bring that windows computer, but a ubuntu system. I wanted to use sublime2, found some information on the Internet, and then installed it successfully. I would like to s
I have seen many people use Chinese pinyin as variable names, including used in databases, such as database names, table names, and field names, including in java/c #/c ++/javascript.
What is used as the variable name is harmless. Using Chinese pinyin as the variable name is much better than using Chinese characters as the variable name.
The problem is that in Chinese, there are too many homophone character
Paip. Improve development efficiency-use Pinyin
Recently, many projects have been developed using pinyin, greatly improving the efficiency ..
1. User InterfaceIn terms of user interface, there are many textbox. I used to use the default name without changing it. In this way, when bind form to OBJ, you need to set the corresponding string of its ID and OBJ attribute .. And
Poor readability ..
Now all
php-Chinese Pinyin first letter tool class, php-Chinese character tool class
Php/** * Chinese Pinyin First Letter tool class * Note: English strings: Unchanged returns (including numbers) eg. abc123 = abc123* Chinese string: Returns the phonetic first character eg. test string = cszfc* Chinese-English mixed string: Returns the pinyin first character and Englis
IOS-Fuzzy SearchHere the fuzzy search is not in the data, but in the array, or where you need itFirst look at the effect:Before you search:After search:The following ideas explain:1. Define an array to load the dataHere we need to define a model, load the contents of the array, add two variables in the model, one is pinyin, one is the first letter of the pinyin2. When the array is loaded into the model, get an object in the array to
ASP-Pinyin to ChineseRequirements background:Yesterday encountered a problem, is the face of centralized system to set a large number of users to set the default user name, password, permissions (role), while requiring the user name is the full spelling of the name, looking back to the next guy, his arm-in-the-sleeve ready to set a manual, my eyes are not consciously pumped, Because this need to set up the customer account is only bedrooms people, tha
Google Pinyin Input method is a lot of computer users are in the use of input method, which, Google Pinyin Input method status bar with the Chinese-English switch, full angle/half corner switch functions, but, these functions can be through the shortcut keys to operate, so, Many computer users will choose Google Pinyin Input method to hide the status bar, then, G
A Web site can be unlimited, your site can be the achievement of your career!This is not an empty word, but a workable solution.Today ze Yip Construction Station NET Webmaster Yang Zeyi to explain to you the most simple website function increase.Now added is the "Kanji to Pinyin" The new function as an example, let you know, your site can add countless features.Because I am communicating with other people, many people send the name, incredibly often c
I. Description of the problemConvert Chinese characters into corresponding pinyin or get the first letter of Chinese pinyin, these are often encountered in the development of the problem, in the acquisition of Chinese pinyin or pinyin of the first letter, we in the referral or search department can greatly improve the
Sogou Pinyin Input method is not only the latest sharp, the fastest input pinyin input method, or the most beautiful, most personalized input method.
1. Sogou Pinyin Input Method skin download
For more sogou Pinyin input method skin, can be from sogou Pinyin input method o
The method I provide has the following characteristics:1. Code simplification, simple to use, as long as the basic SQL statement will be the line2. No need to build MySQL functions and other complex things3. The most complete Chinese character library, can query 20,902 charactersHere's how:1. Establishment of pinyin first letter data sheetSQL code: (preferably plus primary key and index)
DROP TABLE IF EXISTS '
Because the word segmentation of sunpinyin is too inaccurate, it is recommended that Google Pinyin and cloud pinyin be used under Fedora18, so I want to try it out. As the ora source is Google pinyin, You have to compile it by yourself and make a record for backup. # Install fcitx $ sudoyuminstallfcitx # Install devel $ sudoyuminstallfcitx-devel # Install the fci
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.