CN106933381A - A kind of information processing method and device - Google Patents

A kind of information processing method and device Download PDF

Info

Publication number
CN106933381A
CN106933381A CN201710157280.0A CN201710157280A CN106933381A CN 106933381 A CN106933381 A CN 106933381A CN 201710157280 A CN201710157280 A CN 201710157280A CN 106933381 A CN106933381 A CN 106933381A
Authority
CN
China
Prior art keywords
application
candidate word
word
candidate
input
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.)
Pending
Application number
CN201710157280.0A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710157280.0A priority Critical patent/CN106933381A/en
Publication of CN106933381A publication Critical patent/CN106933381A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items

Abstract

The present invention provides a kind of information processing method and device, it is determined that after the application of current character to be entered, obtain at least one candidate word matched with application, at least one matched candidate word is shown in the viewing area of the electronic equipment of display application, realize at least one candidate word matched with application according to the application display of current character to be entered, the candidate word that so viewing area shows every time is related to the application of current character to be entered, for the existing mode according to word frequency matching candidate word, allow that the candidate word of each display changes according to the application of current character to be entered.And the candidate word for obtaining is matched with application so that candidate word is related to application, and such candidate word can improve the accuracy of recommendation in the case of as recommendation information.

Description

A kind of information processing method and device
Technical field
The invention belongs to technical field of information processing, in particular, more particularly to a kind of information processing method and device.
Background technology
The media data being input into by the coding of input through keyboard or other non-keyboards can be converted into the Chinese by Chinese character coding input method Word, wherein Chinese character coding input method can be divided into two kinds of inputting method and non-keyboard input method, and technology is the most ripe and using the most It is widely inputting method, so-called inputting method refers to the Chinese character coding input method based on input through keyboard, it can utilize keyboard And the method that Chinese character is input into according to certain coding rule.
At present, during the Chinese character coding input method based on input through keyboard is used, user is generally had certain candidate word It is fixed on the demand of specified location in candidate word list.By taking the top set of candidate word as an example, user is wished in each input Pinyin When " shishi ", the first always Display of Chinese characters " fact " of candidate word list, the top set of this candidate word is by similar Realized in the mode of self-defined phrase.And the process by way of similar to self-defined phrase is as follows:
One character string is set to a mapping relations for candidate word, and this candidate word is set in the position of candidate word list Put.Such as simka this character string, its corresponding candidate word is respectively:SIM, Sima, private are raised, temple and secret Deng these candidate words are successively in the position of candidate word list:SIM, private are raised, temple, Sima and secret, such electronic equipment Each candidate word can be shown in the position of candidate word list according to candidate word, but this mode can only be selected according to user The frequency of the candidate word for taking carrys out adjust automatically candidate word in the position of candidate word list so that be input into same character string every time When show identical candidate word.
The content of the invention
In view of this, it is an object of the invention to provide a kind of information processing method and device, the time of display every time is realized Selecting word can change according to the application of current character to be entered.Technical scheme is as follows:
The present invention provides a kind of information processing method, and methods described includes:
It is determined that the application of current character to be entered, the application is displayed in the viewing area of electronic equipment;
At least one candidate word that acquisition is matched with the application;
At least one matched candidate word is shown in the viewing area.
Preferably, at least one candidate word that the acquisition is matched with the application, including:
Obtain the attribute information of the application;
Based on the attribute information of the application, it is determined that the candidate word type matched with the application, the candidate word type Depending on the meaning of one's words according to the candidate word;
According to the candidate word type, type and the candidate word type identical candidate are chosen from candidate's dictionary set Dictionary;
At least one candidate word is chosen from selected candidate's dictionary.
Preferably, methods described also includes:Obtain the geographical location information that the electronic equipment is presently in;
At least one candidate word that the acquisition is matched with the application, including:Obtain and the geographical location information phase At least one original candidates word of matching, and chosen from least one original candidates word and matched at least with the application One candidate word.
Preferably, methods described also includes:Character is input into by a kind of input method in the application;
At least one candidate word that the acquisition is matched with the application, including:Obtain related to the input character At least one input word, and at least one candidate word matched with the application is chosen from least one input word.
Preferably, methods described also includes:The display level of at least one selected candidate word is set to the first order Not;
The display level of other input words is set to second level, wherein the second level is less than first level, institute Stating other input words includes the candidate word do not chosen and/or applies unmatched input word with described;
It is described to show at least one matched candidate word in the viewing area, including:According to the display level by High to Low order, display selected at least one candidate word and described other input words.
The present invention also provides a kind of information processor, and described device includes:
Determining unit, the application for determining current character to be entered, the application is displayed in the viewing area of electronic equipment Domain;
Candidate word acquiring unit, for obtaining at least one candidate word matched with the application;
Display unit, for showing at least one matched candidate word in the viewing area.
Preferably, the candidate word acquiring unit, including:
Obtain subelement, the attribute information for obtaining the application;
Determination subelement, for the attribute information based on the application, it is determined that the candidate word type matched with the application, Depending on the meaning of one's words of the candidate word type according to the candidate word;
Subelement is chosen, for according to the candidate word type, type and the candidate being chosen from candidate's dictionary set Part of speech type identical candidate's dictionary, and choose at least one candidate word from selected candidate's dictionary.
Preferably, described device also includes:Location information acquiring unit, for obtaining what the electronic equipment was presently in Geographical location information;
The candidate word acquiring unit, for obtaining at least one original candidates matched with the geographical location information Word, and at least one candidate word matched with the application is chosen from least one original candidates word.
Preferably, described device also includes:Input block, for being input into word by a kind of input method in the application Symbol;
The candidate word acquiring unit, for obtain to input related at least one input word of character, and from institute State and choose at least one candidate word matched with the application at least one input word.
Preferably, described device also includes:Setting unit, for by the display level of at least one selected candidate word First level is set to, and the display level of other input words is set to second level, wherein the second level is less than First level, described other input words include the candidate word do not chosen and/or apply unmatched input word with described;
The display unit, for the order according to the display level from high to low, selected by display at least one Candidate word and described other input words.
Compared with prior art, the above-mentioned technical proposal that the present invention is provided has the following advantages that:
By above-mentioned technical proposal, it is determined that after the application of current character to be entered, obtaining at least matched with application Individual candidate word, at least one matched candidate word is shown in the viewing area of the electronic equipment of display application, realizes that basis is worked as At least one candidate word that the application display of preceding character to be entered is matched with application, the candidate word that such viewing area shows every time Application to current character to be entered is related, for the existing mode according to word frequency matching candidate word so that aobvious every time The candidate word shown can change according to the application of current character to be entered.And the candidate word for obtaining is matched with application, So that candidate word is related to application, such candidate word can improve the accuracy of recommendation in the case of as recommendation information.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of information processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of the application of character to be entered provided in an embodiment of the present invention;
Fig. 3 is the flow chart of acquisition candidate word in information processing method provided in an embodiment of the present invention;
Fig. 4 is the interface schematic diagram for showing candidate word in the prior art;
Fig. 5 is the interface schematic diagram of display candidate word provided in an embodiment of the present invention;
Fig. 6 is another flow chart of information processing method provided in an embodiment of the present invention;
Fig. 7 is another flow chart of information processing method provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation of information processor provided in an embodiment of the present invention;
Fig. 9 is the structural representation of candidate word acquiring unit in information processor provided in an embodiment of the present invention;
Figure 10 is another structural representation of information processor provided in an embodiment of the present invention;
Figure 11 is the yet another construction schematic diagram of information processor provided in an embodiment of the present invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is referred to, it illustrates a kind of flow chart of information processing method provided in an embodiment of the present invention, can be included Following steps:
101:It is determined that the application of current character to be entered, wherein application is displayed in the viewing area of electronic equipment.Namely Say, the viewing area of current electronic device shows the application of a character to be entered, and the application of so-called character to be entered is meeting The application of input method is applied to, such as possesses the application of function of search or chat feature.
As shown in Fig. 2 showing an application in the viewing area of electronic equipment shown in Fig. 2, set in the application There is input frame, and a search control is provided with the side area of input frame region, be input into input frame relevant Search control can be triggered after key information to scan for, that is to say, that application is an application for possessing function of search shown in Fig. 2, The application then can be considered the application for belonging to character to be entered.
102:Obtain at least one candidate word matched with application.In the prior art, it is to be entered for different types of For the application of character, application one candidate's dictionary of correspondence of different types of character to be entered then treats defeated for different types of Entering the mode of the application acquisition candidate word of character is:According to the frequency of use of each candidate word, candidate is chosen from candidate's dictionary Word.And for the application of different types of character to be entered, the frequency of use of each candidate word is fixed, therefore basis The selected candidate word taken out of the frequency of use of each candidate word is fixed, and it cannot be according to the different and different of application.
And in order to solve this problem, the embodiment of the present invention can be obtained and work as according to the application of current character to be entered At least one candidate word of the application matching of preceding character to be entered so that acquired candidate word can be according to the difference of application It is different.Wherein, a kind of feasible pattern of at least one candidate word matched with application is obtained as shown in figure 3, can include Following steps:
1021:Obtain the attribute information of application.
1022:Based on the attribute information of application, it is determined that the candidate word type matched with application.
In embodiments of the present invention, the attribute information of application is at least used to indicate application type, then the attribute based on application Information, it is determined that the candidate word type matched with application is:It is determined that the candidate word type matched with application type.Wherein based on application Attribute information determine that a kind of feasible pattern of application type of application is:Being determined from the meaning of one's words of the attribute information of application should At least include description information with type, such as attribute information of application, application type is determined by the meaning of one's words of description information.Such as Description information is:The information of Apply Names is indicated, can determine apply which kind of belongs to by the lexical analysis to Apply Names Application type.
Attribute information based on application determines that another feasible pattern of the application type of application is:Third party's service is provided Application shop can according to application type distinguish apply, such as using shop provide application type at least include:It is the good drink of cuisines, new News, healthy fitness, tourism, music, social activity etc., therefore download application installation package in the application shop provided from third party's service When, application type can be loaded onto in the attribute information of application, so after application installation package is installed in electronic equipment, electricity Can be written to application type in the attribute information of application by sub- equipment, and then application is can be obtained by from the attribute information of application Type.I.e. by way of writing application type in the attribute information in application, directly can be obtained from the attribute information of application To application type.
Depending on above-mentioned candidate word type is according to the meaning of one's words of candidate word, such as candidate word is:A cells, then can be according to candidate word The meaning of one's words at least one that is defined as candidate word type in navigation type, house property type and life type.Implement in the present invention In example, candidate word preferred pair answers a various candidate word type, because:Same candidate word is in different types of application With different effects, such as above-mentioned candidate word:A cells, it can be considered to be a building in the application of navigation type, Using the marker in navigation Service as traveling process, and in the application of house property type its can as recommendation information, because This can set in the case where same candidate word has different effects in different types of application for same candidate word Various candidate word types are put, to increase the probability that candidate word is used by multiple application.
1023:According to candidate word type, type and candidate word type identical candidate word are chosen from candidate's dictionary set Storehouse.Wherein, candidate's dictionary set includes multiple candidate's dictionaries, and the candidate word that the type of each candidate's dictionary is stored with itself Candidate word type it is identical, therefore it is determined that with the case of the candidate word type that matches of application, can be from all candidate's dictionaries In select type and candidate word type identical candidate's dictionary.And candidate word type is related to the attribute information of application, such as wait Select part of speech type related to application type so that the candidate's dictionary for selecting is related to the application of current character to be entered, realizes base In the attribute information matching candidate dictionary of application.
1024:At least one candidate word is chosen from selected candidate's dictionary.It is appreciated that:Selected candidate The application of dictionary and current character to be entered is related, thus from selected candidate's dictionary selection candidate word also with currently treat The application for being input into character matches.
In embodiments of the present invention, a kind of feasible pattern of selection candidate word is:Made according to candidate word in candidate's dictionary Frequency selection purposes candidate word is used, specifically the order from big to small of the frequency of use according to candidate word in candidate's dictionary chooses candidate Word.
Choosing another feasible pattern of candidate word is:For destination object sets corresponding candidate word, i.e., it is determined that current , it is necessary to further determine that the application said target object of current character to be entered after the application of character to be entered, such as determine current Which electronic equipment the application of character to be entered is operated in, institute's determination electronic equipment is then chosen from candidate's dictionary corresponding Candidate word, so as to for electronic equipment provides its own corresponding candidate word, realize the personalization that candidate word is chosen.
103:At least one matched candidate word is shown in viewing area, such candidate word can be as current to be entered The recommendation information of the application of character, and candidate word type is related to the attribute information of application so that recommendation information is related to application, Improve the accuracy recommended.
Illustrated by taking a type of application as an example below, to illustrate the difference of prior art and the embodiment of the present invention, For example when the application of current character to be entered is the application of a house property type, the application of the house property type possesses house property information and pushes away Function is recommended, electronic equipment is understood from the corresponding same candidate's dictionary of different types of application in application prior art, according to The frequency of use of candidate word chooses candidate word for the application of house property type, this selection mode can cause selected candidate word with Using unrelated, the accuracy of recommendation can be so reduced when using candidate word as the recommendation information of application.As shown in figure 4, in Fig. 4 In for house property type application choose candidate word including:Daily necessities A, clothes B and house property C, have in these three candidate words Two candidate word types of candidate word are mismatched with application type, and then cause candidate word unrelated with application, reduce the standard recommended True property.
And in information processing method provided in an embodiment of the present invention, the candidate word of acquisition is matched with application, the time for such as obtaining Select part of speech type identical with application type, so selected candidate word is the candidate word of house property type so that selected time Select word related to application, the accuracy of recommendation can be improved when using candidate word as the recommendation information of application.As shown in figure 5, In Figure 5 for the candidate word that the application of house property type is chosen includes:D cells, house property preferential policy and house property information, these three times Select the candidate word type of word to be matched with application type, and then cause that candidate word is related to application, improve the accuracy recommended.
By above-mentioned technical proposal, it is determined that after the application of current character to be entered, obtaining at least matched with application Individual candidate word, at least one matched candidate word is shown in the viewing area of the electronic equipment of display application, realizes that basis is worked as At least one candidate word that the application display of preceding character to be entered is matched with application, the candidate word that such viewing area shows every time Application to current character to be entered is related, for the existing mode according to word frequency matching candidate word so that aobvious every time The candidate word shown can change according to the application of current character to be entered.And the candidate word for obtaining is matched with application, So that candidate word is related to application, so using candidate word as the accuracy that recommendation can be improved in the case of recommendation information.
Fig. 6 is referred to, it illustrates another flow chart of information processing method provided in an embodiment of the present invention, can be wrapped Include following steps:
601:It is determined that the application of current character to be entered, wherein application is displayed in the viewing area of electronic equipment.
602:Obtain the geographical location information that electronic equipment is presently in.Wherein, geographical location information can be that electronics sets The latitude and longitude information of standby present position, and the acquisition modes of latitude and longitude information can be:By the locating module in electronic equipment Latitude and longitude information is obtained to position.Specifically, locating module can by GPS (Globle Positioning System, GPS) any one technology in technology and wireless technology obtains latitude and longitude information to position.
And the another way for obtaining geographical location information is:Obtain the input letter of the sign self-position of user input Breath, responds the input information to generate geographical location information.As the input information that user input characterizes self-position is:Garden Hou Shan mountain tops, then the geographical location information that is presently in of electronic equipment for corresponding to generation is:Garden Hou Shan mountain tops, further may be used also To obtain the road information etc. of this geographical location information from map application so that geographical location information is:Garden Hou Shan mountain tops And road information.
603:Obtain at least one original candidates word matched with geographical location information, and from least one original candidates At least one candidate word matched with application is chosen in word, to realize obtaining at least one candidate word matched with application.
In embodiments of the present invention, a kind of feasible side of at least one original candidates word for matching with geographical location information Formula is:Part candidate word can indicate that itself corresponding geographical location information, such as certain in candidate's dictionary in candidate's dictionary Individual candidate word is cell name, then the geographical location information where obtaining cell by the cell of candidate word instruction, and this is geographical Positional information is then the geographical location information pointed by candidate word, and is matched at least with the geographical location information of electronic equipment One original candidates word is:The geographical location information that original candidates word is indicated matches with the geographical location information of electronic equipment, Such as centered on the geographical location information that electronic equipment is presently in, in the geographical location information predeterminable range apart from electronic equipment In the range of geographical location information, thus can by geographical location information electronic equipment geographical location information predeterminable range In the range of candidate word recommended as original candidates word so that the original candidates word of recommendation relative to other candidate words come Say, the geographical location information degree of correlation with electronic equipment is higher, so as to increase the possibility that original candidates word is selected.Wherein Depending on predeterminable range scope can be according to practical application, this embodiment of the present invention is not any limitation as.
After original candidates word is got, at least one candidate matched with application is further chosen from original candidates word Word, and the feasible pattern that at least one candidate word matched with application is chosen from original candidates word is:Attribute based on application Information, chooses at least one candidate word matched with application from original candidates word, such as chooses candidate word from original candidates word At least one candidate word that type is matched with application type, specifically see flow chart shown in Fig. 3, to this embodiment of the present invention not Illustrate again.
604:At least one matched candidate word is shown in viewing area.
By above-mentioned technical proposal, after the geographical location information for getting electronic equipment, can obtain and geographical position At least one original candidates word of information match, and at least matched with application is chosen from least one original candidates word Individual candidate word so that the original candidates word of recommendation for other candidate words, the geographical location information phase with electronic equipment Pass degree is higher, so as to increase the possibility that original candidates word is selected.
Fig. 7 is referred to, it illustrates another flow chart of information processing method provided in an embodiment of the present invention, can be wrapped Include following steps:
701:It is determined that the application of current character to be entered, wherein application is displayed in the viewing area of electronic equipment.
702:Character is input into by a kind of input method in the application of current character to be entered.
703:At least one input word related to input character is obtained, and is chosen from least one input word and application At least one candidate word of matching, to realize obtaining at least one candidate word matched with application.
For such as simka, this is input into character, its corresponding input word is respectively:SIM, Sima, private are raised, temple With secret etc., the frequency of use of these input words is respectively in prior art root:SIM, private are raised, temple, Sima and secret.If Then directly can be defined as these input words and the candidate word that match of application, and present invention implementation using prior art by electronic equipment Example also needs to be chosen from these input words at least one candidate word matched with application.
The feasible pattern of the candidate word matched with application is chosen wherein from input word is:Based on the attribute information of application, Chosen from original candidates word with least one candidate word that match of application, such as from original candidates word selection candidate word type and At least one candidate word of application type matching, specifically see flow chart shown in Fig. 3, and this embodiment of the present invention is no longer explained State.
704:At least one matched candidate word is shown in viewing area.
By above-mentioned technical proposal, after one input character of input in the application of current character to be entered, can from The candidate word matched with application is chosen in the related input word of input character, realization is defeated according to the application of current character to be entered Enter character and show at least one candidate word matched with application, the candidate word of display is to be entered with current every time for such viewing area Input character in the application of character is related, for the existing mode according to word frequency matching candidate word so that aobvious every time The candidate word shown can be in the application of current character to be entered input character and change.And the candidate word for obtaining Matched with application so that candidate word is related to application, and such candidate word can improve recommendation in the case of as recommendation information Accuracy.
In above-mentioned all embodiments of the method, information processing method provided in an embodiment of the present invention can also set candidate word With the display level of other input words, to show candidate word and other input words according to display level, can specifically include with Lower step:
The display level of at least one selected candidate word is set to first level, by the display level of other input words Be not set to second level, wherein second level is less than first level, other input words include the candidate word do not chosen and/or with Using unmatched input word.That is the display level of selected candidate word is higher than the display level of other input words, So when candidate word and other input words are shown, can be according to display level order from high to low, selected by display extremely A few candidate word and other input words.
And during in the candidate word selected by display, the candidate word do not chosen and with the unmatched input word of application, all in accordance with The descending mode of frequency of use shows, it should be noted that be a bit, if other input words include what is do not chosen Candidate word, then preferentially show the candidate word do not chosen in other input words.
For foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but It is that those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, certain A little steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know, be retouched in specification The embodiment stated belongs to preferred embodiment, necessary to involved action and the module not necessarily present invention.
Fig. 8 is referred to, it illustrates a kind of structure of information processor provided in an embodiment of the present invention, can be included: Determining unit 11, candidate word acquiring unit 12 and display unit 13.
Determining unit 11, the application for determining current character to be entered, wherein application is displayed in the display of electronic equipment Region.That is, the viewing area of current electronic device shows the application of a character to be entered, and so-called character to be entered Application be the application that can be applied to input method, such as possess the application of function of search or chat feature.
Candidate word acquiring unit 12, for obtaining at least one candidate word matched with application.In the prior art, for For the application of different types of character to be entered, application one candidate's dictionary of correspondence of different types of character to be entered, then For the mode that the application of different types of character to be entered obtains candidate word is:According to the frequency of use of each candidate word, from time Select and choose candidate word in dictionary.And for the application of different types of character to be entered, the frequency of use of each candidate word It is fixed, therefore the candidate word taken out according to selected by the frequency of use of each candidate word is fixed, it cannot be according to application It is different and different.
And in order to solve this problem, the candidate word acquiring unit 12 in the embodiment of the present invention can be according to current to be entered The application of character, obtains at least one candidate word matched with the application of current character to be entered so that acquired candidate word Can be according to the different and different of application.Wherein, a kind of structure of candidate word acquiring unit 12 is as shown in figure 9, can wrap Include:Obtain subelement 121, determination subelement 122 and choose subelement 123.
Subelement 121 is obtained, the attribute information for obtaining application.
Determination subelement 122, for the attribute information based on application, it is determined that the candidate word type matched with application, candidate Depending on part of speech type is according to the meaning of one's words of candidate word.
In embodiments of the present invention, the attribute information of application is at least used to indicate application type, it is determined that the base of subelement 122 In the attribute information of application, it is determined that the candidate word type matched with application is:It is determined that the candidate word type matched with application type. Wherein the attribute information based on application determines that the feasible pattern of the application type of application see mutually speaking on somebody's behalf in embodiment of the method It is bright, this embodiment of the present invention is no longer illustrated.
And depending on above-mentioned candidate word type is according to the meaning of one's words of candidate word, such as candidate word is:A cells, then can be according to candidate Candidate word type is defined as the meaning of one's words of word at least one in navigation type, house property type and life type.Of the invention real Apply in example, candidate word preferred pair answers a various candidate word type, because:Same candidate word is in different types of application In have different effects, such as above-mentioned candidate word:A cells, it can be considered to be a building in the application of navigation type Thing, using the marker in navigation Service as traveling process, and in the application of house property type its can as recommendation information, Therefore can be same candidate word in the case where same candidate word has different effects in different types of application Various candidate word types are set, to increase the probability that candidate word is used by multiple application.
Subelement 123 is chosen, for according to candidate word type, type and candidate word type being chosen from candidate's dictionary set Identical candidate's dictionary, and choose at least one candidate word from selected candidate's dictionary.Wherein, wrapped in the set of candidate's dictionary Multiple candidate's dictionaries are included, and the type of each candidate's dictionary is identical with the candidate word type of the candidate word that itself is stored, therefore It is determined that in the case of the candidate word type matched with application, type and candidate word type can be selected from all candidate's dictionaries Identical candidate's dictionary.And candidate word type is related to the attribute information of application, such as candidate word type is related to application type, makes The candidate's dictionary that must be selected is related to the application of current character to be entered, realizes the attribute information matching candidate word based on application Storehouse.
In embodiments of the present invention, a kind of feasible pattern of selection candidate word is:Made according to candidate word in candidate's dictionary Frequency selection purposes candidate word is used, specifically the order from big to small of the frequency of use according to candidate word in candidate's dictionary chooses candidate Word.
Choosing another feasible pattern of candidate word is:For destination object sets corresponding candidate word, i.e., it is determined that current , it is necessary to further determine that the application said target object of current character to be entered after the application of character to be entered, such as determine current Which electronic equipment the application of character to be entered is operated in, institute's determination electronic equipment is then chosen from candidate's dictionary corresponding Candidate word, so as to for electronic equipment provides its own corresponding candidate word, realize the personalization that candidate word is chosen.
Display unit 13, for showing at least one matched candidate word in viewing area, such candidate word can be made It is the recommendation information of the application of current character to be entered, and candidate word type is related to the attribute information of application so that recommendation Breath is related to application, improves the accuracy recommended.
By above-mentioned technical proposal, it is determined that after the application of current character to be entered, obtaining at least matched with application Individual candidate word, at least one matched candidate word is shown in the viewing area of the electronic equipment of display application, realizes that basis is worked as At least one candidate word that the application display of preceding character to be entered is matched with application, the candidate word that such viewing area shows every time Application to current character to be entered is related, for the existing mode according to word frequency matching candidate word so that aobvious every time The candidate word shown can change according to the application of current character to be entered.And the candidate word for obtaining is matched with application, So that candidate word is related to application, so using candidate word as the accuracy that recommendation can be improved in the case of recommendation information.
Figure 10 is referred to, it illustrates another structure of information processor provided in an embodiment of the present invention, in Fig. 8 bases Can also include on plinth:Location information acquiring unit 14, for obtaining the geographical location information that electronic equipment is presently in.Its In, geographical location information can be the latitude and longitude information of electronic equipment present position, and the acquisition modes of latitude and longitude information can be with It is:Positioned by the locating module in electronic equipment and obtain latitude and longitude information.Specifically, locating module can be by GPS Any one technology in technology and wireless technology obtains latitude and longitude information to position.
And the another way for obtaining geographical location information is:Obtain the input letter of the sign self-position of user input Breath, responds the input information to generate geographical location information.As the input information that user input characterizes self-position is:Garden Hou Shan mountain tops, then the geographical location information that is presently in of electronic equipment for corresponding to generation is:Garden Hou Shan mountain tops, further may be used also To obtain the road information etc. of this geographical location information from map application so that geographical location information is:Garden Hou Shan mountain tops And road information.
Corresponding candidate word acquiring unit 12, for obtaining at least one original candidates matched with geographical location information Word, and at least one candidate word matched with application is chosen from least one original candidates word, to realize obtaining and application At least one candidate word matched somebody with somebody.
In embodiments of the present invention, at least one original candidates word feasible pattern for matching with geographical location information can be with Refering to the related description in above method embodiment, and after original candidates word is got, candidate word acquiring unit 12 needs At least one candidate word matched with application is further chosen from original candidates word, and is chosen from original candidates word and application The feasible pattern of at least one candidate word of matching is:Based on the attribute information of application, chosen from original candidates word and application At least one candidate word of matching, chooses at least one time that candidate word type is matched with application type such as from original candidates word Word is selected, the related description of the structure of above-mentioned candidate word acquiring unit 12 is specifically see, this embodiment of the present invention is no longer illustrated.
By above-mentioned technical proposal, after the geographical location information for getting electronic equipment, can obtain and geographical position At least one original candidates word of information match, and at least matched with application is chosen from least one original candidates word Individual candidate word so that the original candidates word of recommendation for other candidate words, the geographical location information phase with electronic equipment Pass degree is higher, so as to increase the possibility that original candidates word is selected.
Figure 11 is referred to, it illustrates the yet another construction schematic diagram of information processor provided in an embodiment of the present invention, Can also include on the basis of Fig. 8:Input block 15, for being input into character by a kind of input method in the application.
Accordingly, candidate word acquiring unit 12, for obtaining at least one input word related to character is input into, and to At least one candidate word matched with application is chosen in a few input word, to realize obtaining at least one time matched with application Select word.
Character such as the input of input block 15 is simka, and its corresponding input word is respectively:SIM, Sima, private are raised, temple Mausoleum and secret etc., the frequency of use of these input words is respectively in prior art root:SIM, private are raised, temple, Sima and secret. Directly these input words can be defined as and the candidate word that match of application, and present invention reality if electronic equipment uses prior art Candidate word acquiring unit 12 also needs to be chosen from these input words at least one candidate word matched with application in applying example.
The feasible pattern of the candidate word matched with application is chosen wherein from input word is:Based on the attribute information of application, Chosen from original candidates word with least one candidate word that match of application, such as from original candidates word selection candidate word type and At least one candidate word of application type matching, specifically see the related description of the structure of above-mentioned candidate word acquiring unit 12, This embodiment of the present invention is no longer illustrated.
By above-mentioned technical proposal, after one input character of input in the application of current character to be entered, can from The candidate word matched with application is chosen in the related input word of input character, realization is defeated according to the application of current character to be entered Enter character and show at least one candidate word matched with application, the candidate word of display is to be entered with current every time for such viewing area Input character in the application of character is related, for the existing mode according to word frequency matching candidate word so that aobvious every time The candidate word shown can be in the application of current character to be entered input character and change.And the candidate word for obtaining Matched with application so that candidate word is related to application, and such candidate word can improve recommendation in the case of as recommendation information Accuracy.
In above-mentioned all device embodiments, information processor provided in an embodiment of the present invention can also include:Set Unit, for the display level of at least one selected candidate word to be set into first level, and by other input words Display level is set to second level, and wherein second level is less than first level, and other input words include the candidate word do not chosen And/or with apply unmatched input word.
Corresponding display unit 13, for the order according to display level from high to low, selected by display at least one Candidate word and other input words.
That is the display level of selected candidate word is so waited higher than the display level of other input words in display When selecting word and other input words, at least one selected candidate word can be shown according to display level order from high to low With other input words.
And during in the candidate word selected by display, the candidate word do not chosen and with the unmatched input word of application, all in accordance with The descending mode of frequency of use shows, it should be noted that be a bit, if other input words include what is do not chosen Candidate word, then preferentially show the candidate word do not chosen in other input words.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to. For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part ginseng See the part explanation of embodiment of the method.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", does not arrange Except also there is other identical element in the process including the key element, method, article or equipment.
The foregoing description of the disclosed embodiments, enables those skilled in the art to realize or uses the present invention.To this Various modifications of a little embodiments will be apparent for a person skilled in the art, and generic principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with principles disclosed herein and features of novelty most wide Scope.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

