Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment one
The input method of the polyphonic Chinese characters that the embodiment of the present invention one provides, as shown in Figure 1, the method step comprises:
S101, polyphonic Chinese characters input processing device receive the Chinese character input block of user's input.
At this, the polyphonic Chinese characters input processing device can be the appliance arrangement that mobile phone etc. can carry out words input.User's input mode can have multiple, for example Pinyin Input, handwriting input, stroke input, coding input etc.The Chinese character input block can be a Chinese character, also can be made of a plurality of Chinese characters.
If S102, this polyphonic Chinese characters input processing device determine to comprise polyphone in this Chinese character input block, exhaustive all pinyin combinations that go out this Chinese character input block, and set up the index of Chinese character input block according to this pinyin combinations.
The input method of the polyphonic Chinese characters that the embodiment of the present invention provides, the polyphonic Chinese characters input processing device receives the Chinese character input block of user's input; If determine to comprise polyphone in this Chinese character input block, exhaustive all pinyin combinations that go out this Chinese character input block, and set up the index of this Chinese character input block according to pinyin combinations.Like this, no matter the user comprises Chinese character or the word of polyphone by what mode to the input of polyphonic Chinese characters input processing device, this polyphonic Chinese characters input processing device is by all pinyin combinations of exhaustive polyphone, and corresponding index is set up, sound memory habit in the time of can meeting the user and search makes the user fast and accurately find Chinese character or the word that will look for by phonetic.
Embodiment two
The input method of the polyphonic Chinese characters that the embodiment of the present invention two provides, the polyphonic Chinese characters input processing device is assumed to be mobile phone, take the user to mobile phone in the input name of contact person describe as example.As shown in Figure 2, its step comprises:
S201, mobile phone receive the user by the Chinese character of the name of contact person of phonetic, stroke or handwriting mode input.
In the present embodiment, suppose that name of contact person is " once going ", actual pronunciation is " zenghang ".
S202, handset identity go out in the name of input to comprise polyphone, exhaustive all full pinyins combinations that go out this name, and be shown to the user by mobile phone screen.
Concrete, can eject dialog box on mobile phone screen four optional full pinyin combination: " zenghang " " zengxing " " cenghang " " cengxing " are provided.
S203, user select a full pinyin combination according to the pronunciation of name of contact person on mobile phone screen.
In the present embodiment, suppose that actual pronunciation is " zenghang ", the user selects " zenghang " in above-mentioned four combinations.
S204, mobile phone receive the full pinyin combination that the user selects, and set up index with this name Chinese character.
Like this, when later user searches address list by phonetic, can according to the sound memory habit, can find according to actual pronunciation input " zenghang ".
The input method of the polyphonic Chinese characters that the embodiment of the present invention provides, mobile phone receives the Chinese name of user's input; If determine to comprise polyphone in this name, exhaustive all full pinyins combinations that go out this name Chinese character, and be shown to the user; After the user selected, mobile phone was set up index with the full pinyin combination that the user selects with this name.Like this, no matter the user comprises the name of polyphone by what mode to the mobile phone input, and when searching, the user can both according to the sound memory habit, fast and accurately find the contact person that will look for phonetic according to actual pronunciation.
Embodiment three
The input method of the polyphonic Chinese characters that the embodiment of the present invention three provides, the polyphonic Chinese characters input processing device is assumed to be mobile phone, take the user to mobile phone in the input name of contact person describe as example.As shown in Figure 3, its step comprises:
S301, mobile phone receive the user by the Chinese character of the name of contact person of phonetic, stroke or handwriting mode input.
In the present embodiment, suppose that name of contact person is " once going ", actual pronunciation is " zenghang ".
S302, handset identity go out in the name of input to comprise polyphone, exhaustive all Pinyin abbreviations combinations that go out this name, and be shown to the user by mobile phone screen.
Concrete, can eject dialog box on mobile phone screen four optional Pinyin abbreviation combination: " zh " " zx " " ch " " cx " are provided.
S303, user select a Pinyin abbreviation combination according to the pronunciation of name of contact person on mobile phone screen.
In the present embodiment, suppose that actual pronunciation is " zenghang ", the user selects " zh " in above-mentioned four combinations.
S304, mobile phone receive the Pinyin abbreviation combination that the user selects, and set up index with this name Chinese character.
Further, the Pinyin abbreviation combination that the user can be selected shows together with this name, namely remembers in cell phone address book to show " zh once went ".Like this, can point out this contact person's of user name pronunciations, retrieval abbreviation, facilitate the user to search.
Like this, when later user searches address list, can an input Pinyin abbreviation " zh " can find.
The input method of the polyphonic Chinese characters that the embodiment of the present invention provides, mobile phone receives the Chinese name of user's input; If determine to comprise polyphone in this name, exhaustive all Pinyin abbreviations combinations that go out this name Chinese character, and be shown to the user; After the user selected, mobile phone was set up index with the Pinyin abbreviation combination that the user selects with this name.Like this, no matter the user comprises the name of polyphone by what mode to the mobile phone input, and when searching, the user can both fast and accurately find the contact person that will look for according to the sound memory habit with Pinyin abbreviation according to actual pronunciation, convenient for users.
In addition, adopt Pinyin abbreviation when searching, accelerated seek rate, further facilitated user's use.
Embodiment four
The input method of the polyphonic Chinese characters that the embodiment of the present invention four provides, the polyphonic Chinese characters input processing device is assumed to be mobile phone, take the user to mobile phone in the input name of contact person describe as example.As shown in Figure 4, its step comprises:
S401, mobile phone receive the user by the Chinese character of the name of contact person of phonetic, stroke or handwriting mode input.
In the present embodiment, suppose that name of contact person is " once going ", actual pronunciation is " zenghang ".
S402, handset identity go out in the name of input to comprise polyphone, exhaustive all full pinyins combinations that go out this name, and set up index with this name respectively.
Concrete, after user's input " was once gone ", after cell phone software identifies it and comprises polyphonic Chinese characters, exhaustively on the backstage go out four full pinyins combination: " zenghang " " zengxing " " cenghang " " cengxing ", and these four full pinyins combinations were set up index with " once going " respectively.
Like this, when later user searches address list by phonetic, can search according to any pronunciation of name of contact person Chinese character.Namely any one in input " zenghang " " zengxing " " cenghang " " cengxing " can find " once going ".
The input method of the polyphonic Chinese characters that the embodiment of the present invention provides, mobile phone receives the Chinese name of user's input; If determine to comprise polyphone in this name, exhaustive all full pinyins combinations that go out this name Chinese character, and set up index with this name respectively.Like this, no matter the user inputs the name that comprises polyphone to mobile phone by what mode, and when searching, the user can search according to any pronunciation of this name of contact person, and is convenient for users.
Embodiment five
The input method of the polyphonic Chinese characters that the embodiment of the present invention five provides, the polyphonic Chinese characters input processing device is assumed to be mobile phone, take the user to mobile phone in the input name of contact person describe as example.As shown in Figure 5, its step comprises:
S501, mobile phone receive the user by the Chinese character of the name of contact person of phonetic, stroke or handwriting mode input.
In the present embodiment, suppose that name of contact person is " once going ", actual pronunciation is " zenghang ".
S502, handset identity go out in the name of input to comprise polyphone, exhaustive all Pinyin abbreviations combinations that go out this name, and set up index with this name respectively.
Concrete, after user's input " was once gone ", after cell phone software identifies it and comprises polyphonic Chinese characters, exhaustively on the backstage go out four Pinyin abbreviations combination: " zh " " zx " " ch " " cx ", and these four Pinyin abbreviations combinations were set up index with " once going " respectively.
Like this, when later user searches address list by phonetic, can search according to any Pinyin abbreviation of name of contact person Chinese character.Namely any one in input " zh " " zx " " ch " " cx " can find " once going ".
The input method of the polyphonic Chinese characters that the embodiment of the present invention provides, mobile phone receives the Chinese name of user's input; If determine to comprise polyphone in this name, exhaustive all Pinyin abbreviations combinations that go out this name Chinese character, and set up index with this name respectively.Like this, no matter the user comprises the name of polyphone by what mode to the mobile phone input, and when searching, the user can search according to any Pinyin abbreviation of this name of contact person, and is convenient for users.
In addition, adopt Pinyin abbreviation when searching, accelerated seek rate, further facilitated user's use.
Need to prove, in above-described embodiment two to five the polyphonic Chinese characters input processing device be take the user to mobile phone in the explanation carried out as example of input name of contact person, the embodiment of the present invention is not limited to this, can also be the device that some other use full pinyin or Pinyin abbreviation are searched Chinese character, as supermarket POS, vehicle management system etc.
The input processing device 60 of the polyphonic Chinese characters that the embodiment of the present invention provides as shown in Figure 6, comprising:
Input block 601 is used for receiving the Chinese character input block that the user inputs.
This Chinese character unit can be a Chinese character, also can be made of a plurality of Chinese characters.
Judging unit 602 is used for judging whether Chinese character input block 601 comprises polyphone.
The exhaustive unit 603 of phonetic, if be used for to determine that Chinese character input block 601 comprises polyphone, exhaustive all pinyin combinations that go out this Chinese character input block.
Unit 604 set up in index, is used for setting up according to pinyin combinations the index of Chinese character input block.
The input processing device of the polyphonic Chinese characters that the embodiment of the present invention provides, input block receives the Chinese character input block of user's input; Whether judgment unit judges wherein comprises polyphone, comprise polyphone if determine in this Chinese character input block, exhaustive all pinyin combinations that go out this Chinese character input block in the exhaustive unit of phonetic, index is set up the unit and is set up the index of this Chinese character input block according to pinyin combinations.Like this, no matter the user comprises Chinese character or the word of polyphone by what mode input, utilize this device, all pinyin combinations by exhaustive polyphone, and corresponding index is set up, sound memory habit in the time of can meeting the user and search makes the user fast and accurately find Chinese character or the word that will look for by phonetic.
Further, as shown in Figure 7, the input processing device 60 of this polyphonic Chinese characters also comprises:
Display unit 605 is used for all pinyin combinations of the exhaustive described Chinese character input block that goes out in described phonetic exhaustive unit are shown to the user;
Selective reception unit 606 is used for receiving the pinyin combinations that the user selects.
In addition, the exhaustive unit 603 of phonetic comprises:
The exhaustive module 6031 of full pinyin combination is used for exhaustive all full pinyins combinations that go out Chinese character input block 601.
The exhaustive module 6032 of Pinyin abbreviation combination is used for exhaustive all Pinyin abbreviations combinations that go out Chinese character input block 601.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be completed by the hardware that programmed instruction is correlated with, aforesaid program can be stored in a computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.