Embodiment
Technical matters to be solved by this invention be input method that prior art provides and input method system can only be in the rarely used word dictionary expanded search, can't solve the user and more import specific demand, and can't compatible dictionary commonly used behind the expansion dictionary.To the deficiency of above-mentioned prior art, a kind of input method is provided, this method can be carried out expanded search in the expansion dictionary that presets, and can also compatible dictionary commonly used behind the expansion dictionary.
Referring to Fig. 2, be the schematic flow sheet of a kind of input method first embodiment provided by the invention.
The input method that present embodiment provides comprises:
Step 100 when recognizing the indicator signal of the expansion dictionary that is used to indicate input method to launch and presets, is launched the expansion dictionary that presets;
Need to prove that said indicator signal comprises: the indication input method is launched the boot symbol of the expansion dictionary that presets, or the shortcut that the indication input method is launched the expansion dictionary that presets is pressed, or the function key that the indication input method is launched the expansion dictionary that presets is pressed.The said expansion dictionary that presets not only comprises the rarely used word dictionary, also comprises cri dernier cri words and phrases storehouse, English dictionary, fuzzy sound dictionary or the like.Below only for illustrating, the expansion dictionary that the present invention presets is not limited only to this.
Step 101, the coding that the user who receives according to input method imports is searched in said expansion dictionary and dictionary commonly used, obtains and the corresponding candidate word of said coding;
Need to prove; Said expansion dictionary is for dictionary commonly used; Dictionary commonly used is input method dictionary relatively more commonly used normally, is its dictionary that carries, for example: classified lexicon that system used in everyday dictionary, user thesaurus, self-defined phrase and user open or the like.And the expansion dictionary is the dictionary except dictionary commonly used, not only comprises the rarely used word dictionary, also comprises cri dernier cri words and phrases storehouse, English dictionary, fuzzy sound dictionary or the like.And the process that presets the expansion dictionary is: download the expansion character library in advance it is kept in the input method system, selecting for use this expansion character library as subsequent use then, so that the everyday character in using dictionary always can't satisfy the input needs time, is launched the expansion dictionary.
Need to prove that also in expansion dictionary and dictionary commonly used, search among the present invention, obtaining candidate word can have several embodiments:
The first, the coding that the user who receives according to input method imports, search and the corresponding candidate of said coding in said expansion dictionary, and in said dictionary commonly used, search for and the corresponding word of said coding; At last, with said candidate that in the expansion dictionary, searches and the synthetic candidate word of the said candidate that search obtains in dictionary commonly used;
The second, the coding that the user who receives according to input method imports, search obtains and the corresponding candidate of said coding in said expansion dictionary; With the synthetic candidate word of the said candidate that in the expansion dictionary, searches.
Step 102, output and the corresponding candidate word of said coding.
Input method expansion dictionary and dictionary commonly used that prior art provides can not be compatible, and it closes dictionary commonly used when opening the expansion dictionary, but indicator signal corresponding command of the present invention is not close the everyday words storehouse when opening the expansion dictionary.So embodiment of the present invention; When recognizing the indicator signal of the expansion dictionary that is used to indicate input method to launch and presets; Launch the expansion dictionary that presets; Therefore can in the dictionary that presets, carry out expanded search; And all right compatible dictionary commonly used can solve the user and more import specific demand behind the expansion dictionary.
Referring to Fig. 3, be the schematic flow sheet of a kind of input method second embodiment provided by the invention.
The input method that present embodiment provides comprises:
Step 200, whether identification receives the boot symbol of the expansion dictionary that is used to indicate input method to launch and presets; Need to prove that said boot symbol can for example be imported KZ by User Defined, then expression gets into the expansion character library;
Step 201 is launched the expansion dictionary boot symbol that presets if recognize the indication input method, launches the expansion dictionary that presets; Changestep 203 over to;
Ifstep 202 unidentified to indicating input method to launch the expansion dictionary boot symbol that presets, is not then launched the expansion dictionary that presets; Flow process finishes;
Step 203 receives the coding that the user imports;
Step 204, the coding that the user who receives according to input method imports is searched in said expansion dictionary and dictionary commonly used, obtains and the corresponding candidate word of said coding;
Step 205, output and the corresponding candidate word of said coding.
The embodiment that embodiment of the present invention provides through before user's input coding, judges whether to recognize boot symbol, if then start the expansion dictionary; This mode is more flexible, and can in the dictionary that presets, carry out expanded search, and all right compatible dictionary commonly used behind the expansion dictionary, can solve the user and more import specific demand.
Referring to Fig. 4, be the schematic flow sheet of a kind of input method the 3rd embodiment provided by the invention.
The input method that present embodiment provides comprises:
Step 300, input method receive the coding of user's input;
Step 301, before not being presented on the screen with the corresponding candidate word of coding, whether the shortcut that the expansion dictionary that presets is launched in identification is pressed;
Need to prove that said shortcut can be Ctrl+A, perhaps Ctrl+B, perhaps Ctrl+C or the like, shortcut can be by user oneself definition, with corresponding with dictionary.Only for for example, can not limit the embodiment of shortcut of the present invention here with this.
Step 302 is pressed if recognize the shortcut that the indication input method launches the expansion dictionary that presets, then at the coding that receives user's input but before not being presented on the screen with the corresponding candidate word of said coding, launch the expansion dictionary that presets; Change step 304 over to;
Step 303 is pressed to the shortcut of indicating input method to launch the expansion dictionary that presets as if unidentified, does not then launch the expansion dictionary that presets; Flow process finishes;
Step 304, the coding that the user who receives according to input method imports is searched in said expansion dictionary and dictionary commonly used, obtains and the corresponding candidate word of said coding;
Step 305, output and the corresponding candidate word of said coding.
The embodiment that embodiment of the present invention provides through after user's input coding, but goes up before the screen with the corresponding candidate word of said coding, judges whether to recognize shortcut, if then start the expansion dictionary; This mode is more flexible, and can in the dictionary that presets, carry out expanded search, and all right compatible dictionary commonly used behind the expansion dictionary, can solve the user and more import specific demand.
Referring to Fig. 5, be the schematic flow sheet of a kind of input method the 4th embodiment provided by the invention.
The input method that present embodiment provides comprises:
Step 400, input method receive the coding of user's input;
Step 401 has been presented on the screen with the corresponding candidate word of said coding; But the non-user of said candidate word wants to import;
Whetherstep 402 is discerned said function key of launching the expansion dictionary that presets and is pressed;
Need to prove that said function key is Ctrl+Backspace, the effect of this function key is to turn back to the state of candidate word before appearing on the screen;
Step 403 if recognize said function key and be pressed, then returns to the state of the corresponding candidate word of said coding before not being presented on the screen, launches the expansion dictionary that presets;Change step 405 over to;
Step 404 if recognizing said function key is not pressed, is not then launched the expansion dictionary that presets; Flow process finishes;
Step 405, the coding that the user who receives according to input method imports is searched in said expansion dictionary and dictionary commonly used, obtains and the corresponding candidate word of said coding;
Step 406, output and the corresponding candidate word of said coding.
The embodiment that embodiment of the present invention provides through after user's input coding, and has gone up screen with the corresponding candidate word of said coding, but and when not meeting the requiring of user, judge whether to recognize function key, if then start the expansion dictionary; This mode is more flexible, and can in the dictionary that presets, carry out expanded search, and all right compatible dictionary commonly used behind the expansion dictionary, can solve the user and more import specific demand.
Need to prove that input method provided by the invention can also be after launching the expansion dictionary that presets, display reminding is launched the signal language of expansion dictionary on the input frame of said input method, specifically as shown in Figure 6.
Referring to Fig. 7, be the structural representation of a kind of input method system embodiment one provided by the invention.
The input method system that present embodiment provides comprises:
Indicatorsignal identification module 1 is used to discern the indicator signal of whether receiving the expansion dictionary that is used to indicate input method to launch and presets; Need to prove that said indicator signal comprises: the indication input method is launched the boot symbol of the expansion dictionary that presets, or the shortcut that the indication input method is launched the expansion dictionary that presets is pressed, or the function key that the indication input method is launched the expansion dictionary that presets is pressed.
Module 2 launched in the expansion dictionary, is used for when said indicator signal identification module recognizes said indicator signal, launching the expansion dictionary that presets; Need to prove that the said expansion dictionary that presets not only comprises the rarely used word dictionary, also comprises cri dernier cri words and phrases storehouse, English dictionary, fuzzy sound dictionary or the like.
Coding receiver module 3 is used to receive the coding that the user imports;
Candidateword generation module 4 is used for after said coding receiver module receives the coding of user's input, in said expansion dictionary and dictionary commonly used, searching for, and obtains and the corresponding candidate word of said coding;
Need to prove that said dictionary commonly used comprises: classified lexicon that system used in everyday dictionary, user thesaurus, self-defined phrase and user open or the like.
Candidateword output module 5 is used to export and the corresponding candidate word of said coding.
Embodiment of the present invention; When recognizing the indicator signal of the expansion dictionary that is used to indicate input method to launch and presets; Launch the expansion dictionary that presets; Therefore can in the dictionary that presets, carry out expanded search; And all right compatible dictionary commonly used can solve the user and more import specific demand behind the expansion dictionary.
Referring to Fig. 8, be the structural representation of a kind of input method system embodiment two provided by the invention.
The input method system that present embodiment provides, each in comprising embodiment one also comprises the module:
Indicator signal presetmodule 6 is used to preset the indication input method system and launches the boot symbol of the expansion dictionary that presets, or presets the shortcut that the indication input method system is launched the expansion dictionary that presets; Or preset the indication input method system function key of launching the expansion dictionary that presets.
Expansion dictionary presetmodule 7 is used to preset the expansion dictionary.
In the present embodiment, said indicatorsignal identification module 1 was used for before thecoding receiver module 3 of said input method system is receiving the coding of user's input, and whether identification receives the boot symbol of the expansion dictionary that is used to indicate input method to launch and presets; Recognize the indication input method at said indicatorsignal identification module 1 and launch the expansion dictionary boot symbol that presets, then said expansion dictionary was launchedmodule 2 before receiving coding, launched the expansion dictionary that presets.
Perhaps; Said indicatorsignal identification module 1 is used for receiving at thecoding receiver module 3 of said input method system the coding of user's input; But before not being presented on the screen with the corresponding candidate word of coding, whether the shortcut that identification indication input method is launched the expansion dictionary that presets is pressed; Recognizing the shortcut of indicating input method to launch the expansion dictionary that presets at said indicatorsignal identification module 1 is pressed; Then said expansion dictionary is launchedmodule 2 and is received the coding of user input at codingreceiver module 3 but before not being presented on the screen with the corresponding candidate word of said coding, launch the expansion dictionary that presets.
Perhaps; Shown in indicatorsignal identification module 1 be used for the coding thatcoding receiver module 3 at said input method system receives user's input; And after being presented on the screen with the corresponding candidate word of said coding, discerning said function key of launching the said expansion dictionary that presets and whether be pressed;
Recognize said function key at said indicatorsignal identification module 1 and be pressed, then said input method system returns to the state of the corresponding candidate word of said coding before not being presented on the screen, and said expansion dictionary is launchedmodule 2 and launched the expansion dictionary that presets.
Input method system in the present embodiment also comprises display module 8; Launch aftermodule 2 launches the expansion dictionary that expansion dictionary preset module presets at said expansion dictionary, display reminding is launched the signal language of expansion dictionary on the display module on the input frame of said input method system.
The embodiment that embodiment of the present invention provides can have different modes to start the expansion dictionary; These modes that get into interim expanded search have contained possible various situations in the normal input of user, make things convenient for the user to get into interim expanded search, the habit problem on solution mutual.And present embodiment can carry out expanded search in the dictionary that presets, and all right compatible dictionary commonly used behind the expansion dictionary, can solve the user and more import specific demand.
Referring to Fig. 9, be the structural representation of a kind of input method system embodiment three provided by the invention.
The input method system that present embodiment provides comprises among embodiment one and the embodiment two each beyond module.Present embodiment will describe the concrete realization of candidateword generation module 4 in detail.
Said candidateword generation module 4 comprises:
Expansion word library searching module 40, the coding of the user input that is used for receiving, search and the said corresponding candidate of encoding in said expansion dictionary according to the coding receiver module;
Everyday words library searching module 41, the coding of the user input that is used for receiving, search and the said corresponding word of encoding in said dictionary commonly used according to the coding receiver module;
Candidate word synthesis module 42 is used for said expansion word library searching module is synthesized candidate word in candidate and the said everyday words library searching module candidate that search obtains in dictionary commonly used that the expansion dictionary searches.
In another kind of embodiment, said candidateword synthesis module 4 also is used for said expansion word library searching module is synthesized candidate word in the candidate that the expansion dictionary searches.
The input method system that embodiment of the present invention provides; Can allow the user under the situation that does not influence normal input; Contents such as the rarely used word that interim easily input is of little use, fuzzy sound, Mars word, special dictionary; Can also allow the user that dictionary is had abundanter selection, can not influence daily input speed and efficient simultaneously.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method; Be to instruct relevant hardware to accomplish through computer program; Described program can be stored in the computer read/write memory medium; This program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also are considered as protection scope of the present invention.