CN1779620B - Building method for Chinese inputting system, Chinese phonetic inputting system and method - Google Patents
Building method for Chinese inputting system, Chinese phonetic inputting system and method Download PDFInfo
- Publication number
- CN1779620B CN1779620B CN 200410155480 CN200410155480A CN1779620B CN 1779620 B CN1779620 B CN 1779620B CN 200410155480 CN200410155480 CN 200410155480 CN 200410155480 A CN200410155480 A CN 200410155480A CN 1779620 B CN1779620 B CN 1779620B
- Authority
- CN
- China
- Prior art keywords
- phonetic
- index
- chinese character
- input
- initial consonant
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Abstract
A Chinese character input system comprises the first storage unit, the second storage unit, the third storage unit, the first index, the second index and input control unit. It features that said input control unit works as receiving phonetic alphabet initial consonant input and utilizing the second index to select out required phonetic alphabet from the second storage unit or receiving required phonetic alphabet input and utilizing the first index to select out Chinese character from the first storage unit then outputting it. A method for setting up said system and a method for inputting Chinese phonetic alphabet are also disclosed.
Description
Technical field
The present invention relates to a kind of Chinese character input system and method, particularly a kind of Chinese character phonetic input system and method.
Background technology
In traditional input method of Chinese character, the character library of Chinese character all is all typings of all Chinese characters, perhaps does character library according to the classification of Chinese character, can not be according to the choice that should be used for carrying out Chinese character of reality.Be made in the dedicated system of some hardware resource relative deficiency very inapplicable like this.For example in auto-navigation system,, make the wasting of resources undoubtedly because the location point in a city and the used Chinese character of street data comprise all Chinese characters than many (generally lacking more than 50%) that the actual Chinese character that has lacks as if in the character library.In addition, in traditional input method, phonetic of every input all has the option of a lot of Chinese characters as input, needs the user further to select from these Chinese characters again, and this selection course makes that undoubtedly the bulk velocity of input greatly reduces.
In addition, traditional spelling input method all is to import seriatim according to the order of letter in the phonetic, has so also increased input step, makes input efficiency reduce.
Summary of the invention
Technical matters to be solved by this invention is, a kind of Chinese character phonetic input system and method are provided, and avoids hardware resource waste and the relative not high problem of input efficiency in the existing Chinese character input.
Technical scheme of the present invention is, a kind of method for building up of Chinese character input system is provided, and may further comprise the steps: select all included Chinese characters from application system, and set up character library; Generation comprises the phonetic storehouse of all phonetics of all Chinese characters in the described character library, and sets up first index of described phonetic to Chinese character; Generation comprises the initial consonant storehouse of all initial consonants of all phonetics in the described phonetic storehouse, and sets up second index of described initial consonant to described phonetic.
The present invention also provides a kind of Chinese character phonetic input system, second storage unit of the phonetic that comprise first storage unit that stores all Chinese characters that use in the application system, stores described Chinese character and the 3rd storage unit that stores the initial consonant of described phonetic, also comprise second index and the Input Control Element of described phonetic to first index of Chinese character, described initial consonant to described phonetic, wherein said Input Control Element is carried out following operation: receive the initial consonant input of phonetic; Determine required phonetic by second index from all phonetics of the described initial consonant correspondence of second memory cell storage and according to selecting, perhaps receive the input of required phonetic; By of Chinese character and the output of first index from the storage of first memory cell.
In the above-mentioned Chinese character phonetic input system, described Input Control Element comprises and is used for initialization first index and second index initialization unit and the retrieval unit that described retrieval unit is carried out following operation: (a) receive the initial consonant input; (b) inquire all phonetics of the described initial consonant correspondence in second storage unit; (c) from first storage unit, inquire all corresponding Chinese characters according to the appointment phonetic of from described phonetic, selecting, and the Chinese character of output appointment.
In the above-mentioned Chinese character phonetic input system, described initialization module is carried out following operation: resolve described first index and second index; According to the structure of described index, generate the storage initial consonant to first Hash table of the mapping of phonetic and store second Hash table of phonetic to the mapping of Chinese character.
The present invention also provides a kind of Chinese character phonetic input method, may further comprise the steps:
(a) initialization first index and second index;
(b) receive the initial consonant input;
(c) inquire all phonetics of the described initial consonant correspondence in second storage unit;
(d) from first storage unit, inquire all corresponding Chinese characters according to the appointment phonetic of from described phonetic, selecting, and the Chinese character of output appointment.
In the above-mentioned Chinese character input method, step (a) may further comprise the steps:
(a1) resolve described first index and second index;
(a2), generate the storage initial consonant to first Hash table of the mapping of phonetic and store second Hash table of phonetic to the mapping of Chinese character according to the structure of described index.
Chinese character input system of the present invention and method can realize the quick input of Chinese character in the system that hardware resource lacks relatively.
Description of drawings
Fig. 1 is a process flow diagram of setting up Chinese character input system of the present invention.
Fig. 2 is the structural representation that Chinese character input system of the present invention is formed.
Fig. 3 is the process flow diagram of Chinese character input method of the present invention.
Embodiment
Present embodiment is foundation, formation and the operating process that example illustrates Chinese character input system of the present invention with the satellite navigation system.As shown in Figure 1, be the process flow diagram of setting up Chinese character input system of the present invention.At first, all Chinese characters in the retrieve application system, and set up a character library (step S11).This step realizes by one first enquiry module, and this first enquiry module reads in all information points in the electronic chart of satellite navigation system, and the different Chinese character output that will wherein occur is to character library.Comprise all Chinese characters of using in the navigational system in this character library, and each Chinese character only occurs once, and the quantity of word greatly reduces with respect to general character library in should the special use character library, thereby can take storage space still less, also can take other hardware resources still less in other operations.
Then, retrieve all phonetics of the Chinese character in the above-mentioned character library by one second enquiry module, and generate a phonetic storehouse, this second enquiry module reads in all Chinese characters in the character library, and all phonetics of output Chinese character are to the phonetic storehouse; Simultaneously, second enquiry module also generates first index (step S12) of a phonetic to Chinese character.First index comprises pinyin term and the Chinese character item corresponding with phonetic at least.
At last, select all initial consonants of the phonetic correspondence in the above-mentioned phonetic storehouse by one the 3rd inquiry module, and generate an initial consonant storehouse, generate second index (step S13) of an initial consonant simultaneously to phonetic.Above-mentioned the 3rd inquiry module is read in all phonetics in the phonetic storehouse, and the output initial consonant is to the initial consonant storehouse.Second index comprises initial consonant item and the pinyin term corresponding with initial consonant at least.
As shown in Figure 2, Chinese input unit of the present invention comprises Input Control Element 20 and storage system 24.The software module of Input Control Element 20 in processor, carrying out, it can comprise temporary storing device, storage system 24 is then for storing the device of non-ephemeral data.
Input Control Element 20 is used to provide the interface of Chinese character input and the flow process of carrying out input operation, and it comprises initialization unit 21 and retrieval unit 22.Wherein initialization unit 21 is used for initialization first index 26 and second index 28.This initialization procedure comprises and is written into first index 26 and second index 28, and transfers above-mentioned index file to can carry out fast query structure.In the present embodiment, initialization unit 21 transfers first index 26 to first Hash table, and transfers second index 26 to second Hash table.Below to generate the transfer process that first Hash table is an example explanation Hash table: resolve first index 26, and one by one phonetic be converted to the key word of Hash table, and set up hash function, thereby generate Hash table according to the memory location of the Chinese character of index indication.Because the method for the Hash table that adopts makes the speed of retrieval become very fast, because it does not need to search, Hash table can directly navigate to the position at data place by hash function.Certainly, initialization unit 21 also can adopt additive method to transfer first, second index 26,28 to structure that other can be searched for fast.
Compare with general input system, the setting by above-mentioned character library, phonetic storehouse and initial consonant storehouse has not only reduced the requirement of storage space, owing to got rid of useless word, phonetic etc., has realized that the Chinese character under low hardware configuration is imported fast simultaneously.
As shown in Figure 3, be the process flow diagram of Chinese character input method of the present invention.At first, the initialization unit 21 initialization phonetics of Input Control Element 20, transfer first index 26 to first Hash table, and transfer second index 28 to second Hash table (step S31) to second index 28 of phonetic to first index 26 of Chinese character and initial consonant.When the input Chinese character, the retrieval unit 22 of Input Control Element 20 at first receives the input of initial consonant, and this process can be the direct input alphabet of user, also can be to select an input (step S32) in the initial consonant from the initial consonant storehouse that shows.Retrieval unit 22 with the initial consonant of input as keyword query second Hash table, thereby location initial consonant correspondence be stored in all phonetics in second storage unit 27, and receive the phonetic input (step S33) that the user selects from phonetic.Certainly also can directly receive the phonetic alphabet of input.At last, retrieval unit 22 receives user's selection, and shows Chinese character according to the phonetic of input all Chinese characters in first storage unit 25 of being stored in by first Hash table location phonetic correspondence.
Certainly, Chinese character input system, Chinese character input system and the method set up of the present invention is not limited to auto-navigation system, also can be applicable to other application systems, for example banking system etc.
Claims (6)
1. the method for building up of a Chinese character input system is characterized in that, may further comprise the steps:
From application system, select all included Chinese characters, and set up the character library that comprises described all Chinese characters;
Generation comprises the phonetic storehouse of all phonetics of all Chinese characters in the described character library, and sets up first index (26) of described phonetic to Chinese character;
Generation comprises the initial consonant storehouse of all initial consonants of all phonetics in the described phonetic storehouse, and sets up second index (28) of described initial consonant to described phonetic;
Wherein, utilize retrieval unit (22) to carry out: (a) to receive the initial consonant input; (b) from described phonetic storehouse, inquire all phonetics corresponding with described initial consonant; (c) according to the appointment phonetic of from described phonetic, selecting, from described character library, inquire all corresponding Chinese characters, and the Chinese character of output appointment.
2. the Chinese character phonetic input system that method according to claim 1 is set up is characterized in that, comprising: first storage unit (25) that stores all Chinese characters that use in the application system; Store second storage unit (27) of the phonetic of described Chinese character; Store the 3rd storage unit (29) of the initial consonant of described phonetic; Described phonetic is to first index (26) of Chinese character; Described initial consonant is to second index (28) of described phonetic; And Input Control Element (20), wherein said Input Control Element (20) is carried out following operation:
Receive the initial consonant input of phonetic;
From all phonetics of the described initial consonant correspondence of second memory cell storage, determine required phonetic by second index (28), perhaps receive the input of required phonetic according to selecting;
By Chinese character and the output of first index (26) from the storage of first memory cell;
Wherein, described Input Control Element (20) comprises retrieval unit (22), is used for (a) and receives the initial consonant input; (b) inquire all phonetics corresponding of storing in second storage unit (27) with described initial consonant; (c) according to the appointment phonetic of from described phonetic, selecting, from first storage unit (25), inquire all corresponding Chinese characters, and the Chinese character of output appointment.
3. Chinese character phonetic input system according to claim 2 is characterized in that, described Input Control Element (20) also comprises and is used for initialization first index and the second index initialization unit (21).
4. Chinese character phonetic input system according to claim 3 is characterized in that,, described initialization unit (21) is carried out following operation:
Resolve described first index (26) and second index (28);
According to the structure of described index, generate the storage initial consonant to first Hash table of the mapping of phonetic and store second Hash table of phonetic to the mapping of Chinese character.
5. the Chinese character phonetic input method that method according to claim 1 is set up is characterized in that, may further comprise the steps:
(a) initialization first index (26) and second index (28);
(b) receive the initial consonant input;
(c) inquire all phonetics of the described initial consonant correspondence in second storage unit (27);
(d) from first storage unit, inquire all corresponding Chinese characters according to the appointment phonetic of from described phonetic, selecting, and the Chinese character of output appointment.
6. Chinese character phonetic input method according to claim 5 is characterized in that, step (a) may further comprise the steps:
(a1) resolve described first index (26) and second index (28);
(a2), generate the storage initial consonant to first Hash table of the mapping of phonetic and store second Hash table of phonetic to the mapping of Chinese character according to the structure of described index.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410155480 CN1779620B (en) | 2004-11-26 | 2004-11-26 | Building method for Chinese inputting system, Chinese phonetic inputting system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410155480 CN1779620B (en) | 2004-11-26 | 2004-11-26 | Building method for Chinese inputting system, Chinese phonetic inputting system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1779620A CN1779620A (en) | 2006-05-31 |
CN1779620B true CN1779620B (en) | 2010-05-12 |
Family
ID=36769963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200410155480 Expired - Fee Related CN1779620B (en) | 2004-11-26 | 2004-11-26 | Building method for Chinese inputting system, Chinese phonetic inputting system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1779620B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101201829B (en) * | 2006-12-15 | 2011-06-15 | 英业达股份有限公司 | Chinese character library system as well as character code display method thereof |
CN102880690A (en) * | 2012-09-18 | 2013-01-16 | 北京汉仪科印信息技术有限公司 | Method for simplifying character library of electronic book, and processing device for electronic book |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1040278A (en) * | 1988-08-09 | 1990-03-07 | 于永源 | The multilingual terminological data bank of Chinese character system implementation method |
CN1250916A (en) * | 1999-09-30 | 2000-04-19 | 中国大通实业有限公司 | Inquiry method for geographic information database |
-
2004
- 2004-11-26 CN CN 200410155480 patent/CN1779620B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1040278A (en) * | 1988-08-09 | 1990-03-07 | 于永源 | The multilingual terminological data bank of Chinese character system implementation method |
CN1250916A (en) * | 1999-09-30 | 2000-04-19 | 中国大通实业有限公司 | Inquiry method for geographic information database |
Also Published As
Publication number | Publication date |
---|---|
CN1779620A (en) | 2006-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106959994B (en) | Server-side matching | |
CN101816000B (en) | Autocompletion and automatic input method correction for partially entered search query | |
CN105493075A (en) | Retrieval of attribute values based upon identified entities | |
CN102147795A (en) | Method and device for searching points of interest as well as navigation system | |
CN101099129A (en) | Organizing pointers to objects | |
CN102081515A (en) | Method and equipment for providing input data perceptible to context | |
CN101840400A (en) | Multilevel classification retrieval method and system | |
CN103049098A (en) | Device and method for input method shifting | |
CN104765750A (en) | Input language switch method and device for input method application | |
KR20080085165A (en) | Multi-word word wheeling | |
CN101251847A (en) | Electronic dictionary thesaurus structure suitable for mobile equipment | |
CN103970751A (en) | Multi-language web page converting system and method | |
CN115391495B (en) | Method, device and equipment for searching keywords in Chinese context | |
EP2836928A1 (en) | Full text search using r-trees | |
CN102831224A (en) | Creating method for data index base and searching suggest generation method and device | |
CN102117171A (en) | Spelling input system and method | |
CN102609545A (en) | Method for fast searching and positioning tree node of tree structure | |
US20110029500A1 (en) | System and method for floating index navigation | |
US20140280050A1 (en) | Term searching based on context | |
CN100550011C (en) | Set up the method and the corresponding association input system and the method for association input system | |
CN101539433A (en) | Searching method with first letter of pinyin and intonation in navigation system and device thereof | |
CN1779620B (en) | Building method for Chinese inputting system, Chinese phonetic inputting system and method | |
CN101452459B (en) | System for searching similar translation result by utilizing indexes and method thereof | |
CN102346559A (en) | Method and device for deleting lexical items in input method as well as character input tool | |
US20080033948A1 (en) | Storage apparatus and method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: 528303 Guangdong province Foshan city Shunde high tech Zone (Ronggui) science and Technology Industrial Park, Jianye Road No. 7 Patentee after: Guangdong Ritu Technology Co., Ltd. Address before: 528303 Guangdong province Foshan city Shunde high tech Zone (Ronggui) science and Technology Industrial Park, Jianye Road No. 7 Patentee before: Guangdong Ritu Information Systems Inc. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100512 Termination date: 20181126 |
|
CF01 | Termination of patent right due to non-payment of annual fee |