CN101183281B - Method for inputting word related to candidate word in input method and system - Google Patents

Method for inputting word related to candidate word in input method and system Download PDF

Info

Publication number
CN101183281B
CN101183281B CN2007103050657A CN200710305065A CN101183281B CN 101183281 B CN101183281 B CN 101183281B CN 2007103050657 A CN2007103050657 A CN 2007103050657A CN 200710305065 A CN200710305065 A CN 200710305065A CN 101183281 B CN101183281 B CN 101183281B
Authority
CN
China
Prior art keywords
related term
candidate word
user
dictionary
word
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.)
Active
Application number
CN2007103050657A
Other languages
Chinese (zh)
Other versions
CN101183281A (en
Inventor
陈丽菲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shiji Guangsu Information Technology Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN2007103050657A priority Critical patent/CN101183281B/en
Publication of CN101183281A publication Critical patent/CN101183281A/en
Application granted granted Critical
Publication of CN101183281B publication Critical patent/CN101183281B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Machine Translation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides an input method for relevant words of a candidate word in input method and the system of the input method, belonging to the technical field of computers; wherein the method comprises the following steps: the input candidate word is received; the relevant words of the candidate word are searched from a preset relevant word lexicon according to the candidate word, wherein the relevant words of the candidate word are one or more of near-synonym, synonym or antonym of the candidate word; the relevant words of candidate word are displayed; the selection instruction of the relevant words of the input candidate word is received, and the relevant word of candidate word corresponding to the instruction is output. The invention has the advantages that: when users input a candidate word, the relevant words of the candidate word can be searched in the relevant word lexicon according to the candidate word, therefore the vocabulary of users is enlarged, the speech talent and the language expression of users are improved, and the language of users is more abundant and more individualized.

Description

The method and system of the related term of candidate word input in a kind of input method
Technical field
The invention belongs to field of computer technology, relate in particular to the related term input method and the system of candidate word in a kind of input method.
Background technology
The computer user generally adopts Chinese character input method that Chinese character is inputed to computing machine.Wherein Chinese character input method is meant that according to the key information of preset coding rule with the keyboard input, perhaps the information translation of other non-keyboard inputs becomes the method for Chinese character input.Because Chinese character is to come co expression by sound, shape, the justice of word, therefore, the phonetic of Chinese character or stroke can be used for determining the candidate word of Chinese character.And the candidate word of determining according to the phonetic of Chinese character or stroke usually all with this phonetic or corresponding in advance good, the fixing candidate word of stroke, the computer user is difficult to adopt different words or speech to express the identical meaning, can not be according to scene at that time, employing reaches the identical meaning with word or vocabulary that scene meets.Therefore, when the Chinese character coding input method input Chinese character that adopts prior art to provide, lack new meaning, have nothing in one, can't embody computer user's language talent, also can't enlarge computer user's vocabulary.
In order to satisfy the individual demand of computer user to the Chinese character input, enlarge computer user's vocabulary, improve computer user's language talent, prior art provides a kind of searching method based on the related term that utilizes Internet resources.Word or vocabulary that this method is imported according to the user, from Internet resources, as the dictionary of minute scene, the synonym dictionary, the antonym dictionary, dictionary, perhaps Ci hai etc., search and word or the corresponding related term of vocabulary that the user imports enlarge one's vocabulary thereby reach, and realize personalized demand.Adopt this mode, workload is bigger, and is consuming time many, thereby is not easy to operation.Particularly,, do not possess the possibility of operation substantially, can't embody computer user's language talent and individual character perhaps to the unfamiliar computer user of network for the computer user that can't connect network.
Summary of the invention
The purpose of the embodiment of the invention is to provide the related term input method of candidate word in a kind of input method, be intended to solve when adopting existing Chinese character input method to import Chinese character, can only obtain and the phonetic of user's input or the candidate word of stroke coupling, can't obtain and the similar import of this candidate word, opposite etc. other vocabulary, cause the Chinese character input to lack the problem of new meaning and individual character.
The embodiment of the invention is achieved in that the related term input method of candidate word in a kind of input method, and described method comprises the steps:
Receive the candidate word of input;
According to described candidate word, the related term of the described candidate word of search from the related term dictionary that presets, the related term of described candidate word is one or more near synonym, synonym or the antonym of candidate word, and described related term dictionary comprises core related term dictionary and user's related term dictionary;
To from core related term dictionary, search, and the related term that is not included in the candidate word in user's related term dictionary sorts from high to low according to word frequency;
The related term of the candidate word that will search from user's related term dictionary is inserted into the end of the related term sequence of the candidate word after the above-mentioned ordering from low to high according to word frequency;
The related term of candidate word of memory at last is inserted into above-mentioned centre position of having inserted the related term sequence that forms behind the related term of the candidate word that searches from user's related term dictionary, and described centre position is to make the related term of the candidate word of described last memory be positioned at first page position when the related term of the described candidate word of Pagination Display;
The related term that shows the candidate word after sorting;
Receive the related term selection instruction of the candidate word of input, the related term of the candidate word that output is corresponding with described instruction.
Another purpose of the embodiment of the invention is to provide the related term input system of candidate word in a kind of input method, and described system comprises:
The candidate word load module is used to receive the candidate word of input;
The related term search module is used for according to described candidate word, the related term of the described candidate word of search from the related term dictionary that presets;
The related term dictionary is used for exporting to described related term search module the related term of described candidate word, and described related term dictionary comprises core related term dictionary and user's related term dictionary;
The related term order module is used for and will searches from core related term dictionary, and the related term that is not included in candidate word in user's related term dictionary sorts from high to low according to word frequency; The related term of the candidate word that will search from user's related term dictionary is inserted into the end of the related term sequence of the candidate word after the above-mentioned ordering from low to high according to word frequency; The related term of candidate word of memory at last is inserted into above-mentioned centre position of having inserted the related term sequence that forms behind the related term of the candidate word that searches from user's related term dictionary, and described centre position is to make the related term of the candidate word of described last memory be positioned at first page position when the related term of the described candidate word of Pagination Display;
Candidate word window interactive module is used to show the related term of the candidate word after the ordering, and receives the operational order of input, and the related term of described candidate word is one or more near synonym, synonym or the antonym of candidate word.
In embodiments of the present invention, candidate word according to user's input, the related term of this candidate word of search and demonstration from the related term dictionary that presets, and can pass through the related term that numerical key on mouse, the keyboard and directionkeys etc. need to select the candidate word of output, thereby expanded user's vocabulary, improved user's voice talent and ability of language expression, made user's language abundanter, individual character has more been arranged.
Description of drawings
Fig. 1 is the realization flow figure of the related term input method of candidate word in the input method that provides of the embodiment of the invention;
Fig. 2 is the employing " non-nearest memory " that provides of the embodiment of the invention and " non-high word frequency " ranking method sequential schematic to the related term ordering of candidate word;
Fig. 3 is the realization flow figure of the related term input method of candidate word in the input method that provides of another embodiment of the present invention;
Fig. 4 is the classification synoptic diagram of the scene that provides of the embodiment of the invention;
Fig. 5 is the realization flow figure that user that the embodiment of the invention provides imports candidate word;
Fig. 6 is the structural representation of the related term input system of candidate word in the input method that provides of the embodiment of the invention;
Fig. 7 is the structural representation of the candidate word load module that provides of the embodiment of the invention;
Fig. 8 is the data structure synoptic diagram of the synonymicon of the candidate word that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, when the user adopts Chinese character coding input method input Chinese character, can be according to the candidate word of user's input, the related term of this candidate word of search from the related term dictionary that presets, and show the related term of this candidate word, the user selects one from the related term of the candidate word of demonstration, can realize the input of the related term of candidate word in the input method.
Fig. 1 shows the realization flow of the related term input method of candidate word in the input method that the embodiment of the invention provides, and details are as follows:
In step S101, receive the candidate word of user's input.Wherein candidate word can be phonetic or the definite candidate word of stroke according to the Chinese character of user's input.
In step S102, according to the candidate word of user's input, the related term of this candidate word in the related term dictionary that search is preset.
In an embodiment of the present invention, the related term dictionary comprises core related term dictionary and user's related term dictionary.Wherein core related term dictionary comprises core related term dictionary, stores the related term of candidate word in the core related term dictionary, and the related term of this candidate word is the related term of pre-configured candidate word.User's related term dictionary comprises user's related term dictionary, stores the related term of candidate word in user's related term dictionary, and the related term of this candidate word is user when importing candidate word, the related term of the candidate word of selecting.Search for the related term dictionary of candidate word according to the candidate word that the user selects.The related term of candidate word can be the synonym of candidate word, the antonym of candidate word, one or more in other perhaps relevant with candidate word speech.
In step S103, the related term of the candidate word that searches is sorted.
When the related term to candidate word sorts, can sort according to the frequency of utilization (the following word frequency that all is called) of the related term of candidate word.When the related term of candidate word being sorted according to word frequency, " memory recently " ranking method that can adopt prior art to provide, " memory farthest " ranking method, " high word frequency " ranking method, one or more in " low word frequency " ranking method make up and sort.Be owing to realize the purpose of the related term input of candidate word, make the computer user can use the vocabulary that is of little use with the common wordss similar import to carry out communication exchange, reach the vocabulary that enlarges the computer user, improve the purpose of computer user's language talent.Therefore, if according to " memory recently " ranking method and " high word frequency " ranking method the related term of candidate word is sorted, then the related term owing to candidate word does not often use, and is arranged to the end, is not easy to the user select, and is difficult to play guiding user's effect.If the related term of candidate word is sorted according to " memory farthest " ranking method and " low word frequency " ranking method, then because some related term of candidate word, be that the user does not want to select, but wilfully because import fewly, perhaps do not import, and always come the foremost, also be not easy to the user and select.
The more excellent sort method of Cai Yonging is to adopt " non-nearest memory " and " non-high word frequency " ranking method that the related term of candidate word is sorted in embodiments of the present invention, and it puts in order as shown in Figure 2, and its detailed process is as follows:
To from core related term dictionary, search, and the related term that is not included in the candidate word in user's related term dictionary sorts from high to low according to word frequency.When the word frequency of the related term of candidate word sorts to the candidate word that searches, if the user is after the input candidate word, selected the related term of this candidate word, if promptly the related term of candidate word is also contained in user's related term dictionary in the core related term dictionary, then the related term of this candidate word does not participate in this minor sort.
The related term of the candidate word that will search from user's related term dictionary is inserted into the end of the related term sequence of the candidate word after the above-mentioned ordering from low to high according to word frequency.Wherein the word frequency of the related term of candidate word is according in input during candidate word in user's related term dictionary, selects the number of times of the related term of this candidate word to calculate.
The related term (being also referred to as the related term of the candidate word of last memory) of the candidate word selected for the last time is inserted into the centre position of the related term sequence of the candidate word after the above-mentioned arrangement.Wherein the centre position is meant when the related term of this candidate word of Pagination Display, the related term of the candidate word of the last memory of inserting is positioned at first page, guarantee under the situation of not page turning, can select the related term of the candidate word of this last memory, it specifically is positioned at which of first page and can be provided with in advance.As the related term that sets in advance the candidate word of last memory is positioned at the 4th of first page, and then the related term of the candidate word that will remember at last is inserted into the 4th position of the related term sequence of the candidate word after the above-mentioned ordering; As the related term that sets in advance the candidate word of last memory is positioned at second of first page, and then the related term of the candidate word that will remember at last is inserted into second position of the related term sequence of the candidate word after the above-mentioned ordering.This sort method is described this sort method in order better to illustrate below in conjunction with a concrete example.
Suppose that the candidate word that the user selects is A, according to candidate word A, the related term of the A that finds from core related term dictionary comprises B, C, D, E, F, G, H, I, and also is B, C, D, E, F, G, H, I according to word frequency order from high to low; When if the user once imported A, selected its related term B, C, D, promptly comprise related term B, C, the D of A in user's related term dictionary; And the word frequency order from high to low according to B, C, D in user's related term dictionary also is B, C, D; During A, the related term of Ji Yi A is B to the user at last in input, and during the related term of Pagination Display A, four vocabulary of every page of demonstration, the related term of the candidate word of the last memory that sets in advance is presented at first page the 4th.When then the related term of the candidate word that searches being sorted, the related term of the A that will search from core related term dictionary sorts from high to low according to word frequency earlier, because the user is behind input A, related term B, C, the D of A have been selected, B, the C, the D that have then selected do not participate in this minor sort, therefore, the sequence after the ordering is E, F, G, H, I.The related term of the A that will search from user's related term dictionary is inserted into the end of the related term sequence of the A after the above-mentioned ordering from low to high according to word frequency again, and the sequence after the ordering is E, F, G, H, I, D, C, B.The related term B of A of memory at last is inserted into centre position after the above-mentioned arrangement.Because when showing the related term of A, every page of related term that shows four A, therefore, the related term B of the A of memory at last is inserted into centre position after the above-mentioned arrangement after, the sequence after the ordering is E, F, G, B, H, I, D, C.
In step S104, show the related term of this candidate word or the related term of the candidate word after the ordering.When showing the related term of this candidate word, can carry out Pagination Display, also can once show the related term of all candidate word according to demonstration setting in advance.
In step S105, receive the related term selection instruction of user's candidate word, export the related term of the candidate word corresponding with the related term selection instruction of this candidate word.
The user can pass through the related term selection instruction that numerical key on mouse, the keyboard or directionkeys etc. send candidate word, with the related term of candidate word that need to select output.
In step S106, the related term of the candidate word that the user was selected is stored to user's related term dictionary.
When the related term of the candidate word that the user was selected was stored in user's related term dictionary, the related term to the last candidate word of remembering of user carried out mark simultaneously, and recomputates the word frequency of the related term of candidate word in user's related term dictionary.In embodiments of the present invention, select the related term of candidate word for the ease of the user, the related term storage of the candidate word that the user was selected, formation belongs to user's related term dictionary of individual subscriber, and the related term that is about to the candidate word of above-mentioned selection is added in the related term dictionary in user's related term dictionary.As suppose that the user is behind input candidate word A, selected the related term B of A, the related term that whether has A in the related term dictionary of then first inquiring user related term dictionary, if there is no, then in the related term dictionary of user's related term dictionary, create the related term of A, if exist,, be added in the related term dictionary of user's related term dictionary then with the related term of B as A.
In embodiments of the present invention,, export the related term of this candidate word, thereby the user as chatting or writing article etc., feels that no longer language is pale and weak when needs input Chinese character, do not have new meaning by candidate word according to user's input.
Fig. 3 shows the realization flow of the related term input method of candidate word in the input method that another embodiment of the present invention provides, and details are as follows:
In step S301, receive the candidate word of user's input.Wherein candidate word is phonetic or the definite candidate word of stroke according to the Chinese character of user's input.
In step S302, receive the scene that the user selects.Wherein scene includes but not limited to spoken scene, popular word scene, academic scene, classic scene, professional scene etc.Can also be subdivided into the literature scene according to the difference of specialty in the wherein professional scene, medical scene, computing machine scene, physics scene etc.Concrete scene classification as shown in Figure 4.The user can select one or more scene simultaneously.
In step S303, according to the candidate word of user's input, the related term of this candidate word in the related term dictionary that the scene with user's selection that search is preset is mated.
In embodiments of the present invention, different scene couplings have corresponding related term dictionary.As relevant spoken lexicon being arranged for spoken scene coupling; For popular word scene coupling related streams lang lexicon is arranged; And the like.According to the candidate word that the user selects, the related term dictionary that the scene with user's selection that search is preset is mated.Wherein with the related term dictionary of scene coupling comprise with the core related term dictionary of scene coupling and with scene match user related term dictionary.Wherein the core related term dictionary with the scene coupling comprises the core related term dictionary that mates with scene, with the related term that stores in the core related term dictionary of scene coupling with the candidate word of scene coupling, the related term of this candidate word is the related term of pre-configured candidate word.Comprise the user's related term dictionary that mates with scene with user's related term dictionary of scene coupling, with the related term that stores candidate word in user's related term dictionary of scene coupling, the related term of this candidate word is user when importing candidate word, the related term of that selected and the candidate word scene coupling.The related term of candidate word can be the synonym of candidate word, the antonym of candidate word, one or more in other perhaps relevant with candidate word speech.
Step S304, step S305, step S306 and step S307 step S103, step S104, step S105 and the step S106 with shown in Figure 1 respectively are identical, do not repeat them here.
In embodiments of the present invention, can be according to the candidate word of user input, the related term of this candidate word in the related term dictionary of the scene coupling of selecting with the user that search is preset, thus can satisfy user's needs to the related term of candidate word under different scenes.As when chatting, can adopt colloquial vocabulary, and when office, can adopt academic vocabulary, when making professional document, can adopt specialized vocabulary.
The user that Fig. 5 shows the embodiment of the invention to be provided imports the realization flow of candidate word, and details are as follows:
In step S501, receive the character of user's input.Wherein the character of user's input can be a pinyin string, also can be stroke string.
In step S502, according to the character of user input, in the character database that search is preset with all candidate word of this character match.The character database that wherein presets comprises the phonetic dictionary, perhaps the stroke dictionary.
When the character of user's input is pinyin string,, before all candidate word of mating with this pinyin string in the character database that search is preset, the pinyin string of user's input is carried out syllabification by default syllabification rule in pinyin string according to user's input.Wherein Yu She syllabification rule belongs to prior art, does not repeat them here.Again according to the syllabification result, in the phonetic dictionary of the character database that search is preset, with all candidate word of this pinyin string coupling.
When the character of user's input is stroke string, in the stroke dictionary of the character database that search is preset, with all candidate word of this stroke string coupling.
In step S503, show all candidate word that search.When showing the candidate word that generates, can Pagination Display be set according to the demonstration of Chinese character, also can once show all candidate word.
In step S504, receive user's candidate word selection instruction, candidate word that will be corresponding with this instruction is as the candidate word of user's input.The user can pass through numerical key on mouse, the keyboard or directionkeys etc. and send the candidate word selection instruction, need to select the candidate word of input.In candidate word, import the related term of this candidate word according to the related term input method of Fig. 1 or candidate word shown in Figure 3 according to user input.
Fig. 6 shows the structure of the related term input system 60 of candidate word in the input method that the embodiment of the invention provides, and for the better explanation embodiment of the invention, only shows the part relevant with the embodiment of the invention.
Candidate word load module 61 receives the candidate word of user's input, and this candidate word is according to the phonetic of the Chinese character of user's input or the definite candidate word of stroke.
The candidate word that related term search module 62 receives according to candidate word load module 61, the related term of this candidate word in the related term dictionary 63 that search is preset.The related term of candidate word can be the synonym of candidate word, the antonym of candidate word, one or more in other perhaps relevant with candidate word speech.
Related term dictionary 63 stores the related term of candidate word, when related term search module 62 searches the related term of this candidate word, to the related term of related term search module 62 these candidate word of output.In embodiments of the present invention, select the related term of the candidate word exported for the ease of the user, related term dictionary 63 comprises core related term dictionary and user's related term dictionary.Wherein core related term dictionary comprises the related term dictionary, stores the related term of candidate word in the related term dictionary, and the related term of this candidate word is the related term of pre-configured candidate word.User's related term dictionary comprises the related term dictionary, stores the related term of candidate word in the related term dictionary, and the related term of this candidate word is user when importing candidate word, the related term of the candidate word of selecting.
All candidate word that related term window interactive module 64 searches related term search module 62 are shown to the user and receive user's operational order.Send the related term selection instruction of candidate word by directionkeys on mouse, the keyboard or numerical key as the user, during with the related term of the candidate word that select to show, related term window interactive module 64 is exported the related term of the candidate word chosen as the related term of the candidate word that need import with the user.
In another embodiment of the present invention, in order to make the user at the different scene inputs and the vocabulary of scene coupling, to improve user's language talent.The system that the embodiment of the invention provides also comprises scene selection module (scheming not shown).Scene selects module to receive the scene that the user selects.Wherein scene includes but not limited to spoken scene, popular word scene, academic scene, classic scene, professional scene etc.Can also be subdivided into the literature scene according to the difference of specialty, medical scene, computing machine scene, physics scene etc. in the specialty scene.Concrete scene classification as shown in Figure 4.The user can select one or more scene simultaneously.Accordingly, different scene couplings have corresponding related term dictionary.At this moment, the candidate word that related term search module 62 receives according to candidate word load module 61, the related term of this candidate word in the related term dictionary that the scene with the reception of scene selection module that search is preset is mated.
In another embodiment of the present invention, select the related term of candidate word in order to guide the user, the system that the embodiment of the invention provides also comprises related term order module (scheming not shown), its related term to the candidate word that the related term search module searches sorts.At this moment, related term search module 62 is searched for the related term of this candidate word in the core related term dictionary in the related term dictionary 63 and the candidate word in user's related term dictionary simultaneously.Wherein concrete sequencer procedure does not repeat them here as mentioned above.
In another embodiment of the present invention, select the related term of candidate word for the ease of the user, the system that the embodiment of the invention provides also comprises related term memory module (scheming not shown), and its related term with the candidate word of related term window interactive module 66 output is stored in user's related term dictionary in the related term dictionary 63.Concrete storing process does not repeat them here as mentioned above.
Fig. 7 shows the structure of the candidate word load module 61 that the embodiment of the invention provides.
Candidate word load module 61 comprises character load module 611, candidate word search module 612, character database 613 and candidate word window interactive module 614.Character load module 611 receives the character of user's input, the character that candidate word search module 612 receives according to character load module 611, in the character database 613 that presets of search with all candidate word of this character match, character database 613 is to candidate word search module 612 outputs all candidate word with this character match, and all candidate word that candidate word window interactive module 614 show candidate speech search modules 612 are submitted to also receive the operational order that the user imports.
Wherein the character of character load module 611 receptions can be a pinyin string of determining candidate word, also can be the stroke string of determining candidate word.When this character was stroke string, character database 613 comprised the unicursal dictionary.At this moment, the stroke string that candidate word search module 612 receives according to character load module 611, all candidate word of mating with this stroke string in the stroke dictionary of the character database 613 that search is preset, character database 613 is to candidate word search module 612 outputs all candidate word with this stroke string coupling.The character that receives when character load module 611 is pinyin string (this pinyin string can be the simplicity pinyin string, also can be the spelling pinyin string).The time, character database 613 comprises a phonetic dictionary, candidate word load module 61 also comprises syllabification module 615, it carries out syllabification by default syllabification principle to the pinyin string that candidate word load module 61 receives, at this moment, candidate word search module 612 is according to the syllabification result of syllabification module 615, all candidate word corresponding with the syllabification result of this pinyin string in the phonetic dictionary of searching character database 613.
For better explanation the present invention, the present invention will be described below in conjunction with a concrete example.When the related term of supposing the candidate word that the user need import was the synonym of candidate word, then this related term dictionary was the synonym dictionary, comprises core synonym dictionary and user's synonym dictionary in this synonym dictionary.Wherein include synonymicon in core synonym dictionary and the user's synonym dictionary, suppose candidate word synonymicon data structure as shown in Figure 8, and suppose that the synonymicon of this candidate word and spoken scene mate.When the user need import the related term of candidate word according to scene, then corresponding stored had the related term dictionary that mates with each scene in the related term dictionary.
When the user on keyboard during input Pinyin string " zzh ", 615 pairs of above-mentioned pinyin string of syllabification module are carried out syllabification, obtain the pinyin string " z ' zh " after the syllabification, all candidate word corresponding in the phonetic dictionary of candidate word search module 612 search storage in advance with the syllabification result of this pinyin string (as tissue, final, be employed, autonomy, respect etc.), show above-mentioned candidate word by candidate word window interactive module 613, the user selects one of them candidate word by numerical key, as respecting, as the candidate word of user's input.
When the user selects module to select current scene to be spoken scene by scene, related term search module 62 is according to the candidate word " respect " of user's input, the synonym of " respect " in the synonymicon as shown in Figure 8 of search and spoken scene coupling, the synonym of " respect " that then searches comprises " respect ", " honorable ", " respect ", " admiring ", " loving and respecting " etc.
The related term order module adopts " non-nearest memory " and " non-high word frequency " ranking method that the synonym of " respect " that search is sorted.Suppose that default Chinese character is shown as Pagination Display, and four vocabulary of every page of demonstration, and in the synonym of " respect " that search, be " respect ", " honorable ", " respect ", " loving and respecting ", " admiring " by word frequency order just; Wherein " admire ", " respect " be the user once in input when " respect ", the related term of selecting, and it is " admiring ", " respect " by word frequency order from low to high; " respect " is the related term of the last memory of user.After then adopting " non-nearest memory " and " non-high word frequency " ranking method that the synonym of " respect " that search is sorted, its put in order for, " honorable ", " respect ", " loving and respecting ", " respect ", " admiring ".Related term window interactive module 64 shows according to said sequence when the synonym of Pagination Display " respect ".When the user by keyboard on numerical key send the related term selection instruction of candidate word, when the related term of the candidate word of selection " is admired ", 64 outputs " admiring " of related term window interactive module.Simultaneously the related term memory module " is admired the related term of " respect " of this output " in the user's related term dictionary that is added into the related term dictionary, as the synonym of the nearest memory of " respect ".
In embodiments of the present invention, candidate word according to user's input, all related terms of this candidate word in the search related term dictionary, and according to the related term selection instruction of user's candidate word, export the related term of the candidate word corresponding, thereby expanded user's vocabulary, improved user's voice talent and ability of language expression with the related term selection instruction of this candidate word, make user's language abundanter, individual character is more arranged.By the scene of selecting according to the user, the related term of the candidate word of output and this scene coupling, thus satisfy the demand of user to specialized vocabulary.Before showing the related term of the candidate word search, adopt certain sortord that the related term of the candidate word that searches is sorted, thereby improved user's text input speed, efficient and accuracy greatly to the user.And the related term of the candidate word that the storage user selected through long-term Chinese character input, can form the related term dictionary of the nearest memory that belongs to user oneself, is convenient to the user selects satisfactory candidate word in the related term of numerous candidate word related term.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. the related term input method of candidate word in the input method is characterized in that described method comprises the steps:
Receive the candidate word of input;
According to described candidate word, the related term of the described candidate word of search from the related term dictionary that presets, the related term of described candidate word is one or more near synonym, synonym or the antonym of candidate word, and described related term dictionary comprises core related term dictionary and user's related term dictionary;
To from core related term dictionary, search, and the related term that is not included in the candidate word in user's related term dictionary sorts from high to low according to word frequency;
The related term of the candidate word that will search from user's related term dictionary is inserted into the end of the related term sequence of the candidate word after the above-mentioned ordering from low to high according to word frequency;
The related term of candidate word of memory at last is inserted into above-mentioned centre position of having inserted the related term sequence that forms behind the related term of the candidate word that searches from user's related term dictionary, and described centre position is to make the related term of the candidate word of described last memory be positioned at first page position when the related term of the described candidate word of Pagination Display;
The related term that shows the candidate word after sorting;
Receive the related term selection instruction of the candidate word of input, the related term of the candidate word that output is corresponding with described instruction.
2. the method for claim 1 is characterized in that, the step of the candidate word of described reception input is specially:
Receive the character of input;
According to described character, all candidate word of search and described character match from the character database that presets;
Show described all candidate word;
Receive the candidate word selection instruction of input, candidate word that will be corresponding with described candidate word selection instruction is as the candidate word of input.
3. the method for claim 1 is characterized in that, described method also comprises the steps:
Receive the scene that the user selects;
When the related term of the described candidate word of search from the related term dictionary that presets, according to described candidate word, the related term of the described candidate word of search from that preset and related term dictionary described scene coupling.
4. the method for claim 1 is characterized in that, described method also comprises the steps:
The related term of candidate word is stored to user's related term dictionary of related term dictionary, and the related term of described candidate word is that the user selected.
5. the related term input system of candidate word in the input method is characterized in that described system comprises:
The candidate word load module is used to receive the candidate word that the user imports;
The related term search module is used for according to described candidate word, the related term of the described candidate word of search from the related term dictionary that presets;
The related term dictionary, be used to store the related term of described candidate word, and export the related term of described candidate word to described related term search module, the related term of described candidate word is one or more near synonym, synonym or the antonym of candidate word, and described related term dictionary comprises core related term dictionary and user's related term dictionary;
The related term order module is used for and will searches from core related term dictionary, and the related term that is not included in candidate word in user's related term dictionary sorts from high to low according to word frequency; The related term of the candidate word that will search from user's related term dictionary is inserted into the end of the related term sequence of the candidate word after the above-mentioned ordering from low to high according to word frequency; The related term of candidate word of memory at last is inserted into above-mentioned centre position of having inserted the related term sequence that forms behind the related term of the candidate word that searches from user's related term dictionary, and described centre position is to make the related term of the candidate word of described last memory be positioned at first page position when the related term of the described candidate word of Pagination Display;
Related term window interactive module is used to show the related term of the candidate word after the ordering, and receives the operational order of user's input.
6. system as claimed in claim 5 is characterized in that, described candidate word load module comprises:
The character load module is used to receive the character that the user imports;
The candidate word search module is used for according to described character, all candidate word of search and described character match from the character database that presets;
Character database is used for to described candidate word search module output all candidate word with described character match;
Candidate word window interactive module, the operational order that is used to show all candidate word that described candidate word search module is submitted to and receives user's input.
7. system as claimed in claim 5 is characterized in that, described system also comprises:
Scene is selected module, is used to receive the scene that the user selects; At this moment
Described related term search module is according to described candidate word, the related term of the described candidate word of search from that preset and related term dictionary described scene coupling.
8. system as claimed in claim 5 is characterized in that, described system also comprises:
The related term memory module is used for the related term of the candidate word of described related term window interactive module output is stored to user's related term dictionary of described related term dictionary.
CN2007103050657A 2007-12-26 2007-12-26 Method for inputting word related to candidate word in input method and system Active CN101183281B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007103050657A CN101183281B (en) 2007-12-26 2007-12-26 Method for inputting word related to candidate word in input method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007103050657A CN101183281B (en) 2007-12-26 2007-12-26 Method for inputting word related to candidate word in input method and system

Publications (2)

Publication Number Publication Date
CN101183281A CN101183281A (en) 2008-05-21
CN101183281B true CN101183281B (en) 2011-04-13

Family

ID=39448581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007103050657A Active CN101183281B (en) 2007-12-26 2007-12-26 Method for inputting word related to candidate word in input method and system

Country Status (1)

Country Link
CN (1) CN101183281B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503994A (en) * 2014-12-04 2015-04-08 百度在线网络技术(北京)有限公司 Information recommendation method and device based on input method
CN107168553A (en) * 2017-07-17 2017-09-15 北京百度网讯科技有限公司 Method and input method for inputting words

Families Citing this family (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101634905B (en) * 2009-07-01 2011-07-06 广东国笔科技股份有限公司 Intelligent association input system and method
US8782556B2 (en) 2010-02-12 2014-07-15 Microsoft Corporation User-centric soft keyboard predictive technologies
CN101984420B (en) * 2010-09-03 2013-08-14 百度在线网络技术(北京)有限公司 Method and equipment for searching pictures based on word segmentation processing
CN102074221B (en) * 2011-01-06 2012-08-22 深圳芯邦科技股份有限公司 Method and device for displaying characters
JP5338835B2 (en) * 2011-03-24 2013-11-13 カシオ計算機株式会社 Synonym list generation method and generation apparatus, search method and search apparatus using the synonym list, and computer program
CN102289512A (en) * 2011-09-01 2011-12-21 上海汉翔信息技术有限公司 System and method for dynamically adjusting candidate words on portable equipment based on geographical position
CN103257718B (en) * 2012-02-17 2018-05-29 深圳市世纪光速信息技术有限公司 Chinese character input method, equipment and system
US9116549B2 (en) * 2012-08-16 2015-08-25 Chih-Lung Yang Electronic device having input control application
CN103218447B (en) * 2013-04-24 2016-06-08 东莞宇龙通信科技有限公司 A kind of association-feeding method and device
CN104298457A (en) * 2013-07-18 2015-01-21 广州三星通信技术研究有限公司 Character input method and device
CN103399906B (en) * 2013-07-29 2015-07-29 百度在线网络技术(北京)有限公司 The method and apparatus of candidate word is provided based on social relationships when inputting
CN108170294B (en) * 2013-08-08 2021-04-16 阿里巴巴集团控股有限公司 Vocabulary display method, field conversion method, client, electronic equipment and computer storage medium
CN104424168A (en) * 2013-09-11 2015-03-18 华为技术有限公司 Text editing method, text editing device and server
CN104461039B (en) * 2013-09-13 2017-11-14 北大方正集团有限公司 Tibetan language input method and processing unit
CN104133561B (en) * 2014-07-31 2018-06-05 百度在线网络技术(北京)有限公司 Auxiliary information based on input method shows method and apparatus
CN105404903B (en) * 2014-09-15 2020-06-23 联想(北京)有限公司 Information processing method and device and electronic equipment
CN104317851A (en) * 2014-10-14 2015-01-28 小米科技有限责任公司 Word prompt method and device
CN104484057B (en) * 2014-12-04 2018-04-13 百度在线网络技术(北京)有限公司 The offer method and apparatus of result are provided
CN106371711A (en) * 2015-07-20 2017-02-01 联想(北京)有限公司 Information input method and electronic equipment
CN106774969B (en) * 2015-11-20 2021-12-14 北京搜狗科技发展有限公司 Input method and device
CN105760521A (en) * 2016-02-29 2016-07-13 百度在线网络技术(北京)有限公司 Information input method and device
CN107219932A (en) * 2016-03-21 2017-09-29 阿里巴巴集团控股有限公司 A kind of input method, device and intelligent terminal
CN105868322A (en) * 2016-03-26 2016-08-17 深圳市金立通信设备有限公司 Input method and terminal
CN107291259B (en) * 2016-04-13 2021-11-02 北京搜狗科技发展有限公司 Information display method and device for information display
US10140017B2 (en) * 2016-04-20 2018-11-27 Google Llc Graphical keyboard application with integrated search
CN108073303B (en) 2016-11-17 2021-11-30 北京搜狗科技发展有限公司 Input method and device and electronic equipment
CN108733226A (en) * 2017-04-13 2018-11-02 北京搜狗科技发展有限公司 A kind of method and device of information recommendation
CN108874170B (en) * 2017-05-08 2023-05-23 北京搜狗科技发展有限公司 Input method and device
CN107247519B (en) * 2017-08-16 2020-09-29 北京搜狗科技发展有限公司 Input method and device
CN108986910B (en) * 2018-07-04 2023-09-05 平安科技(深圳)有限公司 On-line question and answer method, device, computer equipment and storage medium
CN109271040A (en) * 2018-08-06 2019-01-25 北京三个逗号科技有限公司 Construct method, input method, computer storage medium and the terminal of user thesaurus
CN111339121A (en) * 2018-12-18 2020-06-26 上海睿计信息技术股份有限公司 Intelligent phrase input system based on semantic analysis

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1281178A (en) * 1999-07-15 2001-01-24 黎明 Li Ming multifunctional shape-meaning-class-letter encode technique for inputting Chinese characters
CN1442787A (en) * 2002-03-01 2003-09-17 何万贯 Composition revise and write system
CN101071338A (en) * 2007-02-07 2007-11-14 腾讯科技(深圳)有限公司 Word input method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1281178A (en) * 1999-07-15 2001-01-24 黎明 Li Ming multifunctional shape-meaning-class-letter encode technique for inputting Chinese characters
CN1442787A (en) * 2002-03-01 2003-09-17 何万贯 Composition revise and write system
CN101071338A (en) * 2007-02-07 2007-11-14 腾讯科技(深圳)有限公司 Word input method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503994A (en) * 2014-12-04 2015-04-08 百度在线网络技术(北京)有限公司 Information recommendation method and device based on input method
CN107168553A (en) * 2017-07-17 2017-09-15 北京百度网讯科技有限公司 Method and input method for inputting words
CN107168553B (en) * 2017-07-17 2020-10-27 北京百度网讯科技有限公司 Method, device, readable storage medium and input method for inputting words

Also Published As

Publication number Publication date
CN101183281A (en) 2008-05-21

Similar Documents

Publication Publication Date Title
CN101183281B (en) Method for inputting word related to candidate word in input method and system
KR102577514B1 (en) Method, apparatus for text generation, device and storage medium
CN110717017B (en) Method for processing corpus
US11693894B2 (en) Conversation oriented machine-user interaction
CN114020862B (en) Search type intelligent question-answering system and method for coal mine safety regulations
CN102866782B (en) Input method and input method system for improving sentence generating efficiency
JP7106802B2 (en) Resource sorting method, method for training a sorting model and corresponding apparatus
CN101520786B (en) Method for realizing input method dictionary and input method system
CN101840406B (en) Place name searching device and system
CN111881316B (en) Search method, search device, server and computer readable storage medium
CN102662935A (en) Interactive machine translation method and machine translation system
CN106227714A (en) A kind of method and apparatus obtaining the key word generating poem based on artificial intelligence
US11257484B2 (en) Data-driven and rule-based speech recognition output enhancement
JP7160986B2 (en) Search model training method, apparatus, device, computer storage medium, and computer program
CN113326367B (en) Task type dialogue method and system based on end-to-end text generation
JP2021192283A (en) Information query method, device and electronic apparatus
CN104298365A (en) Character input device, character input method, and computer program product
CN103177039A (en) Data processing method and data processing device
CN110222335A (en) A kind of text segmenting method and device
JP2021082306A (en) Method, apparatus, device, and computer-readable storage medium for determining target content
CN107123318B (en) Foreign language writing learning system based on input method device
CN102567424B (en) Poetry association library system and realization method thereof as well as electronic learning equipment
CN104021201A (en) Data conversion method and device
CN111090720B (en) Hot word adding method and device
Sproat et al. Applications of lexicographic semirings to problems in speech and language processing

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
ASS Succession or assignment of patent right

Owner name: SHENZHEN SHIJI LIGHT SPEED INFORMATION TECHNOLOGY

Free format text: FORMER OWNER: TENGXUN SCI-TECH (SHENZHEN) CO., LTD.

Effective date: 20131101

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518044 SHENZHEN, GUANGDONG PROVINCE TO: 518057 SHENZHEN, GUANGDONG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20131101

Address after: A Tencent Building in Shenzhen Nanshan District City, Guangdong streets in Guangdong province science and technology 518057 16

Patentee after: Shenzhen Shiji Guangsu Information Technology Co., Ltd.

Address before: 2, 518044, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.