1. a kind of information processing method, it is characterised in that methods described includes:
It is determined that the application of current character to be entered, the application is displayed in the viewing area of electronic equipment;
At least one candidate word that acquisition is matched with the application;
At least one matched candidate word is shown in the viewing area.
2. method according to claim 1, it is characterised in that at least one candidate that the acquisition is matched with the application Word, including:
Obtain the attribute information of the application;
Based on the attribute information of the application, it is determined that the candidate word type matched with the application, the candidate word type according to Depending on the meaning of one's words of the candidate word;
According to the candidate word type, type and the candidate word type identical candidate word are chosen from candidate's dictionary set Storehouse;
At least one candidate word is chosen from selected candidate's dictionary.
3. method according to claim 1 and 2, it is characterised in that methods described also includes:The electronic equipment is obtained to work as Preceding residing geographical location information;
At least one candidate word that the acquisition is matched with the application, including:Acquisition matches with the geographical location information At least one original candidates word, and at least one matched with the application is chosen from least one original candidates word Candidate word.
4. method according to claim 1, it is characterised in that methods described also includes:In the application by one kind Input method is input into character;
At least one candidate word that the acquisition is matched with the application, including:Obtain related at least to the input character One input word, and at least one candidate word matched with the application is chosen from least one input word.
5. the method according to claim 2 or 4, it is characterised in that methods described also includes:By selected at least one The display level of candidate word is set to first level;
The display level of other input words is set to second level, wherein the second level be less than first level, it is described its His input word includes the candidate word do not chosen and/or applies unmatched input word with described;
It is described to show at least one matched candidate word in the viewing area, including:According to the display level by height to Low order, display selected at least one candidate word and described other input words.
6. a kind of information processor, it is characterised in that described device includes:
Determining unit, the application for determining current character to be entered, the application is displayed in the viewing area of electronic equipment;
Candidate word acquiring unit, for obtaining at least one candidate word matched with the application;
Display unit, for showing at least one matched candidate word in the viewing area.
7. device according to claim 6, it is characterised in that the candidate word acquiring unit, including:
Obtain subelement, the attribute information for obtaining the application;
Determination subelement, for the attribute information based on the application, it is determined that the candidate word type matched with the application, described Depending on the meaning of one's words of the candidate word type according to the candidate word;
Subelement is chosen, for according to the candidate word type, type and candidate's part of speech being chosen from candidate's dictionary set Type identical candidate's dictionary, and choose at least one candidate word from selected candidate's dictionary.
8. the device according to claim 6 or 7, it is characterised in that described device also includes:Location information acquiring unit, For obtaining the geographical location information that the electronic equipment is presently in;
The candidate word acquiring unit, for obtaining at least one original candidates word matched with the geographical location information, And at least one candidate word matched with the application is chosen from least one original candidates word.
9. device according to claim 6, it is characterised in that described device also includes:Input block, for being answered described Character is input into by a kind of input method in;
The candidate word acquiring unit, for obtain to input related at least one input word of character, and from it is described to At least one candidate word matched with the application is chosen in a few input word.
10. the device according to claim 7 or 9, it is characterised in that described device also includes:Setting unit, for by institute The display level of at least one candidate word chosen is set to first level, and the display level of other input words is set to Second level, wherein the second level is less than first level, described other input words include the candidate word do not chosen and/or with The unmatched input word of application;
The display unit, for the order according to the display level from high to low, at least one selected candidate of display Word and described other input words.
CN201710157280.0A 2017-03-16 2017-03-16 A kind of information processing method and device Pending CN106933381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710157280.0A CN106933381A (en) 2017-03-16 2017-03-16 A kind of information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710157280.0A CN106933381A (en) 2017-03-16 2017-03-16 A kind of information processing method and device

Publications (1)

Publication Number Publication Date
CN106933381A true CN106933381A (en) 2017-07-07

Family

ID=59433721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710157280.0A Pending CN106933381A (en) 2017-03-16 2017-03-16 A kind of information processing method and device

Country Status (1)

Country Link
CN (1) CN106933381A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526520A (en) * 2017-07-31 2017-12-29 努比亚技术有限公司 One kind search exchange method, equipment and computer-readable recording medium
WO2020047709A1 (en) * 2018-09-03 2020-03-12 华为技术有限公司 Candidate word searching method for chinese input method, terminal, and server
WO2020181505A1 (en) * 2019-03-12 2020-09-17 华为技术有限公司 Input method candidate content recommendation method and electronic device
WO2022135474A1 (en) * 2020-12-25 2022-06-30 维沃移动通信有限公司 Information recommendation method and apparatus, and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346560A (en) * 2010-07-29 2012-02-08 腾讯科技(深圳)有限公司 Method and device for adjusting candidate word sequence in input method
CN102646022A (en) * 2012-04-10 2012-08-22 北京搜狗科技发展有限公司 Method and device for obtaining candidate
CN104572846A (en) * 2014-12-12 2015-04-29 百度在线网络技术(北京)有限公司 Method, device and system for recommending hot words
CN104808808A (en) * 2015-03-23 2015-07-29 联想(北京)有限公司 Information processing method and electronic device
CN105373608A (en) * 2015-11-13 2016-03-02 广州市久邦数码科技有限公司 Input method based scene-mode content pushing method and system
CN105760521A (en) * 2016-02-29 2016-07-13 百度在线网络技术(北京)有限公司 Information input method and device
CN106484135A (en) * 2016-09-23 2017-03-08 百度在线网络技术(北京)有限公司 A kind of method and apparatus for providing input candidate item

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346560A (en) * 2010-07-29 2012-02-08 腾讯科技(深圳)有限公司 Method and device for adjusting candidate word sequence in input method
CN102646022A (en) * 2012-04-10 2012-08-22 北京搜狗科技发展有限公司 Method and device for obtaining candidate
CN104572846A (en) * 2014-12-12 2015-04-29 百度在线网络技术(北京)有限公司 Method, device and system for recommending hot words
CN104808808A (en) * 2015-03-23 2015-07-29 联想(北京)有限公司 Information processing method and electronic device
CN105373608A (en) * 2015-11-13 2016-03-02 广州市久邦数码科技有限公司 Input method based scene-mode content pushing method and system
CN105760521A (en) * 2016-02-29 2016-07-13 百度在线网络技术(北京)有限公司 Information input method and device
CN106484135A (en) * 2016-09-23 2017-03-08 百度在线网络技术(北京)有限公司 A kind of method and apparatus for providing input candidate item

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526520A (en) * 2017-07-31 2017-12-29 努比亚技术有限公司 One kind search exchange method, equipment and computer-readable recording medium
CN107526520B (en) * 2017-07-31 2020-12-18 江苏知链科技有限公司 Search interaction method and device and computer readable storage medium
WO2020047709A1 (en) * 2018-09-03 2020-03-12 华为技术有限公司 Candidate word searching method for chinese input method, terminal, and server
CN111868668A (en) * 2018-09-03 2020-10-30 华为技术有限公司 Method, terminal and server for searching candidate words of Chinese input method
WO2020181505A1 (en) * 2019-03-12 2020-09-17 华为技术有限公司 Input method candidate content recommendation method and electronic device
WO2022135474A1 (en) * 2020-12-25 2022-06-30 维沃移动通信有限公司 Information recommendation method and apparatus, and electronic device

Similar Documents

Publication Publication Date Title
JP6343010B2 (en) Identifying entities associated with wireless network access points
US10387438B2 (en) Method and apparatus for integration of community-provided place data
US10789078B2 (en) Method and system for inputting information
JP6017678B2 (en) Landmark-based place-thinking tracking for voice-controlled navigation systems
US8655582B2 (en) Method and system for route based search including stopping point addition
CN106933381A (en) A kind of information processing method and device
US20070277100A1 (en) Method and system for a user input solution for a limited telecommunication device
US20120296865A1 (en) Terminal device and word stock update method thereof
US20100179754A1 (en) Location based system utilizing geographical information from documents in natural language
US20130238332A1 (en) Automatic input signal recognition using location based language modeling
CN108304423A (en) A kind of information identifying method and device
BR112015026511B1 (en) COMPUTER-IMPLEMENTED METHOD FOR PRODUCING A LOCATION IDENTIFIER, COMPUTER-IMPLEMENTED METHOD FOR IDENTIFYING A LOCATION, APPARATUS FOR IDENTIFYING A LOCATION AND LOCATION IDENTIFIER METHOD
US9995586B2 (en) Method and apparatus for identifying geographic locations
CN110869706B (en) Engagement between a digital assistant application and a navigation application
CN104219362A (en) Method and device for searching for contact person
CA2709116A1 (en) Method and system for enabling location entry
US20150370811A1 (en) Dynamically Integrating Offline and Online Suggestions in a Geographic Application
CN106682175A (en) Method and system for matching address
JP5587281B2 (en) Note notation conversion device, note notation conversion method, and note notation conversion program
KR100883120B1 (en) Method for translating located of Mobile terminal
US10831791B1 (en) Using location aliases
CN116303854A (en) Positioning method and device based on address knowledge graph
KR102042610B1 (en) Method for another name collecting in sever and route guidance method using the same
KR20100091579A (en) Index database structure for searching initial sound, system and method for searching string using the same
US8198980B1 (en) Numeric geodesic locator

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination