[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN102591470A - Method for determining prompt information, device and computer equipment - Google Patents

Method for determining prompt information, device and computer equipment Download PDF

Info

Publication number
CN102591470A
CN102591470A CN2011100067737A CN201110006773A CN102591470A CN 102591470 A CN102591470 A CN 102591470A CN 2011100067737 A CN2011100067737 A CN 2011100067737A CN 201110006773 A CN201110006773 A CN 201110006773A CN 102591470 A CN102591470 A CN 102591470A
Authority
CN
China
Prior art keywords
short text
information
text information
prefix
spelling
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
CN2011100067737A
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN2011100067737A priority Critical patent/CN102591470A/en
Publication of CN102591470A publication Critical patent/CN102591470A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Machine Translation (AREA)

Abstract

The invention provides a method for determining prompt information on the basis of a short text prefix, a device and computer equipment, wherein the method comprises the steps of: obtaining the short text prefix, one or more short text information corresponding to the short text prefix and predetermined Pinyin category of the short text prefix respectively corresponding to the one or more short text information; on the basis of a first predetermined rule, respectively determining the weight of the short text prefix corresponding to the one or more short text information according to the predetermined Pinyin category; and establishing or updating prompt information corresponding to the short text prefix on the basis of the one or more short text information according to the weight and the predetermined Pinyin category. The invention as the advantages that: 1, the presented prompt items meet the requirements of users; and 2, large number of short text information can be rapidly scanned to obtain each short text prefix and corresponding prompt information, so that the resource consumption is less.

Description

A kind of method, device and computer equipment that is used for confirming information
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method, device and computer equipment that is used for confirming information.
Background technology
In the prior art; For the ease of the user import its hope the input information; Tend to the user possibly hoped that the information of importing offers the user as information according to the character string of the current input of user; For example, in the character string of importing in the search box according to the user corresponding option is provided in combobox, perhaps the character string according to user's input provides corresponding candidate item etc. in the input method.
In the prior art,, obtain corresponding spelling or non-spelling result, and the short text information that spelling and non-spelling result is corresponding displays according to separately weighted value ordering often through after the phonetic of character string is divided.Yet; Because the relative spelling result of non-spelling result often has higher weighted value; But spelling result hopes that for the user is actual the possibility of the information of input is higher than non-spelling result, and, the reminder item limited amount that information comprised; Therefore, cause easily that to be not that sort result is pieced together in the desired non-letter of user forward or squeeze out the actual spelling result's who hopes to import of user situation.
Summary of the invention
The purpose of this invention is to provide a kind of method, device and computer equipment that is used for confirming information.
According to an aspect of the present invention, a kind of computer implemented method that is used for confirming based on the short text prefix information is provided, wherein, this method may further comprise the steps:
A obtain the corresponding one or more short text information of said short text prefix, this short text prefix and this short text prefix respectively with the corresponding predetermined phonetic classification of said one or more short text information;
B according to said predetermined phonetic classification, comes to confirm respectively said short text prefix and the corresponding weighted value of said one or more short text information based on first pre-defined rule;
C is according to said weighted value and said predetermined phonetic classification, comes to set up or upgrade said short text prefix corresponding prompt message based on said one or more short text information, and said information comprises the reminder item of one or more orderings.
According to another aspect of the present invention, a kind of suggestion device that is used for confirming based on the short text prefix information is provided also, wherein, this suggestion device comprises:
First deriving means, be used to obtain the corresponding one or more short text information of said short text prefix, this short text prefix and this short text prefix respectively with the corresponding predetermined phonetic classification of said one or more short text information;
Weight is confirmed device, is used for based on first pre-defined rule, according to said predetermined phonetic classification, come respectively to confirm said short text prefix respectively with the corresponding weighted value of said one or more short text information;
First updating device, be used for according to said weighted value and said predetermined phonetic classification; Come to set up or upgrade said short text prefix corresponding prompt message based on said one or more short text information, said information comprises the reminder item of one or more orderings.
Compared with prior art; The present invention has the following advantages: 1) correspondingly the weight adjustment is tactful through the short text information and executing to the predetermined phonetic type of difference; Can keep the reminder item of spelling type preferably; Can provide the letter that reduces user's input operation to piece together the reminder item of type again, make the reminder item that is appeared more meet user's demand; 2) can travel through a large amount of short text information fast and obtain each short text prefix and corresponding prompt message thereof, consumption of natural resource is few; 3) through adopting according to the information storehouse that scheme of the present invention generated, can obtain the list entries corresponding prompt information with the user real time input fast, satisfied demand real-time on the line.
Description of drawings
Through reading the detailed description of doing with reference to following accompanying drawing that non-limiting example is done, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 is the computer implemented method flow diagram of confirming information based on the short text prefix of one aspect of the invention;
Fig. 2 confirms the method flow diagram of information for a preferred embodiment of the invention based on the short text prefix;
Fig. 3 confirms the method flow diagram of information for another preferred embodiment of the present invention based on the short text prefix.
Fig. 4 is the structural representation that is used for confirming based on the short text prefix suggestion device of information of one aspect of the invention.
Fig. 5 is the structural representation that is used for confirming based on the short text prefix suggestion device of information of a preferred embodiment of the invention;
Fig. 6 is the structural representation that is used for confirming based on the short text prefix suggestion device of information of another preferred embodiment of the present invention.
Same or analogous Reference numeral is represented same or analogous parts in the accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail.
Fig. 1 has illustrated the computer implemented method flow diagram of confirming information based on the short text prefix of one aspect of the invention.Wherein, can accomplish through operating system in the computer equipment or processing controller according to the method for the invention, for for simplicity, below said operating system or processing controller are referred to as suggestion device.Wherein, this computer equipment includes but not limited to: 1) subscriber equipment; 2) network equipment.Said subscriber equipment includes but not limited to computing machine, smart mobile phone, PDA etc.; The said network equipment includes but not limited to group of server that single network server, a plurality of webserver are formed or based on the cloud that is made up of the great amount of calculation machine or the webserver of cloud computing (Cloud Computing); Wherein, Cloud computing is a kind of of Distributed Calculation, a super virtual machine of being made up of the loosely-coupled computing machine collection of a group.
In step S1, suggestion device obtain the corresponding one or more short text information of said short text prefix, this short text prefix and this short text prefix respectively with the corresponding predetermined phonetic classification of said one or more short text information;
Wherein, said short text prefix includes but not limited to the character string that one or more characters are formed, and this character string comprises the multiple character string that is used to spell language, for example, and the roman character string of Chinese spelling character string, Japanese, the pinyin character string of Korean etc.Said short text information includes but not limited to: 1) from user's list entries; 2) the current information processed etc. that needs of computer equipment.Said predetermined phonetic classification includes but not limited to: 1) spelling; 2) non-spelling etc.Wherein said spelling, non-spelling, be meant the short text information analysis obtained the corresponding spelling character string of short text information after, this spelling character string is with respect to the classification of short text prefix.
Particularly; Suggestion device can obtain said short text prefix earlier, again according to said short text prefix obtain preset and the corresponding one or more short text information of this short text prefix and respectively with the corresponding predetermined phonetic classification of said one or more short text information;
Wherein, the suggestion device mode of obtaining said short text prefix includes but not limited to:
1) obtain the list entries of user input in real time, and with this list entries that obtains in real time as the short text prefix;
2) obtain the short text prefix of pre-stored.
Perhaps, suggestion device obtains said short text information earlier, this short text information is analyzed again, and pushes away to such an extent that reach and the corresponding predetermined phonetic classification of said short text information with the corresponding short text prefix of this short text information by this short text information.
Wherein, the suggestion device mode of obtaining said short text information includes but not limited to:
1) obtain list entries from the user, and with this list entries as short text information;
2) obtain the short text information of pre-stored.
In step S2, suggestion device is based on first pre-defined rule, according to said predetermined phonetic classification, come to confirm respectively said short text prefix respectively with the corresponding weighted value of said one or more short text information.
Particularly, comprise in first pre-defined rule and adopt different weights to confirm the definite rule of weight of mode to short text information that suggestion device confirms that according to this weight rule obtains the weighted value of short text information to coming according to the predetermined phonetic classification of short text information.Wherein, this weight confirms that rule comprises following arbitrary rule:
1) if this short text information predetermined phonetic classification corresponding with this short text prefix is spelling, then the initial weight value with this short text information is used as weighted value; If this short text information predetermined phonetic classification corresponding with this short text prefix is non-spelling, then power fallen in the initial weight value of this short text information and handle, to obtain said weighted value;
2), then the initial weight value of this short text information is carried out liter power and handle, to obtain said weighted value if this short text information predetermined phonetic classification corresponding with this short text prefix is spelling; If this short text information predetermined phonetic classification corresponding with this short text prefix be non-spelling, then with the initial weight value of this short text information as weighted value;
3), then the initial weight value of this short text information is carried out liter power and handle, to obtain said weighted value if this short text information predetermined phonetic classification corresponding with this short text prefix is spelling; If this short text information predetermined phonetic classification corresponding with this short text prefix is non-spelling, then power fallen in the initial weight value of this short text information and handle, to obtain said weighted value.
Wherein, said preset initial weight value can be definite with reference to multinomial factor, for example, and the clicking rate of short text information, the frequency that short text information is searched for, the quality of the pairing Search Results of short text information, preset short text information initial weight value etc.The factor that it should be appreciated by those skilled in the art that definite said initial weight value is not given an example with above-mentioned.
Need to prove; It should be appreciated by those skilled in the art that weight of the present invention confirms that rule is not with the above-mentioned limit that is exemplified as, in fact; So long as according to predetermined phonetic classification; Respectively short text information is handled, so that the corresponding weighted value of short text information of the relative spelling classification of weighted value of the short text information of non-spelling classification correspondence has certain scheme of falling the power amplitude, all should be within the scope of the present invention.
Wherein, at least one factor comes said initial weight value is carried out liter power or fallen the power processing below the definite rule reference of this weight:
1) length of said short text prefix;
Particularly, handle for liter power, when the length of short text prefix is long more, it is big more that its corresponding short text information rises the power amplitude, and short more when the length of short text prefix, it is more little that its corresponding short text information rises the power amplitude; Handle for falling power, when the length of short text prefix is long more, it is big more that the power amplitude falls in its corresponding short text information, and short more when the length of short text prefix, it is more little that the power amplitude falls in its corresponding short text information.
2) the vowel number that comprised of said short text prefix;
Particularly, handle for liter power, the vowel number that is comprised when the short text prefix is many more, and it is big more that its corresponding short text information rises the power amplitude, and the vowel number that is comprised when the short text prefix is few more, and it is more little that its corresponding short text information rises the power amplitude; Handle for falling power, the vowel number that is comprised when the short text prefix is few more, and its corresponding short text information falls that the power amplitude is more little, and the vowel number that is comprised when the short text prefix is many more, and it is big more that the power amplitude falls in its corresponding short text information.
Wherein, said vowel comprise but be not limited to: i) single vowel in the Chinese pinyin and the combination vowel, for example, a, e, i, o, u, ü, ai, ei, ui, ao, ou, iu, an, en, in etc.; The ii) vowel in the sound of Japanese Rome, for example, a, i, u, e, o etc.; The iii) single vowel in the Korean (or claim cardinal vowel) and compound vowel (or title diphthong) letter etc.Wherein, combination vowel or compound vowel etc. can be one or more vowels by statistics when statistics vowel number.
Need to prove that suggestion device can be confirmed to rise power or fall the power amplitude equally according to the consonant number that the short text prefix comprises, and particularly is less than the language of vowel number for some consonant numbers, adopts the consonant number more can save resource as criterion.But judge according to the consonant number and liter to weigh or fall the rule of power and liter weigh or to fall the rule of power opposite with judging according to the vowel number; Promptly handle for liter power; The consonant number that is comprised when the short text prefix is few more; It is big more that its corresponding short text information rises the power amplitude, and the consonant number that is comprised when the short text prefix is many more, and it is more little that its corresponding short text information rises the power amplitude; Handle for falling power, the consonant number that is comprised when the short text prefix is many more, and its corresponding short text information falls that the power amplitude is more little, and the consonant number that is comprised when the short text prefix is few more, and it is big more that the power amplitude falls in its corresponding short text information.
3) with the length of the corresponding said short text information of this short text prefix;
Particularly, handle for liter power, when the length of short text information is long more, it is more little that it rises the power amplitude, and short more when the length of short text information, it is big more that it rises the power amplitude; Handle for falling power, when the length of short text information is long more, it is big more that it falls the power amplitude, and short more when the length of short text information, it is more little that it falls the power amplitude.
Wherein, suggestion device confirms that according to said weight rule comes initial weight is carried out liter power or fall the mode that power handles to confirm said weighted value including but not limited to:
1),, regulates the initial weight value of preset said short text information, to confirm its weighted value under pairing short text prefix with reference to any one or multinomial in above-mentioned three factors directly according to the predetermined phonetic classification of short text information;
For example; If the initial weight value of preset short text information is obtained by the search frequency/1000 by short text information; Weight is regulated rule and is comprised the short text information for non-spelling type; On the basis of its initial weight value, deduct the value corresponding, to obtain the weighted value of short text information according to the short text message length; For the short text information of spelling type, directly with the rule of its initial weight as weighted value.For short text information " wytsese ", " wymtf ", " wywz ", " May ", " Netease ", " network game ", " skill in martial arts ", these short text information that suggestion device obtained are searched for the frequency accordingly and are:
Wytsese,9500;
Netease, 8900;
Wymtf,8950;
May, 10600;
Skill in martial arts, 7400.
The frequency that suggestion device is searched for according to these short text information obtains these short text information initial weight value separately, and the predetermined phonetic type of the corresponding short text prefixs of these short text information " wy " is:
Wytsese, 9.5, spelling;
Netease, 8.9, non-spelling;
Wymtf, 8.95, spelling;
May, 10.6, non-spelling;
Skill in martial arts, 7.4, non-spelling.
Wherein, The corresponding value of length of the short text information of the short text information " May " of non-spelling classification, " Netease ", " skill in martial arts " correspondence is respectively 3,2,2; Then searcher is regulated rule according to weight; After the initial weight value that the short text information of non-spelling classification is corresponding deducted the corresponding value of its short text message length, the weighted value and the classification thereof of the short text information of acquisition were following:
Wytsese, 9.5, spelling;
Netease, 6.9, non-spelling;
Wymtf, 8.95, spelling;
May, 7.6, non-spelling;
Skill in martial arts, 5.4, non-spelling.
Again for example; Weight is regulated rule and is comprised the short text information for non-spelling type; According to the length of short text prefix, vowel number that this short text prefix comprises and the length of short text information; Confirm three individual event weighted values respectively, and with each individual event weighted value and the addition of said initial weight value, to obtain weighted value; For the short text information of spelling type, directly with the rule of its initial weight as weighted value.Wherein, said individual event weighted value can be confirmed through following arbitrary mode:
I) directly that the length of the length of short text prefix, vowel number that the short text prefix comprises or short text information is corresponding value is as the individual event weighted value;
Ii) the length of short text prefix, vowel number that the short text prefix comprises or the corresponding value of length of short text information are necessarily handled; For example; The addition subtraction multiplication and division that carries out inverse or be scheduled to other preset parameters or carry out computing according to predetermined formula after, obtain the individual event weighted value;
The iii) predetermined threshold range under the corresponding value of the length of the length through judging the short text prefix, vowel number that the short text prefix comprises or short text information, and the corresponding individual event weighted value of predetermined threshold range under obtaining.
Then for short text prefix " wy ", short text information and corresponding initial weight value and predetermined phonetic classification thereof that suggestion device obtained are respectively: Netease, 8.9, non-spelling.And suggestion device confirms that according to aforementioned individual event weighted value the individual event weighted value that the length of the short text prefix of each acquisition in the mode, vowel number that the short text prefix comprises and short text message length are obtained is respectively-0.5 ,-3 ,-0.2, is 5.2 according to the 8.9-0.5-3-0.2 gained with short text prefix " wy " and the corresponding weighted value of short text information " Netease " then.
2) suggestion device obtains the weight regulated value of short text information according at least one item in above-mentioned three factors; Obtain the weighted value of short text information under its corresponding short text prefix according to weight regulated value and initial weight value again; This mode will detail in subsequent content, repeat no more at this.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that and anyly confirms that according to said weight rule comes initial weight is carried out liter power or falls power and handle to confirm the implementation of said weighted value; For example; Obtain the ratio of consonant station short text prefix length according to short text prefix length and consonant number, confirm mode of weighted value etc. again according to this ratio, all should be within the scope of the present invention.
In step S3; Suggestion device is according to said weighted value and said predetermined phonetic classification; Come to set up or upgrade said short text prefix corresponding prompt message based on said one or more short text information, said information comprises the reminder item of one or more orderings.Wherein, those skilled in the art should select and the maximum quantity of the reminder item setting in the information to be comprised according to actual conditions and demand.
Concrete; When the information of a certain short text prefix is not set up; After one or more short text information that will be corresponding with this short text prefix sort according to the big or small and predetermined phonetic classification of corresponding weighted value, said one or more short text information are set up the information of said short text prefix as reminder item.Perhaps; When a certain short text prefix has comprised information; Short text information respective weights value is compared with the corresponding weighted value of reminder item in the information,, then short text information is inserted in the information as new reminder item if comparison result shows short text information is superior to existing reminder item; And remaining reminder item in the information adjusted accordingly, otherwise information is constant.
For example; The maximum quantity of reminder item is 5 in the preset information of suggestion device; Wherein, For short text prefix " jjw ", still do not have and its corresponding prompt message, and short text information corresponding with said short text prefix " jjw " that is obtained and said short text information with respect to the weighted value and the predetermined phonetic classification of said short text prefix are:
Jjwxc, 9, spelling;
Jia Jingwen, 6.5, non-spelling;
Jjww, 7, spelling;
Jjwx, 8.5, spelling;
Good lucky logistics, 3, non-spelling;
Jjwxchousenetcom, 2.5, spelling.
Behind above-mentioned short text information sorting, select preceding 5 informations as said short text prefix " jjw ", the information that then obtains short text prefix " jjw " is: jjwxc, jjwx, jjww, Jia Jingwen, good lucky logistics.
Again for example; After short text prefix " jjw " has obtained above-mentioned information; It obtains the short text information corresponding with it " fund net " again; This short text information " fund net " is 5 with respect to the weighted value of short text prefix " jjw ", is non-spelling with respect to the predetermined phonetic classification of short text prefix.Then suggestion device judges that its weighted value is higher than the short text information " good lucky logistics " of non-spelling classification; And sort according to weighted value; Short text information " fund net " is inserted in the information of short text prefix " jjw " as new reminder item; And the reminder item of origin-location is moved down adjustment successively, remove unnecessary reminder item after, obtain the new information of short text prefix " jjw " and be: jjwxc, jjwx, jjww, Jia Jingwen, fund net.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any according to said weighted value and said predetermined phonetic classification; Come to set up or upgrade the implementation of said short text prefix corresponding prompt message based on said one or more short text information, all should be within the scope of the present invention.
What need further specify is, although above-mentionedly all describe with Chinese for example, has the language of pinyin marking equally applicable to Japanese, Korean etc. according to scheme of the present invention.For example; For Japanese; Short text prefix " kis " can corresponding classification be the short text information " kiss " of spelling, also can corresponding classification be simple short text information " police " (katakana is け い さ つ, and the Rome sound is keisatu) of piecing together; And those skilled in the art should be equally can scheme according to the present invention obtain the information of short text prefix " kis ".
As one of preferred version of the present invention, wherein, said step S2 also comprises step S21 (figure does not show) and step S22 (figure does not show).
In step S21, suggestion device according to said predetermined phonetic classification, is confirmed the weight regulated value of said short text information based on first pre-defined rule; Wherein, said weight regulated value according to the predetermined phonetic type of short text information and described in the abovementioned steps S2 with liter power and fall power to handle three relevant factors definite.
Particularly, suggestion device is confirmed rule according to said predetermined phonetic classification by the weight regulated value of selecting in said first pre-defined rule to be applicable to the short text information corresponding with this short text prefix.Wherein, this weight regulated value is confirmed rule through following rule, confirms and this short text prefix and the corresponding weight regulated value of short text information:
1) if this short text information predetermined phonetic classification corresponding with this short text prefix is spelling; Then suggestion device confirms that the weight regulated value is predetermined transparent weighted value; Should make suggestion device after carrying out subsequent step S2 by predetermined transparent weighted value, the weighted value of gained be identical with the initial weight value; If this short text information predetermined phonetic classification corresponding with this short text prefix is non-spelling; Confirm that then the weight regulated value is the punishment weighted value; And at least one definite this punishment weighted value in vowel number that comprises according to said short text prefix, this short text prefix and the short text message length corresponding with this short text prefix; This punishment weighted value makes suggestion device after carrying out subsequent step S2, and the weighted value of gained is less than the initial weight value;
2) if this short text information predetermined phonetic classification corresponding with this short text prefix is spelling; Confirm that then the weight regulated value is for rewarding weighted value; And at least one definite this award weighted value in vowel number that comprises according to said short text prefix, this short text prefix and the short text message length corresponding with this short text prefix; This award weighted value makes suggestion device after carrying out subsequent step S2, and the weighted value of gained is greater than the initial weight value; If this short text information predetermined phonetic classification corresponding with this short text prefix is non-spelling, then suggestion device confirms that the weight regulated value is predetermined transparent weighted value;
3), confirm that then the weight regulated value is for rewarding weighted value if this short text information predetermined phonetic classification corresponding with this short text prefix is spelling; If this short text information predetermined phonetic classification corresponding with this short text prefix is non-spelling, confirm that then the weight regulated value is the punishment weighted value.
Wherein, confirm said award weighted value and punishment weighted value mode include but not limited to:
1) the vowel number that comprises according to said short text prefix, this short text prefix reaches at least one corresponding individual event weighted value acquisition in the short text message length corresponding with this short text prefix.
Particularly, suggestion device can be directly direct as rewarding or the punishment weighted value, perhaps with a certain individual event weighted value; Suggestion device obtains multinomial individual event weighted value, and this multinomial individual event weighted value is carried out handled, for example; Should multinomial weighted value multiply by addition after the pre-determined factor respectively; Perhaps should multiply each other by multinomial weighted value, perhaps handle etc., to obtain said award weighted value or punishment weighted value with other predetermined ways.Wherein, the obtain manner of said individual event weighted value details in aforementioned content, repeats no more at this.
2) obtain each corresponding individual event weighted value in said short text prefix, vowel number that this short text prefix comprises and the short text message length corresponding with this short text prefix, and then according to other each or other two this individual event weighted value is adjusted.For example; Suggestion device is 8.5 according to the individual event weighted value that the short text prefix obtains, and to obtain this corresponding short text message length of this short text prefix be 3, if the weight regulated value is confirmed to comprise in the rule when the short text message length is between 2-4; Rule with acquired weighted value downward modulation 0.5; Then suggestion device is according to this rule, and with the corresponding individual event weighted value downward modulation 0.5 of short text prefix, the weighted value that obtains short text information is 8.The mode that it should be appreciated by those skilled in the art that definite said award weighted value and punishment weighted value is not given an example with above-mentioned.
Need to prove; Those skilled in the art should understand that; Weight of the present invention is confirmed rule not with the above-mentioned limit that is exemplified as, in fact, so long as according to said predetermined phonetic classification; Confirm the implementation of the weight regulated value of said short text information, all should be within the scope of the present invention.
In step S22, suggestion device is confirmed said weighted value according to the initial weight value of said weight regulated value and preset said short text information.
Concrete, suggestion device is through carrying out handled to initial weight value and weight regulated value, to obtain said weighted value.Wherein said handled includes but not limited to: multiplication and division, add, subtract and other forms of functional operation etc.And in aforementioned handled, also can further combine preset parameter etc.
For example, in step S1, suggestion device gets access to short text information " Sina "; Its corresponding short text prefix " xl " and both corresponding predetermined phonetic classifications are non-spelling with this; Then in step S21, suggestion device judges that short text information " Sina " the weight regulated value corresponding with short text prefix " xl " is the punishment weighted value, and; The weight regulated value confirms that the preset weighted value of punishing is the value of the short text prefix length corresponding with short text information in the rule; The length that the suggestion device analysis obtains short text prefix " xl " is 2, then confirms rule according to the weight regulated value, and obtaining the punishment weighted value is 2; In step S22, it is 12 that suggestion device obtains the preset initial weight value of short text information " Sina ", and suggestion device is according to formula: weighted value=initial weight value-weight regulated value, the weighted value that obtains short text information " Sina " is 10.
Again for example, in step S1, suggestion device gets access to short text information " Sina ", its corresponding short text prefix " xinlang " and both corresponding predetermined phonetic classifications are spelling with this; Then in step S21; Suggestion device judges that short text information " Sina " the weight regulated value corresponding with short text prefix " xinlang " is for rewarding weighted value; And; The weight regulated value is confirmed the preset regulated value=short text vowel number * 5 of award in the rule, and the suggestion device analysis obtains short text prefix " xinlang " and comprises two vowels " in " and " ang ", and then the corresponding weight regulated value of suggestion device acquisition short text information " Sina " is 10; In step S22, the initial weight value that suggestion device obtains short text information " Sina " is 9, and suggestion device is according to formula: weighted value=0.5* weight regulated value+initial weight value, the weighted value that obtains short text information " Sina " is 14.
Again for example; In step S1; Suggestion device is for getting access to short text information " Sina ", and suggestion device is according to " Sina ", and its corresponding short text prefix " xl " is confirmed and both corresponding predetermined phonetic classifications are non-spelling with this; Then in step S21; Suggestion device judges that short text information " Sina " the weight regulated value corresponding with short text prefix " xl " is the punishment weighted value, and the weight regulated value confirms that preset punishment weighted value in the rule is the mean value inverse of the individual event weighted value of the vowel number that comprises of short text prefix length, short text prefix and short text message length correspondence; Wherein, Weight is regulated inverse that rule comprises directly that the short text prefix length is corresponding value as its corresponding individual event weighted value, and when the vowel number that comprises when the short text prefix was zero, its preset individual event weighted value was 10; And with corresponding on duty of short text message length with 1.5 with rule as the corresponding individual event weighted value of short text information; Then suggestion device is regulated rule according to weight, and obtaining number and the corresponding individual event weighted value of short text message length that short text prefix length, short text prefix comprise respectively is 0.5,10 and 3, and to obtain the punishment weighted value according to the individual event weighted value be 1/ (0.5+10+3)=0.074; In step S22, the initial weight value that suggestion device obtains short text information " Sina " is 9, and suggestion device is according to formula: weighted value=weight regulated value * initial weight value, the weighted value that obtains short text information " Sina " is 0.667.
Need to prove that above-mentioned being merely for example explained technical scheme of the present invention better, but not limitation of the present invention; It should be appreciated by those skilled in the art that any based on first pre-defined rule, according to said predetermined phonetic classification; Confirm the weight regulated value of said short text information; And, confirm the implementation of said weighted value according to the initial weight value of said weight regulated value and preset said short text information, all should be within the scope of the present invention.
As one of preferred version of the present invention, wherein, the present invention also comprises step S4 and step S5.
In step S4, suggestion device judges that whether said short text information be equal to arbitrary reminder item that said information is comprised; Wherein said being equal to, include but not limited to: 1) identical; 2) meaning of a word is same or similar; 3) actual natural language is expressed the meaning same or similar etc.Wherein, whether the meaning of a word is same or similar judges through meaning of a word analysis, and whether actual natural language is same or similar judges through preset thesaurus.For example,, judge that according to preset thesaurus sh is identical with Shanghai, be equal to so judge both for short text information " 110sh " and " 110 Shanghai ".
In step S5; When suggestion device is judged the whiles such as obtaining said short text information and said arbitrary reminder item; Then corresponding with this reminder item and said short text prefix according to this short text information predetermined phonetic classification is come based on the said information of this short text information updating.
Concrete, for a certain short text prefix, suggestion device judges that a certain reminder item in the information of a short text information and this short text prefix is equal to; If said short text information this short text prefix relatively is spelling, and the predetermined phonetic classification of the said relatively short text prefix of said reminder item is non-spelling, then said short text information is replaced said reminder item as new reminder item; And according to the weighted value of short text information; New reminder item is inserted into the relevant position of information, and all the other reminder items are adjusted accordingly, for example; Minimum one of deletion weighted value, and weighted value moved down one etc. less than other reminder items of new reminder item; If the said short text information predetermined phonetic of this short text prefix relatively is non-spelling, and the predetermined phonetic classification of the said relatively short text prefix of said reminder item is a spelling, does not then adjust.
For example, for short text prefix " la ", its reminder item and corresponding prompt item weighted value are:
The coming year, 8;
Love, 5.5;
Come 4;
Lou An, 3;
" come " for short text information, its weighted value is 6, through being equal to judgement; " come " to be equal to mutually with " coming "; And short text information " to come " the predetermined phonetic type with respect to short text prefix " la " be spelling, and short text information " to come " the predetermined phonetic classification with respect to short text prefix " la " be non-spelling, then with " coming " new reminder item as short text prefix " la "; Replacement " coming "; " coming " is inserted in the information according to its weighted value and predetermined phonetic classification, and all the other reminder items are taken turns doing corresponding adjustment, the reminder item that obtains short text prefix " la " is:
The coming year, 7;
Come 6;
Love, 5.5;
Lou An, 3.
Wherein, Abovementioned steps S2 can carry out after step S5; Promptly when in step S2, suggestion device judges that obtaining said short text information is not equal to said arbitrary reminder item, and suggestion device is based on first pre-defined rule; According to said predetermined phonetic classification, come respectively to confirm said short text prefix respectively with the corresponding weighted value of said one or more short text information.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better, but not limitation of the present invention those skilled in the art should understand that; Any when judging the whiles such as obtaining said short text information and said arbitrary reminder item; Then corresponding with this reminder item and said short text prefix according to this short text information predetermined phonetic classification is come the implementation based on the said information of this short text information updating, all should be within the scope of the present invention.
As one of preferred version of the present invention, wherein, the present invention also comprises step S8.
In step S8, suggestion device is according to said short text prefix and institute's information of setting up or upgrading, sets up or upgrades the information storehouse;
Concrete, in said information storehouse, do not comprise this short text prefix, then suggestion device is added into this short text prefix and corresponding prompt information thereof in the information storehouse; In said information storehouse, comprised this short text prefix, then suggestion device upgrades the information of this short text prefix in the information storehouse according to this short text prefix corresponding prompt message.
The present invention also comprises step S9 and step S10.
In step S9, suggestion device obtains the list entries from the user in real time.
In step S10, suggestion device is inquired about as a short text prefix said list entries in said information storehouse, to obtain and the pairing information of this list entries, as the information of this list entries.
For example; User input sequence is " xul "; Suggestion device is inquired about as a short text prefix this list entries in the information storehouse; The information that obtains short text prefix " xl " is " xls ", " xlmv ", " sequence ", " Sina ", then with the information of this information as user input sequence, returns to the user.
As one of preferred version of the present invention, wherein, said step S3 also comprises step S3 '.
In step S3 ', suggestion device is based on second pre-defined rule, according to said weighted value and said predetermined phonetic classification, comes to set up or upgrade said short text prefix corresponding prompt message based on said one or more short text information; Wherein, said second pre-defined rule comprises following rule: the short text information that the short text information sorting of spelling is higher than non-spelling.
Particularly, setting up or upgrading in the process of information, suggestion device places the short text information of spelling type before the short text information of non-spelling type all the time.
According to the method for the invention; Correspondingly the weight adjustment is tactful through the short text information and executing to the predetermined phonetic type of difference; Can keep the reminder item of spelling type preferably; Can provide the letter that reduces user's input operation to piece together the reminder item of type again, make the reminder item that is appeared more meet user's demand.
Fig. 2 confirms the method flow diagram of information for a preferred embodiment of the invention based on the short text prefix.Method according to present embodiment comprises step S1, step S2 and step S3.Wherein, step S1 further comprises step S11 and step S12; Said step S3 further comprises step S31, step S32, step S33 and step S34.
In step S11, suggestion device obtains said short text information.
In step S12, suggestion device is analyzed said short text information, to obtain the short text prefix of its corresponding predetermined phonetic classification.
Concrete; Suggestion device is analyzed the short text information that obtains; And extract short text information corresponding characters string with the mode of spelling or non-spelling; Whether with as the pairing short text prefix of said short text information, and to come according to said extracting mode be the spelling of short text information, confirms the predetermined phonetic classification of short text information under the short text prefix of correspondence.
For example; For short text information " Sina "; The suggestion device analysis obtains its spelling character string and is " xinlang "; Then the prefix of its spelling classification can comprise that " x ", " xi ", " xin ", " xinl ", " xinla ", " xinlan " reach " xinlang ", and suggestion device is by selecting one carrying out subsequent treatment in above-mentioned seven short text prefixs, and confirms that the selected short text prefix predetermined phonetic classification corresponding with short text information " Sina " is spelling.
Again for example; For short text information " Sina "; The character string that the suggestion device analysis obtains its non-spelling character string extraction is " xl "; Then the prefix of its non-spelling classification can comprise that " x " reaches " xl ", and the short text treating apparatus is by selecting one carrying out subsequent treatment in above-mentioned two each and every one the short text prefixs, and confirms that the selected short text prefix predetermined phonetic classification corresponding with short text information " Sina " is non-spelling.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better, but not limitation of the present invention those skilled in the art should understand that; Any implementation according to said its corresponding short text prefix of short text information acquisition all should be within the scope of the present invention.
Step S2 is detailing with reference among the embodiment shown in Figure 1, and is contained in this by reference, repeats no more.
In step S31; Suggestion device is according to the maximum quantity of reminder item in the information; Or, obtain first comparison result according to the comparison result of the corresponding weighted value of the corresponding weighted value of said short text information and the reminder item of identical and/or different predetermined phonetic classification.
Wherein, Suggestion device is through judging whether the reminder item quantity that is comprised in the said information has reached maximum quantity; And when reminder item quantity had reached predetermined maximum quantity, further the weighted value of the weighted value of short text information and the programmed alarm item in the information being compared obtained first comparison result; Wherein, said programmed alarm item comprises last spelling reminder item and/or last non-spelling reminder item.
Concrete, the difference of the information that is comprised according to short text information, first comparison result can comprise following any:
A) if the reminder item quantity that is comprised in the information of said short text prefix does not reach maximum quantity, comprise following arbitrary information in first comparison result that is then obtained: A1) all reminder items are the spelling type, and reminder item quantity does not reach maximum quantity; A2) all reminder items are non-spelling type, and reminder item quantity does not reach maximum quantity; A3) reminder item in the information comprises spelling and non-spelling type, and reminder item quantity does not reach maximum quantity;
For example; Can comprise 5 reminder items in preset each information; For short text prefix " xel "; Its corresponding prompt message is " xeltek ", " xeloda ", " xelos ", " evil strength " totally four, and the reminder item quantity that promptly information comprised does not reach maximum quantity, then when getting access to the short text information " xelove " relevant with short text prefix " xel "; Suggestion device according to first comparison result that comparison obtains is: the reminder item in the information comprises spelling and non-spelling type, and the reminder item quantity of the information of short text prefix " xel " less than.
B) if the reminder item quantity that information comprised of said short text prefix has reached maximum quantity; And suggestion device judges that all reminder items that obtain in the information are the spelling type or are non-spelling type; Then suggestion device compares short text information weighted value and last reminder item weighted value, and comprise following arbitrary information in first comparison result that is obtained: B1) weighted value of short text information is greater than the weighted value of last reminder item; Perhaps B2) weighted value of short text information is less than the weighted value of last reminder item;
For example, the weighted value as if aforementioned short text prefix " xel " corresponding prompt message and each reminder item is:
xeltek,10;
xeloda,8;
xelos,7;
xelove,5;
xelement,4;
Wherein each item is the spelling reminder item; For short text information " xelod "; Its weighted value is 6.5; Suggestion device compares the weighted value of short text information " xelod " and the weighted value of last reminder item " xelement ", and first comparison result of acquisition comprises: short text information " xelod " weighted value is greater than last reminder item " xelement " weighted value; And for example; For short text information " evil strength "; Its weighted value is 3; Suggestion device compares the weighted value of short text information " evil strength " and the weighted value of last reminder item " xelement ", and obtain first comparison result and comprise: short text information " evil strength " is less than the weighted value of last reminder item " xelement ".
C) if the reminder item in the information of said short text prefix has reached maximum quantity; And the reminder item in the information comprises spelling type and non-spelling type; Then suggestion device is searched the reminder item of last spelling and non-spelling in the information; And with the weighted value of short text information weighted value and last spelling reminder item and comparing of last non-spelling reminder item weighted value, comprise following arbitrary information in first comparison result that is then obtained: C1) last spelling reminder item weighted value is minimum; C2) last non-spelling reminder item weighted value is minimum; C3) short text information weighted value is minimum.
For example, for short text prefix " xs ", the weighted value of its corresponding prompt message and each reminder item is:
xswos,10;
xs8,8;
The x world, 7;
Xu Song, 5;
Novel, 4;
Wherein, first three items is the spelling reminder item, and back two is non-spelling reminder item.For short text information " xsmd "; Its weighted value is 9; Suggestion device is searched in information and is judged that last spelling reminder item is " the x world "; Last non-spelling reminder item is " novel ", and then suggestion device compares " xsmd " respectively with last spelling reminder item " the x world " and last non-spelling reminder item " novel ", and obtain first comparison result and be: the weighted value of last non-spelling reminder item is minimum.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention; It should be appreciated by those skilled in the art that predetermined phonetic classification and the weighted value of reminder item information and the implementation that predetermined phonetic classification obtains first comparison result of any maximum quantity, short text information weighted value, short text information based on said reminder item, all should be within the scope of the present invention.
Then, in step S32, suggestion device judges according to said first comparison result whether said short text information can be as the reminder item of said short text prefix.
Concrete, suggestion device judges that according to following rule short text information whether can be as the reminder item of said short text prefix:
1) if first comparison result belongs to aforementioned A) type first comparison result, then suggestion device is judged the reminder item of short text information as said short text prefix;
2) if first comparison result belongs to aforementioned B1) type first comparison result, then suggestion device is judged the reminder item of short text information as the short text prefix; If first comparison result belongs to aforementioned B2) type first comparison result, then suggestion device is judged not with the reminder item of short text information as the short text prefix;
3) if first comparison result belongs to aforementioned C1) or C2) type first comparison result, then suggestion device is judged the reminder item of short text information as the short text prefix; If first comparison result belongs to aforementioned C3) type first comparison result, then suggestion device is judged not with the reminder item of short text information as the short text prefix.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention; It should be appreciated by those skilled in the art that and anyly judge that according to said first comparison result said short text information whether can be as the implementation of the reminder item of said short text prefix, all should be within the scope of the present invention.
Then, in step S33, when suggestion device judges that said short text information can be as the reminder item of said short text prefix, obtain second comparison result according to said first comparison result.
Concrete, suggestion device obtains second comparison result according to arbitrary rule below passing through according to said first comparison result:
1) if first comparison result belongs to aforementioned A1) type first comparison result; Then suggestion device includes but not limited to according to the mode that first comparison result obtains second comparison result: a1) if the short text information category is a spelling; And suggestion device can obtain the saltus step item of the relative information of short text information, and then second comparison result comprises said saltus step item; Wherein, said saltus step item be illustrated in identical with the short text information category and the reminder item of weighted value less than short text information weighted value in, the reminder item that weighted value is maximum; A2) if the short text information category is a spelling, and suggestion device fails to obtain the saltus step item of the relative information of short text information, and then second comparison result comprises the information of short text information weighted value less than all reminder item weighted values; A3) if the short text information category is non-spelling, then second comparison result comprises that the short text information category is non-spelling, and all reminder item classifications are the information of spelling in the information.
If first comparison result belongs to aforementioned A2) type first comparison result; Then suggestion device includes but not limited to according to the mode that first comparison result obtains second comparison result: a4) if the short text information category is non-spelling; And suggestion device can obtain the saltus step item of the relative information of short text information, and then second comparison result comprises said saltus step item; A5) if the short text information category is non-spelling, and suggestion device fails to obtain the saltus step item of the relative information of short text information, and then second comparison result comprises the information of short text information weighted value less than all reminder item weighted values; A6) if the short text information category is a spelling, then second comparison result comprises that the short text information category is a spelling, and all reminder item classifications are the information of non-spelling in the information;
If first comparison result belongs to aforementioned A3) type first comparison result; Then suggestion device includes but not limited to according to the mode that first comparison result obtains second comparison result: a7) if the short text information category is spelling or non-spelling; And suggestion device can obtain the saltus step item of the relative information of short text information, and then second comparison result comprises said saltus step item; A8) if the short text information category is a spelling, and suggestion device fails to obtain the saltus step item of the relative information of short text information, and then second comparison result comprises the information of short text information weighted value less than all spelling classification reminder item weighted values; A9) if the short text information category is non-spelling, and suggestion device fails to obtain the saltus step item of the relative information of short text information, and then second comparison result comprises the information of weighted value less than all non-spelling classification reminder item weighted values.
2) if first comparison result belongs to aforementioned B1) type first comparison result; Then suggestion device includes but not limited to according to the mode that first comparison result obtains second comparison result: b1) if the short text information category is a spelling; All reminder item classifications are spelling in the information, and then second comparison result comprises the saltus step item of the relative information of short text information; B2) if the short text information category is non-spelling, all reminder item classifications are non-spelling in the information, and then second comparison result comprises the saltus step item of the relative information of short text information; B3) if the short text information category is a spelling, all reminder item classifications are non-spelling in the information, and then second comparison result comprises that the short text information category is a spelling, and all reminder item classifications are the information of non-spelling in the information; B4) if the short text information category is non-spelling, all reminder item classifications are spelling in the information, and then second comparison result comprises that the short text information category is a spelling, and all reminder item classifications are the information of non-spelling in the information.
For example, the weighted value of short text prefix " lx " corresponding prompt message and each reminder item is:
Association, 7;
Meteor shower, 6;
Lin Xilei, 5;
Lin Xinru, 3;
Bruce Lee, 2;
Wherein each item is non-spelling reminder item, and then for short text information " lx570 ", its weighted value is 8, is the spelling type with respect to short text prefix " lx ".Can be used as the reminder item of short text prefix " lx " according to abovementioned steps S31 and step S32 decidable short text information.Owing to be non-spelling type reminder item in the information; Then suggestion device is according to aforementioned obtain manner b3) acquisition second comparison result comprises that short text information " lx570 " classification is a spelling, and all reminder item classifications are the information of non-spelling in the information of short text prefix " lx ".
3) if first comparison result belongs to aforementioned C1) type first comparison result; Then suggestion device comprises according to second comparison result that first comparison result is obtained: c1) if the short text classification is a spelling, then second comparison result comprises that short text information is that the weighted value minterm that the spelling classification and first comparison result are comprised is the information of spelling reminder item with respect to saltus step item, the short text information of information; C2) if the short text classification is non-spelling, then second comparison result comprises that short text information is that the weighted value minterm that the non-spelling classification and first comparison result are comprised is the information of spelling reminder item with respect to saltus step item, the short text information of information;
For example, for the example of the short text prefix " xs " of in step S31, being takeed, first three items is the spelling reminder item in its reminder item, and back two is non-spelling reminder item.And judge that in step S32 short text information " xsmd " can be used as the reminder item of short text prefix " xs ".Wherein short text information " xsmd " belongs to the spelling type with respect to short text prefix " xs "; In the information of short text prefix " xs "; Be all spelling classification and weighted value with short text information " xsmd " and be " xs8 " and " the x world " less than the reminder item of short text information " xsmd "; Wherein maximum one of weighted value is reminder item " xs8 ", and its weight is 8, and promptly obtaining short text information is second reminder item " xs8 " with respect to the saltus step item of information; Then second comparison result comprises: second reminder item " xs8 ", second reminder item are the spelling classification, and the weighted value minterm is the information of spelling reminder item.
4) if first comparison result belongs to aforementioned C2) type first comparison result; Then suggestion device comprises according to second comparison result that first comparison result is obtained: c3) if the short text classification is a spelling, then second comparison result comprises that short text information is that the weighted value minterm that the spelling and first comparison result are comprised is the information of non-spelling reminder item with respect to saltus step item, the short text information of information; C4) if the short text classification is non-spelling, then second comparison result comprises that short text information is that the weighted value minterm that the non-spelling and first comparison result are comprised is the information of non-spelling reminder item with respect to saltus step item, the short text information of information.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any when judging that said short text information can be as the reminder item of said short text prefix; Obtain the implementation of second comparison result according to said first comparison result; For example, with said saltus step item change to be illustrated in identical with the short text information category and the reminder item of weighted value greater than short text information weighted value in, the reminder item that weighted value is minimum and other processing modes of corresponding change; Perhaps, in all cases, it is medium all short text information category and reminder item classification to be included in second comparison result, all should be within the scope of the present invention.
Then, in step S34, suggestion device adds this short text information in the said information as new reminder item, and adjusts the ordering of each reminder item in the said information according to said second comparison result according to said second comparison result.
Concrete, suggestion device joins information with short text information as new reminder item according to following rule, and other reminder items of corresponding adjustment:
I) when obtaining aforementioned a1), a4) or a7) during type second comparison result, suggestion device as new reminder item, is inserted into the position of second reminder item that comparison result comprises with short text information, and the reminder item of this position and subsequent alerts item is moved one after corresponding;
II) when obtaining aforementioned a2), a3), a5) or a9) during type second comparison result, suggestion device with short text information as new reminder item, insert information last;
For example, for short text prefix " xel ", its information maximal term is 5, and the weighted value of its corresponding prompt message and each reminder item is:
xeltek,10;
xeloda,8;
xelos,7;
xelove,5。
For short text information " evil the 6th season of strength; its second comparison result comprises that the short text information category is non-spelling; and all reminder item classifications are the information of spelling in the information, that is like a3) said situation, then according to regular II); suggestion device as new reminder item, is inserted into last position of information with short text information " evil the 6th season of strength ".Then the information of short text prefix " xel " becomes: xeltek, xeloda, xelos, xelove, the 6th season of evil strength.
III) when obtaining aforementioned a6) during type second comparison result, suggestion device as new reminder item, is inserted into short text information the position of first reminder item in the information, and moves one behind the position with all reminder items.
IV) when obtaining aforementioned a8) during type second comparison result, suggestion device as new reminder item, is inserted into short text information the position of first non-spelling reminder item in the information, and moves one behind the position with all non-spelling reminder items.
V) when obtaining aforementioned b1) or b2) during type second comparison result; Suggestion device with short text information as new reminder item; Be inserted into the position of the saltus step item that second comparison result comprised; And this saltus step item item and subsequent alerts item thereof moved one after corresponding, and delete last reminder item in the former information;
VI) when obtaining aforementioned b3) during type second comparison result; Suggestion device with short text information as new reminder item; Be inserted into the position of first reminder item in the information, and move one behind the position with all reminder items, and delete last reminder item in the former information;
VII) when obtaining aforementioned b4) during type second comparison result, suggestion device as new reminder item, is replaced last reminder item in the former information with short text information;
VI) when obtaining aforementioned c1), c3) or c4) during type second comparison result; Suggestion device with short text information as new reminder item; Be inserted into the position of the saltus step item item that second comparison result comprised; And this saltus step item item and subsequent alerts item thereof moved one after corresponding, and delete last reminder item in the former information;
For example, for short text prefix " xs ", the weighted value of its corresponding prompt message and each reminder item is:
xswos,10;
xs8,8;
The x world, 7;
Xu Song, 5;
Novel, 4;
Wherein, first three items is the spelling reminder item, and back two is non-spelling reminder item.For short text information " xsmd ", its weighted value is 9, and the predetermined phonetic classification corresponding with short text prefix " xs " is spelling.Judgement can know that it belongs to c1 according to abovementioned steps) said situation, the pairing reminder item of its second comparison result is second of an information.Then according to regular VI); With short text information as new reminder item; Be inserted into the position of the pairing reminder item of second comparison result, promptly last reminder item " novel " in the former information is deleted in second position; And second reminder item " xs8 " and subsequent alerts item " the x world " thereof, " Xu Song ", " novel " moved one after all corresponding, the information that obtains short text prefix " xs " at last is: xswos, xsmd, xs8, the x world, Xu Song.
VII) when obtaining aforementioned c2) during type second comparison result; Last spelling reminder item of suggestion device deletion; And after moving one on the non-spelling reminder item position before the saltus step item that all and second comparison result are comprised, short text information is inserted into the last item position of the pairing reminder item of second comparison result as new reminder item.
For example, for aforementioned short text prefix " xs ", the weighted value of its corresponding prompt message and each reminder item is:
xswos,10;
xs8,8;
The x world, 5;
Xu Song, 8;
Novel, 6;
If for short text information " sales ", weighted value is 7, can know according to said step S31, step S32 and step S33 judgement to belong to c2) said situation, and can obtain five of saltus step Xiang Weidi " novel " according to abovementioned steps.Then according to regular VII); Remove last spelling reminder item " the x world "; Move one on the non-spelling reminder item position before the reminder item that all are corresponding with second comparison result, also be about to move one on " novel " non-spelling reminder item " Xu Song " before, and with short text information " sales " as new reminder item; Join last the position of the pairing reminder item of second comparison result, promptly in the 4th of information the.The information that obtains adjusted short text prefix " xs " at last is: xswos, xs8, Xu Song, sale, novel.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better, but not limitation of the present invention those skilled in the art should understand that; Any implementation of adjusting the ordering of the reminder item in the information based on the predetermined phonetic classification of said second comparison result and short text information; For example, when reminder item had reached maximum quantity and need to have inserted new reminder item, the reminder item that will be deleted was set at minimum one of weighted value in spelling or the non-spelling arbitrarily; Perhaps, if not the spelling sort result all is higher than spelling as a result the time, described method etc. is originally implemented in corresponding change, all should be within the scope of the present invention.
What need further specify is, the content that said first comparison result and second comparison result are comprised and in step S32 and step S34, and the mode of carrying out handled according to first comparison result and second comparison result is not with the above-mentioned limit that is exemplified as.For example, in step S31, suggestion device obtains the comparison result of short text information and all reminder items as first comparison result.Then; In step S32; Suggestion device obtains its first required judgement information according to first comparison result, and first judges that information judges whether short text information can be as the reminder item of short text prefix, wherein according to this; This first judgement information can comprise the weighted value of reminder item number, each reminder item classification and correspondence thereof etc.; Suggestion device specifically judges that according to these information judges that whether short text information can detail as the mode of the reminder item of short text prefix in aforementioned content, and is contained in this by reference, repeats no more.Then, in step S33, suggestion device directly with first comparison result as second comparison result.At last; In step S34; Suggestion device obtains its second required judgement information according to second comparison result, according to this second judgement information this short text information being added in the said information as new reminder item, and adjusts the ordering of each reminder item in the said information according to said second comparison result; Wherein, the second judgement information can comprise that short text information category, short text information are for saltus step item of information etc.
According to the method for present embodiment, through repeating step S31 to S34, can travel through all short text prefixs fast by a short text information gained, after this short text information processing finishes, can discharge and be used to handle the required space of this short text information.Therefore, can obtain required result through a spot of relatively determining step, can travel through a large amount of short text information fast and obtain each short text prefix and corresponding prompt message thereof according to the method for present embodiment; And; Owing to after handling pairing all the short text prefixs of short text information, can discharge and be used to handle the required space of this short text information, and required space is minimum when handling this short text information; Therefore, few according to the method consumption of natural resource of present embodiment.
Fig. 3 confirms the method flow diagram of information for another preferred embodiment of the present invention based on the short text prefix.Method according to present embodiment comprises step S11 ', step S6 and step S7.Wherein, said step S1 also further comprises step S13 and step S14; Said step S3 also further comprises step S35 and step S36.
In step S11 ', suggestion device obtains said short text information.
Then, in step S6, suggestion device is analyzed said short text information, to obtain the short text prefix of each corresponding predetermined phonetic classification of short text information.
Concrete; Suggestion device is analyzed the short text information that obtains; And extract all corresponding character strings of short text information with the mode of spelling or non-spelling; Whether with as the pairing short text prefix of said short text information, and to come according to said extracting mode be the spelling of short text information, confirms the predetermined phonetic classification of short text information under the short text prefix of correspondence.
In step S7, suggestion device is set up according to the short text prefix of said short text information and said each predetermined phonetic classification of being obtained or is upgraded the corresponding relation storehouse; Wherein, comprise the short text information that a plurality of short text prefixs, these a plurality of short text prefixs are corresponding respectively and have the short text prefix predetermined phonetic classification corresponding of corresponding relation in the said corresponding relation storehouse with short text information.
Concrete, when said corresponding relation storehouse was not set up, suggestion device was set up the corresponding relation storehouse according to the short text prefix of said short text information and said each predetermined phonetic classification of being obtained.When said corresponding relation storehouse has been set up; Suggestion device is after all short text prefixs of obtaining short text information and correspondence thereof; Whether the said short text information of inquiry has been included under its corresponding short text prefix in the corresponding relation storehouse; If said short text information is not included under its corresponding short text prefix, then short text information and this short text information and the corresponding predetermined phonetic classification of short text prefix are added in the pairing short text information of this short text prefix.Suggestion device also is added into this short text information in the information relevant with this short text prefix with the corresponding weighted value of short text prefix.
For example; For short text information " net of going to market "; The short text prefix corresponding with it comprises " g ", " ga ", " gan ", " ganj ", " ganji ", " ganji ", " ganjiw ", " ganjiwa ", " ganjiwan ", " ganjiwang ", " gj ", " gjw "; Suggestion device is searched aforementioned short text prefix in the corresponding relation storehouse, and obtains short text prefix " ganjiwang " and " gj ", and all the other short text prefixs do not exist in the corresponding relation storehouse." ganjiwang " and " gj " in the corresponding relation storehouse with the corresponding relation of short text information is:
" ganjiwang ": the net of going to market, 10, spelling;
" gj ": gjw, 9, spelling; Go to market, 6, non-spelling;
The corresponding relation that the suggestion device analysis obtains short text information " net of going to market " and short text prefix " ganjiwang " exists, and therefore then short text prefix " ganjiwang " is operated;
The suggestion device analysis obtains short text information " net of going to market " and is not present in the corresponding short text information of short text prefix " gj "; And suggestion device acquisition short text information " net of going to market " is non-spelling with respect to the phonetic classification of short text prefix " gj "; And its weighted value with respect to short text prefix " gj " is 7; Then suggestion device is added into short text information and predetermined phonetic classification thereof in the corresponding relation with short text prefix " gj ", and the corresponding relation of short text prefix " gj " is updated to:
" gj ": gjw, 9, spelling; The net of going to market, 7, non-spelling; Go to market, 6, non-spelling.
Short text prefix " g ", " ga ", " gan ", " ganj ", " ganji ", " ganji ", " ganjiw ", " ganjiwa ", " ganjiwan " in the corresponding relation storehouse, not setting up as yet reach " gjw ", and suggestion device is added into the corresponding relation of above-mentioned short text prefix and these short text prefixs and short text information " net of going to market " in the corresponding relation storehouse.
With short text prefix " gjw " is example; Suggestion device acquisition short text information " net of going to market " is non-spelling with respect to the phonetic classification of short text prefix " gjw "; And its weighted value with respect to short text prefix " gjw " is 9; Then this short text prefix and this short text information and predetermined phonetic classification thereof are added in the corresponding relation storehouse, have then increased the corresponding relation of short text prefix " gjw " in the corresponding relation storehouse, its current corresponding relation is:
" gjw ": the net of going to market, 9, non-spelling.
After setting up the corresponding relation storehouse, when suggestion device need be set up or upgrade information, suggestion device execution in step S13.
In step S13, suggestion device obtains a short text prefix.
Wherein, the mode of obtaining the short text prefix includes but not limited to:
1) obtain the list entries of user input in real time, and with this list entries that obtains in real time as the short text prefix;
2) obtain the short text prefix of pre-stored.
Then; In step S14; Suggestion device is according to said short text prefix, by obtaining one or more short text information corresponding with said short text prefix and said short text prefix and difference corresponding predetermined phonetic classification of said one or more short text information and weighted value in the said corresponding relation storehouse.
Concrete; Suggestion device is according to the short text prefix that obtains; Inquiry obtains this short text prefix in the corresponding relation storehouse, and with the corresponding short text information of said short text prefix, and these short text information predetermined phonetic classification and weighted value corresponding with said short text prefix.
Then, step S2 is detailing with reference among the embodiment shown in Figure 1, and is contained in this by reference, repeats no more.
Then, in step S35, weighted value and predetermined phonetic classification that suggestion device is corresponding according to said a plurality of short text information are confirmed the ranking results of said a plurality of short text information with respect to said short text prefix.
Concrete; Suggestion device according to spelling short text information preceding, non-spelling short text information after, and to spelling and non-spelling short text information; According to weighted value the high extremely low mode that sorts is arranged respectively, obtain the ranking results of the short text information corresponding with the short text prefix.
For example, pairing short text information of short text prefix " gj " that suggestion device obtained and weighted value thereof with corresponding predetermined phonetic classification are:
According to, 3, non-spelling;
The net of going to market, 4.5, non-spelling;
Go to market, 6, non-spelling;
Gjw, 8, spelling;
Country, 6.5, non-spelling;
Sensation, 2, non-spelling;
Then suggestion device according to spelling short text information preceding; Non-spelling short text information after; And to spelling and non-spelling short text information; Respectively according to weighted value have high sort to the low mode that sorts after, obtain above-mentioned a plurality of short text information and be with respect to the ranking results of short text prefix " gj ":
Gjw, 8, spelling;
Country, 6.5, non-spelling;
Go to market, 6, non-spelling;
The net of going to market, 4.5, non-spelling;
According to, 3, non-spelling;
Sensation, 2, non-spelling.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any based on said a plurality of short text information corresponding weighted value and predetermined phonetic classification; Confirm the implementation of said a plurality of short text information with respect to the ranking results of said short text prefix, all should be within the scope of the present invention.
In step S36, suggestion device is according to the maximum quantity and the said ranking results of reminder item in the said information, by the reminder item of the corresponding a plurality of orderings of said a plurality of short text information selected.Wherein, the maximum quantity of reminder item can should be selected and sets by those skilled in the art according to actual conditions and demand in the said information.
Concrete, the maximum quantity of the reminder item that the preset information of suggestion device is comprised is N.Then suggestion device by the pairing a plurality of short text information selected ranks accomplished that sorted of short text prefix before the short text information of N position as the reminder item of short text prefix.
For example, the maximum quantity of the reminder item of the preset information of suggestion device is 4, and for aforementioned short text prefix " gj ", its corresponding short text ranking results is:
Gjw, 8, spelling;
Country, 6.5, non-spelling;
Go to market, 6, non-spelling;
The net of going to market, 4.5, non-spelling;
According to, 3, non-spelling;
Sensation, 2, non-spelling.
Suggestion device selects ordering for the reminder item of preceding four short text information as short text prefix " gj " from this ranking results, constitutes its information.The information that is short text prefix " gj " comprises: gjw, country, the net of going to market, go to market.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any based on maximum quantity and said ranking results according to reminder item in the said information; By the implementation of the reminder item of the corresponding a plurality of orderings of said a plurality of short text information selected, all should be within the scope of the present invention.
According to the method for present embodiment, its versatility is stronger, is easy to carry out system maintenance.
What Fig. 4 had illustrated one aspect of the invention confirms the structural representation of the suggestion device of information based on the short text prefix.Comprise that according to the suggestion device of present embodiment first deriving means 1, weight confirm the device 2 and first updating device 3.
First deriving means 1 obtain the corresponding one or more short text information of said short text prefix, this short text prefix and this short text prefix respectively with the corresponding predetermined phonetic classification of said one or more short text information;
Wherein, said short text prefix includes but not limited to the character string that one or more characters are formed, and this character string comprises the multiple character string that is used to spell language, for example, and the roman character string of Chinese spelling character string, Japanese, the pinyin character string of Korean etc.Said short text information includes but not limited to: 1) from user's list entries; 2) the current information processed etc. that needs of computer equipment.Said predetermined phonetic classification includes but not limited to: 1) spelling; 2) non-spelling etc.Wherein said spelling, non-spelling, be meant the short text information analysis obtained the corresponding spelling character string of short text information after, this spelling character string is with respect to the classification of short text prefix.
Particularly; First deriving means 1 can obtain said short text prefix earlier, again according to said short text prefix obtain preset and the corresponding one or more short text information of this short text prefix and respectively with the corresponding predetermined phonetic classification of said one or more short text information;
Wherein, first deriving means 1 mode of obtaining said short text prefix includes but not limited to:
1) obtain the list entries of user input in real time, and with this list entries that obtains in real time as the short text prefix;
2) obtain the short text prefix of pre-stored.
Perhaps, first deriving means 1 obtains said short text information earlier, this short text information is analyzed again, and pushes away to such an extent that reach and the corresponding predetermined phonetic classification of said short text information with the corresponding short text prefix of this short text information by this short text information.
Wherein, first deriving means 1 mode of obtaining said short text information includes but not limited to:
1) obtain list entries from the user, and with this list entries as short text information;
2) obtain the short text information of pre-stored.
Weight is confirmed device 2 based on first pre-defined rule, according to said predetermined phonetic classification, come respectively to confirm said short text prefix respectively with the corresponding weighted value of said one or more short text information.
Particularly, comprise in first pre-defined rule and adopt different weights to confirm that the weight of mode confirms rule to short text information that weight confirms that device 2 these weights confirm that rule obtains the weighted value of short text information to coming according to the predetermined phonetic classification of short text information.Wherein, this weight confirms that rule comprises following arbitrary rule:
1) if this short text information predetermined phonetic classification corresponding with this short text prefix is spelling, then the initial weight value with this short text information is used as weighted value; If this short text information predetermined phonetic classification corresponding with this short text prefix is non-spelling, then power fallen in the initial weight value of this short text information and handle, to obtain said weighted value;
2), then the initial weight value of this short text information is carried out liter power and handle, to obtain said weighted value if this short text information predetermined phonetic classification corresponding with this short text prefix is spelling; If this short text information predetermined phonetic classification corresponding with this short text prefix be non-spelling, then with the initial weight value of this short text information as weighted value;
3), then the initial weight value of this short text information is carried out liter power and handle, to obtain said weighted value if this short text information predetermined phonetic classification corresponding with this short text prefix is spelling; If this short text information predetermined phonetic classification corresponding with this short text prefix is non-spelling, then power fallen in the initial weight value of this short text information and handle, to obtain said weighted value.
Wherein, said preset initial weight value can be definite with reference to multinomial factor, for example, and the clicking rate of short text information, the frequency that short text information is searched for, the quality of the pairing Search Results of short text information, preset short text information initial weight value etc.The factor that it should be appreciated by those skilled in the art that definite said initial weight value is not given an example with above-mentioned.
Need to prove; It should be appreciated by those skilled in the art that weight of the present invention confirms that rule is not with the above-mentioned limit that is exemplified as, in fact; So long as according to predetermined phonetic classification; Respectively short text information is handled, so that the corresponding weighted value of short text information of the relative spelling classification of weighted value of the short text information of non-spelling classification correspondence has certain scheme of falling the power amplitude, all should be within the scope of the present invention.
Wherein, at least one factor comes said initial weight value is carried out liter power or fallen the power processing below the definite rule reference of this weight:
1) length of said short text prefix;
Particularly, handle for liter power, when the length of short text prefix is long more, it is big more that its corresponding short text information rises the power amplitude, and short more when the length of short text prefix, it is more little that its corresponding short text information rises the power amplitude; Handle for falling power, when the length of short text prefix is long more, it is big more that the power amplitude falls in its corresponding short text information, and short more when the length of short text prefix, it is more little that the power amplitude falls in its corresponding short text information.
2) the vowel number that comprised of said short text prefix;
Particularly, handle for liter power, the vowel number that is comprised when the short text prefix is many more, and it is big more that its corresponding short text information rises the power amplitude, and the vowel number that is comprised when the short text prefix is few more, and it is more little that its corresponding short text information rises the power amplitude; Handle for falling power, the vowel number that is comprised when the short text prefix is few more, and its corresponding short text information falls that the power amplitude is more little, and the vowel number that is comprised when the short text prefix is many more, and it is big more that the power amplitude falls in its corresponding short text information.
Wherein, said vowel comprise but be not limited to: i) single vowel in the Chinese pinyin and the combination vowel, for example, a, e, i, o, u, ü, ai, ei, ui, ao, ou, iu, an, en, in etc.; The ii) vowel in the sound of Japanese Rome, for example, a, i, u, e, o etc.; The iii) single vowel in the Korean (or claim cardinal vowel) and compound vowel (or title diphthong) letter etc.Wherein, combination vowel or compound vowel etc. can be one or more vowels by statistics when statistics vowel number.
Need to prove; Weight confirms that device 2 can confirm to rise power or fall the power amplitude equally according to the consonant number that the short text prefix comprises; The language that particularly is less than the vowel number for some consonant numbers adopts the consonant number more can save resource as criterion.But judge according to the consonant number and liter to weigh or fall the rule of power and liter weigh or to fall the rule of power opposite with judging according to the vowel number; Promptly handle for liter power; The consonant number that is comprised when the short text prefix is few more; It is big more that its corresponding short text information rises the power amplitude, and the consonant number that is comprised when the short text prefix is many more, and it is more little that its corresponding short text information rises the power amplitude; Handle for falling power, the consonant number that is comprised when the short text prefix is many more, and its corresponding short text information falls that the power amplitude is more little, and the consonant number that is comprised when the short text prefix is few more, and it is big more that the power amplitude falls in its corresponding short text information.
3) with the length of the corresponding said short text information of this short text prefix;
Particularly, handle for liter power, when the length of short text information is long more, it is more little that it rises the power amplitude, and short more when the length of short text information, it is big more that it rises the power amplitude; Handle for falling power, when the length of short text information is long more, it is big more that it falls the power amplitude, and short more when the length of short text information, it is more little that it falls the power amplitude.
Wherein, weight confirms that device 2 confirms that according to said weight rule comes initial weight is carried out liter power or fall the mode that power handles to confirm said weighted value including but not limited to:
1),, regulates the initial weight value of preset said short text information, to confirm its weighted value under pairing short text prefix with reference to any one or multinomial in above-mentioned three factors directly according to the predetermined phonetic classification of short text information;
For example; If the initial weight value of preset short text information is obtained by the search frequency/1000 by short text information; Weight is regulated rule and is comprised the short text information for non-spelling type; On the basis of its initial weight value, deduct the value corresponding, to obtain the weighted value of short text information according to the short text message length; For the short text information of spelling type, directly with the rule of its initial weight as weighted value.For short text information " wytsese ", " wymtf ", " wywz ", " May ", " Netease ", " network game ", " skill in martial arts ", these short text information that suggestion device obtained are searched for the frequency accordingly and are:
Wytsese,9500;
Netease, 8900;
Wymtf,8950;
May, 10600;
Skill in martial arts, 7400.
Weight is confirmed the frequency that device 2 is searched for according to these short text information, obtains these short text information initial weight value separately, and the predetermined phonetic type of the corresponding short text prefixs of these short text information " wy " is:
Wytsese, 9.5, spelling;
Netease, 8.9, non-spelling;
Wymtf, 8.95, spelling;
May, 10.6, non-spelling;
Skill in martial arts, 7.4, non-spelling.
Wherein, The corresponding value of length of the short text information of the short text information " May " of non-spelling classification, " Netease ", " skill in martial arts " correspondence is respectively 3,2,2; Then weight confirms that device 2 is according to weight adjusting rule; After the initial weight value that the short text information of non-spelling classification is corresponding deducted the corresponding value of its short text message length, the weighted value and the classification thereof of the short text information of acquisition were following:
Wytsese, 9.5, spelling;
Netease, 6.9, non-spelling;
Wymtf, 8.95, spelling;
May, 7.6, non-spelling;
Skill in martial arts, 5.4, non-spelling.
Again for example; Weight is regulated rule and is comprised the short text information for non-spelling type; According to the length of short text prefix, vowel number that this short text prefix comprises and the length of short text information; Confirm three individual event weighted values respectively, and with each individual event weighted value and the addition of said initial weight value, to obtain weighted value; For the short text information of spelling type, directly with the rule of its initial weight as weighted value.Wherein, said individual event weighted value can be confirmed through following arbitrary mode:
I) directly that the length of the length of short text prefix, vowel number that the short text prefix comprises or short text information is corresponding value is as the individual event weighted value;
Ii) the length of short text prefix, vowel number that the short text prefix comprises or the corresponding value of length of short text information are necessarily handled; For example; The addition subtraction multiplication and division that carries out inverse or be scheduled to other preset parameters or carry out computing according to predetermined formula after, obtain the individual event weighted value;
The iii) predetermined threshold range under the corresponding value of the length of the length through judging the short text prefix, vowel number that the short text prefix comprises or short text information, and the corresponding individual event weighted value of predetermined threshold range under obtaining.
Then for short text prefix " wy ", weight confirms that short text information and corresponding initial weight value and predetermined phonetic classification thereof that device 2 is obtained are respectively: Netease, 8.9, non-spelling.And weight confirms that device 2 confirms that according to aforementioned individual event weighted value the individual event weighted value that the length of the short text prefix of each acquisition in the mode, vowel number that the short text prefix comprises and short text message length are obtained is respectively-0.5 ,-3 ,-0.2, is 5.2 according to the 8.9-0.5-3-0.2 gained with short text prefix " wy " and the corresponding weighted value of short text information " Netease " then.
2) weight confirms that device 2 obtains the weight regulated value of short text information according at least one item in above-mentioned three factors; Obtain the weighted value of short text information under its corresponding short text prefix according to weight regulated value and initial weight value again; This mode will detail in subsequent content, repeat no more at this.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that and anyly confirms that according to said weight rule comes initial weight is carried out liter power or falls power and handle to confirm the implementation of said weighted value; For example; Obtain the ratio of consonant station short text prefix length according to short text prefix length and consonant number, confirm mode of weighted value etc. again according to this ratio, all should be within the scope of the present invention.
First updating device 3 is according to said weighted value and said predetermined phonetic classification, comes to set up or upgrade said short text prefix corresponding prompt message based on said one or more short text information, and said information comprises the reminder item of one or more orderings.Wherein, those skilled in the art should select and the maximum quantity of the reminder item setting in the information to be comprised according to actual conditions and demand.
Concrete; When the information of a certain short text prefix is not set up; After one or more short text information that will be corresponding with this short text prefix sorted according to the big or small and predetermined phonetic classification of corresponding weighted value, first updating device 3 was set up said one or more short text information the information of said short text prefix as reminder item.Perhaps; When a certain short text prefix has comprised information; First updating device 3 is compared short text information respective weights value with the corresponding weighted value of reminder item in the information, if comparison result shows short text information is superior to existing reminder item, then short text information is inserted in the information as new reminder item; And remaining reminder item in the information adjusted accordingly, otherwise information is constant.
For example; The maximum quantity of reminder item is 5 in the preset information of suggestion device; Wherein, For short text prefix " jjw ", still do not have and its corresponding prompt message, and short text information corresponding with said short text prefix " jjw " that is obtained and said short text information with respect to the weighted value and the predetermined phonetic classification of said short text prefix are:
Jjwxc, 9, spelling;
Jia Jingwen, 6.5, non-spelling;
Jjww, 7, spelling;
Jjwx, 8.5, spelling;
Good lucky logistics, 3, non-spelling;
Jjwxchousenetcom, 2.5, spelling.
Behind above-mentioned short text information sorting, first updating device 3 is selected preceding 5 informations as said short text prefix " jjw ", and the information that then obtains short text prefix " jjw " is: jjwxc, jjwx, jjww, Jia Jingwen, good lucky logistics.
Again for example; After short text prefix " jjw " has obtained above-mentioned information; Obtain the short text information " fund net " corresponding again with it; This short text information " fund net " is 5 with respect to the weighted value of short text prefix " jjw ", is non-spelling with respect to the predetermined phonetic classification of short text prefix.Then first updating device 3 judges that its weighted value is higher than the short text information " good lucky logistics " of non-spelling classification; First updating device 3 sorts according to weighted value; Short text information " fund net " is inserted in the information of short text prefix " jjw " as new reminder item; And the reminder item of origin-location is moved down adjustment successively, remove unnecessary reminder item after, obtain the new information of short text prefix " jjw " and be: jjwxc, jjwx, jjww, Jia Jingwen, fund net.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any according to said weighted value and said predetermined phonetic classification; Come to set up or upgrade the implementation of said short text prefix corresponding prompt message based on said one or more short text information, all should be within the scope of the present invention.
What need further specify is, although above-mentionedly all describe with Chinese for example, has the language of pinyin marking equally applicable to Japanese, Korean etc. according to scheme of the present invention.For example; For Japanese; Short text prefix " kis " can corresponding classification be the short text information " kiss " of spelling, also can corresponding classification be simple short text information " police " (katakana is け い さ つ, and the Rome sound is keisatu) of piecing together; And those skilled in the art should be equally can scheme according to the present invention obtain the information of short text prefix " kis ".
As one of preferred version of the present invention, wherein, said weight confirms that device 2 also comprises weight regulating device (figure does not show) and the definite device of first son (figure does not show).
The weight regulating device according to said predetermined phonetic classification, is confirmed the weight regulated value of said short text information based on first pre-defined rule; Wherein, said weight regulated value according to the predetermined phonetic type of short text information and aforementioned weight confirm described in the device 2 with liter power and fall power to handle three relevant factors definite.
Particularly, the weight regulating device is confirmed rule according to said predetermined phonetic classification by the weight regulated value of selecting in said first pre-defined rule to be applicable to the short text information corresponding with this short text prefix.Wherein, the weight regulating device is confirmed and this short text prefix and the corresponding weight regulated value of short text information through following rule:
1) if this short text information predetermined phonetic classification corresponding with this short text prefix is spelling; Then the weight regulating device confirms that the weight regulated value is predetermined transparent weighted value; After this predetermined transparent weighted value made that weight is confirmed device 2 complete operations, the weighted value of gained was identical with the initial weight value; If this short text information predetermined phonetic classification corresponding with this short text prefix is non-spelling; Confirm that then the weight regulated value is the punishment weighted value; And at least one definite this punishment weighted value in vowel number that comprises according to said short text prefix, this short text prefix and the short text message length corresponding with this short text prefix; After this punishment weighted value made that weight is confirmed device 2 complete operations, the weighted value of gained was less than the initial weight value;
2) if this short text information predetermined phonetic classification corresponding with this short text prefix is spelling; Then the weight regulating device confirms that the weight regulated value is for rewarding weighted value; And at least one definite this award weighted value in vowel number that comprises according to said short text prefix, this short text prefix and the short text message length corresponding with this short text prefix; After this award weighted value made that weight is confirmed device 2 complete operations, the weighted value of gained was greater than the initial weight value; If this short text information predetermined phonetic classification corresponding with this short text prefix is non-spelling, then the weight regulating device confirms that the weight regulated value is predetermined transparent weighted value;
3) if this short text information predetermined phonetic classification corresponding with this short text prefix is spelling, then the weight regulating device confirms that the weight regulated value is for rewarding weighted value; If this short text information predetermined phonetic classification corresponding with this short text prefix is non-spelling, then the weight regulating device confirms that the weight regulated value is the punishment weighted value.
Wherein, the weight regulating device confirms that the mode of said award weighted value and punishment weighted value includes but not limited to:
1) the vowel number that comprises according to said short text prefix, this short text prefix reaches at least one corresponding individual event weighted value acquisition in the short text message length corresponding with this short text prefix.
Particularly, the weight regulating device can be directly direct as rewarding or the punishment weighted value, perhaps with a certain individual event weighted value; The weight regulating device obtains multinomial individual event weighted value, and this multinomial individual event weighted value is carried out handled, for example; Should multinomial weighted value multiply by addition after the pre-determined factor respectively; Perhaps should multiply each other by multinomial weighted value, perhaps handle etc., to obtain said award weighted value or punishment weighted value with other predetermined ways.Wherein, the obtain manner of said individual event weighted value details in aforementioned content, repeats no more at this.
2) obtain each corresponding individual event weighted value in said short text prefix, vowel number that this short text prefix comprises and the short text message length corresponding with this short text prefix, and then according to other each or other two this individual event weighted value is adjusted.For example; Suggestion device is 8.5 according to the individual event weighted value that the short text prefix obtains, and to obtain this corresponding short text message length of this short text prefix be 3, if preset weight regulated value is confirmed to comprise in the rule when the short text message length is between 2-4; Rule with acquired weighted value downward modulation 0.5; Then the weight regulating device is according to this rule, and with the corresponding individual event weighted value downward modulation 0.5 of short text prefix, the weighted value that obtains short text information is 8.The mode that it should be appreciated by those skilled in the art that definite said award weighted value and punishment weighted value is not given an example with above-mentioned.
Need to prove; Those skilled in the art should understand that; Weight of the present invention is confirmed rule not with the above-mentioned limit that is exemplified as, in fact, so long as according to said predetermined phonetic classification; Confirm the implementation of the weight regulated value of said short text information, all should be within the scope of the present invention.
First son is confirmed the initial weight value of device according to said weight regulated value and preset said short text information, confirms said weighted value.
Concrete, first son confirms that device is through carrying out handled to initial weight value and weight regulated value, to obtain said weighted value.Wherein said handled includes but not limited to: multiplication and division, add, subtract and other forms of functional operation etc.And in aforementioned handled, also can further combine preset parameter etc.
For example; First deriving means 1 gets access to short text information " Sina "; Its corresponding short text prefix " xl " and both corresponding predetermined phonetic classifications are non-spelling with this, then the weight regulating device judges that short text information " Sina " the weight regulated value corresponding with short text prefix " xl " is to punish weighted value, and; The weight regulated value confirms that the preset weighted value of punishing is the value of the short text prefix length corresponding with short text information in the rule; The length that the suggestion device analysis obtains short text prefix " xl " is 2, then confirms rule according to the weight regulated value, and obtaining the punishment weighted value is 2; First son confirms that it is 12 that device obtains the preset initial weight value of short text information " Sina ", and first son confirms that device is according to formula: weighted value=initial weight value-weight regulated value, the weighted value that obtains short text information " Sina " is 10.
Again for example, first deriving means 1 gets access to short text information " Sina ", its corresponding short text prefix " xinlang " and both corresponding predetermined phonetic classifications are spelling with this; Then the weight regulating device judges that short text information " Sina " the weight regulated value corresponding with short text prefix " xinlang " is for rewarding weighted value; And; The weight regulated value is confirmed the preset regulated value=short text vowel number * 5 of award in the rule; The suggestion device analysis obtains short text prefix " xinlang " and comprises two vowels " in " and " ang ", and then the corresponding weight regulated value of weight regulating device acquisition short text information " Sina " is 10; First son confirms that the initial weight value that device obtains short text information " Sina " is 9, and first son confirms that device is according to formula: weighted value=0.5* weight regulated value+initial weight value, the weighted value that obtains short text information " Sina " is 14.
Again for example; First deriving means 1 is for getting access to short text information " Sina "; Suggestion device is according to " Sina "; Its corresponding short text prefix " xl " is confirmed and both corresponding predetermined phonetic classifications are non-spelling with this; Then the weight regulating device judges that short text information " Sina " the weight regulated value corresponding with short text prefix " xl " is the punishment weighted value, and the weight regulated value confirms that preset punishment weighted value in the rule is the mean value inverse of the individual event weighted value of the vowel number that comprises of short text prefix length, short text prefix and short text message length correspondence; Wherein, Weight is regulated inverse that rule comprises directly that the short text prefix length is corresponding value as its corresponding individual event weighted value, and when the vowel number that comprises when the short text prefix was zero, its preset individual event weighted value was 10; And with corresponding on duty of short text message length with 1.5 with rule as the corresponding individual event weighted value of short text information; Then the weight regulating device is regulated rule according to weight, and obtaining number and the corresponding individual event weighted value of short text message length that short text prefix length, short text prefix comprise respectively is 0.5,10 and 3, and to obtain the punishment weighted value according to the individual event weighted value be 1/ (0.5+10+3)=0.074; First son confirms that the initial weight value that device obtains short text information " Sina " is 9, and first son confirms that device is according to formula: weighted value=weight regulated value * initial weight value, the weighted value that obtains short text information " Sina " is 0.667.
Need to prove that above-mentioned being merely for example explained technical scheme of the present invention better, but not limitation of the present invention; It should be appreciated by those skilled in the art that any based on first pre-defined rule, according to said predetermined phonetic classification; Confirm the weight regulated value of said short text information; And, confirm the implementation of said weighted value according to the initial weight value of said weight regulated value and preset said short text information, all should be within the scope of the present invention.
As one of preferred version of the present invention, wherein, the present invention also comprises second judgment means (figure does not show) and second updating device (figure does not show).
Second judgment means judges that whether said short text information be equal to arbitrary reminder item that said information is comprised; Wherein said being equal to, include but not limited to: 1) identical; 2) meaning of a word is same or similar; 3) actual natural language is expressed the meaning same or similar etc.Wherein, whether the meaning of a word is same or similar judges through meaning of a word analysis, and whether actual natural language is same or similar judges through preset thesaurus.For example,, judge that according to preset thesaurus sh is identical with Shanghai, be equal to so judge both for short text information " 110sh " and " 110 Shanghai ".
When second judgment means is judged the whiles such as obtaining said short text information and said arbitrary reminder item; The predetermined phonetic classification that second updating device is corresponding with this reminder item and said short text prefix according to this short text information is come based on the said information of this short text information updating.
Concrete; For a certain short text prefix, second judgment means judges that a certain reminder item in the information of a short text information and this short text prefix is equal to, if said short text information relatively this short text prefix be spelling; And the predetermined phonetic classification of the said relatively short text prefix of said reminder item is non-spelling; Then second updating device is replaced said reminder item with said short text information as new reminder item, and according to the weighted value of short text information, new reminder item is inserted into the relevant position of information; And all the other reminder items are adjusted accordingly; For example, minimum one of deletion weighted value, and weighted value moved down one etc. less than other reminder items of new reminder item; If the said short text information predetermined phonetic of this short text prefix relatively is non-spelling, and the predetermined phonetic classification of the said relatively short text prefix of said reminder item is a spelling, then second updating device is not adjusted.
For example, for short text prefix " la ", its reminder item and corresponding prompt item weighted value are:
The coming year, 8;
Love, 5.5;
Come 4;
Lou An, 3;
" come " for short text information, its weighted value is that 6, the second judgment means are through being equal to judgement; Judge that " coming " is equal to " coming " mutually; And short text information " to come " the predetermined phonetic type with respect to short text prefix " la " be spelling, and short text information " to come " the predetermined phonetic classification with respect to short text prefix " la " be non-spelling, then second updating device is with " coming " the new reminder item as short text prefix " la "; Replacement " coming "; " coming " is inserted in the information according to its weighted value and predetermined phonetic classification, and all the other reminder items are taken turns doing corresponding adjustment, the reminder item that obtains short text prefix " la " is:
The coming year, 7;
Come 6;
Love, 5.5;
Lou An, 3.
Wherein, Aforementioned weight confirms that device can carry out after second updating device; Promptly judge that when second judgment means obtaining said short text information is not equal to said arbitrary reminder item, second updating device is not carried out associative operation, and then weight confirms that device is based on first pre-defined rule; According to said predetermined phonetic classification, come respectively to confirm said short text prefix respectively with the corresponding weighted value of said one or more short text information.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better, but not limitation of the present invention those skilled in the art should understand that; Any when judging the whiles such as obtaining said short text information and said arbitrary reminder item; Then corresponding with this reminder item and said short text prefix according to this short text information predetermined phonetic classification is come the implementation based on the said information of this short text information updating, all should be within the scope of the present invention.
As one of preferred version of the present invention, wherein, the present invention also comprises the second storehouse updating device (figure does not show).
The second storehouse updating device is according to said short text prefix and institute's information of setting up or upgrading, sets up or upgrades the information storehouse;
Concrete, in said information storehouse, do not comprise this short text prefix, then the second storehouse updating device is added into this short text prefix and corresponding prompt information thereof in the information storehouse; In said information storehouse, comprised this short text prefix, then the second storehouse updating device upgrades the information of this short text prefix in the information storehouse according to this short text prefix corresponding prompt message.
Wherein, the present invention also comprises real-time deriving means (figure does not show) and inquiry unit (figure does not show).
Deriving means obtains the list entries from the user in real time in real time.
Inquiry unit is inquired about as a short text prefix said list entries in said information storehouse, to obtain and the pairing information of this list entries, as the information of this list entries.
For example; Real-time deriving means obtains user input sequence in real time and is " xul "; Inquiry unit is inquired about as a short text prefix this list entries in the information storehouse; The information that obtains short text prefix " xl " is " xls ", " xlmv ", " sequence ", " Sina ", then with the information of this information as user input sequence, returns to the user.
As one of preferred version of the present invention; Wherein, Said first updating device is also based on second pre-defined rule, according to said weighted value and said predetermined phonetic classification, comes to set up or upgrade said short text prefix corresponding prompt message based on said one or more short text information; Wherein, said second pre-defined rule comprises following rule: the short text information that the short text information sorting of spelling is higher than non-spelling.
Concrete, first updating device is being set up or is being upgraded in the process of information, and suggestion device places the short text information of spelling type before the short text information of non-spelling type all the time.
According to scheme of the present invention; Correspondingly the weight adjustment is tactful through the short text information and executing to the predetermined phonetic type of difference; Can keep the reminder item of spelling type preferably; Can provide the letter that reduces user's input operation to piece together the reminder item of type again, make the reminder item that is appeared more meet user's demand.
Fig. 5 confirms the structural representation of the suggestion device of information for a preferred embodiment of the invention based on the short text prefix.Comprise that according to the suggestion device of present embodiment first deriving means 1, weight confirm the device 2 and first updating device 3.Wherein, first deriving means 1 further comprises the first sub-deriving means 11 and first analytical equipment 12; Said first updating device 3 further comprises first comparison device 31, first judgment means 32, second comparison device 33 and inserts device 34.
The first sub-deriving means 11 obtains said short text information.
First analytical equipment 12 is analyzed said short text information, to obtain the short text prefix of its corresponding predetermined phonetic classification.
Concrete; The short text information of 12 pairs of acquisitions of first analytical equipment is analyzed; And extract short text information corresponding characters string with the mode of spelling or non-spelling; Whether with as the pairing short text prefix of said short text information, and to come according to said extracting mode be the spelling of short text information, confirms the predetermined phonetic classification of short text information under the short text prefix of correspondence.
For example; For short text information " Sina "; First analytical equipment 12 is analyzed and obtained its spelling character string is " xinlang "; Then the prefix of its spelling classification can comprise that " x ", " xi ", " xin ", " xinl ", " xinla ", " xinlan " reach " xinlang ", and suggestion device is by selecting one carrying out subsequent treatment in above-mentioned seven short text prefixs, and confirms that the selected short text prefix predetermined phonetic classification corresponding with short text information " Sina " is spelling.
Again for example; For short text information " Sina "; First analytical equipment 12 is analyzed the character string that obtains its non-spelling character string extraction and is " xl "; Then the prefix of its non-spelling classification can comprise that " x " reaches " xl ", and suggestion device is by selecting one carrying out subsequent treatment in above-mentioned two each and every one the short text prefixs, and confirms that the selected short text prefix predetermined phonetic classification corresponding with short text information " Sina " is non-spelling.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better, but not limitation of the present invention those skilled in the art should understand that; Any implementation according to said its corresponding short text prefix of short text information acquisition all should be within the scope of the present invention.
Weight confirms that device 2 is detailing with reference among the embodiment shown in Figure 4, and is contained in this by reference, repeats no more.
First comparison device 31 is according to the maximum quantity of reminder item in the information, or according to the comparison result of the corresponding weighted value of the corresponding weighted value of said short text information and the reminder item of identical and/or different predetermined phonetic classification, obtains first comparison result.
Wherein, First comparison device 31 is through judging whether the reminder item quantity that is comprised in the said information has reached maximum quantity; And when reminder item quantity had reached predetermined maximum quantity, further the weighted value of the weighted value of short text information and the programmed alarm item in the information being compared obtained first comparison result; Wherein, said programmed alarm item comprises last spelling reminder item and/or last non-spelling reminder item.
Concrete, the difference of the information that is comprised according to short text information, first comparison result can comprise following any:
A) if the reminder item quantity that is comprised in the information of said short text prefix does not reach maximum quantity, comprise following arbitrary information in first comparison result that is then obtained: A1) all reminder items are the spelling type, and reminder item quantity does not reach maximum quantity; A2) all reminder items are non-spelling type, and reminder item quantity does not reach maximum quantity; A3) reminder item in the information comprises spelling and non-spelling type, and reminder item quantity does not reach maximum quantity;
For example; Can comprise 5 reminder items in preset each information; For short text prefix " xel "; Its corresponding prompt message is " xeltek ", " xeloda ", " xelos ", " evil strength " totally four, and the reminder item quantity that promptly information comprised does not reach maximum quantity, then when getting access to the short text information " xelove " relevant with short text prefix " xel "; First comparison device 31 according to first comparison result that comparison obtains is: the reminder item in the information comprises spelling and non-spelling type, and the reminder item quantity of the information of short text prefix " xel " less than.
B) if the reminder item quantity that information comprised of said short text prefix has reached maximum quantity; And suggestion device judges that all reminder items that obtain in the information are the spelling type or are non-spelling type; Then first comparison device 31 compares short text information weighted value and last reminder item weighted value, and comprise following arbitrary information in first comparison result that is obtained: B1) weighted value of short text information is greater than the weighted value of last reminder item; Perhaps B2) weighted value of short text information is less than the weighted value of last reminder item;
For example, the weighted value as if aforementioned short text prefix " xel " corresponding prompt message and each reminder item is:
xeltek,10;
xeloda,8;
xelos,7;
xelove,5;
xelement,4;
Wherein each item is the spelling reminder item; For short text information " xelod "; Its weighted value is 6.5; First comparison device 31 compares the weighted value of short text information " xelod " and the weighted value of last reminder item " xelement ", and first comparison result of acquisition comprises: short text information " xelod " weighted value is greater than last reminder item " xelement " weighted value; And for example; For short text information " evil strength "; Its weighted value is 3; First comparison device 31 compares the weighted value of short text information " evil strength " and the weighted value of last reminder item " xelement ", and obtain first comparison result and comprise: short text information " evil strength " is less than the weighted value of last reminder item " xelement ".
C) if the reminder item in the information of said short text prefix has reached maximum quantity; And the reminder item in the information comprises spelling type and non-spelling type; Then first comparison device 31 is searched the reminder item of last spelling and non-spelling in the information; And with the weighted value of short text information weighted value and last spelling reminder item and comparing of last non-spelling reminder item weighted value, comprise following arbitrary information in first comparison result that is then obtained: C1) last spelling reminder item weighted value is minimum; C2) last non-spelling reminder item weighted value is minimum; C3) short text information weighted value is minimum.
For example, for short text prefix " xs ", the weighted value of its corresponding prompt message and each reminder item is:
xswos,10;
xs8,8;
The x world, 7;
Xu Song, 5;
Novel, 4;
Wherein, first three items is the spelling reminder item, and back two is non-spelling reminder item.For short text information " xsmd "; Its weighted value is 9; First comparison device 31 is searched in information and is judged that last spelling reminder item is " the x world "; Last non-spelling reminder item is " novel ", and then first comparison device 31 compares " xsmd " respectively with last spelling reminder item " the x world " and last non-spelling reminder item " novel ", and obtain first comparison result and be: the weighted value of last non-spelling reminder item is minimum.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention; It should be appreciated by those skilled in the art that predetermined phonetic classification and the weighted value of reminder item information and the implementation that predetermined phonetic classification obtains first comparison result of any maximum quantity, short text information weighted value, short text information based on said reminder item, all should be within the scope of the present invention.
Then, first judgment means 32 judges according to said first comparison result whether said short text information can be as the reminder item of said short text prefix.
Concrete, first judgment means 32 judges that according to following rule short text information whether can be as the reminder item of said short text prefix:
1) if first comparison result belongs to aforementioned A) type first comparison result, then first judgment means 32 is judged the reminder item of short text information as said short text prefix;
2) if first comparison result belongs to aforementioned B1) type first comparison result, then first judgment means 32 is judged the reminder item of short text information as the short text prefix; If first comparison result belongs to aforementioned B2) type first comparison result, then first judgment means 32 is judged not with the reminder item of short text information as the short text prefix;
3) if first comparison result belongs to aforementioned C1) or C2) type first comparison result, then first judgment means 32 is judged the reminder item of short text information as the short text prefix; If first comparison result belongs to aforementioned C3) type first comparison result, then first judgment means 32 is judged not with the reminder item of short text information as the short text prefix.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention; It should be appreciated by those skilled in the art that and anyly judge that according to said first comparison result said short text information whether can be as the implementation of the reminder item of said short text prefix, all should be within the scope of the present invention.
Then, when first judgment means 32 judged that said short text information can be as the reminder item of said short text prefix, second comparison device 33 obtained second comparison result according to said first comparison result.
Concrete, second comparison device 33 obtains second comparison result according to arbitrary rule below passing through according to said first comparison result:
1) if first comparison result belongs to aforementioned A1) type first comparison result; Then second comparison device 33 includes but not limited to according to the mode that first comparison result obtains second comparison result: a1) if the short text information category is a spelling; And second comparison device 33 can obtain the saltus step item of the relative information of short text information, and then second comparison result comprises said saltus step item; Wherein, said saltus step item be illustrated in identical with the short text information category and the reminder item of weighted value less than short text information weighted value in, the reminder item that weighted value is maximum; A2) if the short text information category is a spelling, and second comparison device 33 fails to obtain the saltus step item of the relative information of short text information, and then second comparison result comprises the information of short text information weighted value less than all reminder item weighted values; A3) if the short text information category is non-spelling, then second comparison result comprises that the short text information category is non-spelling, and all reminder item classifications are the information of spelling in the information.
If first comparison result belongs to aforementioned A2) type first comparison result; Then second comparison device 33 includes but not limited to according to the mode that first comparison result obtains second comparison result: a4) if the short text information category is non-spelling; And second comparison device 33 can obtain the saltus step item of the relative information of short text information, and then second comparison result comprises said saltus step item; A5) if the short text information category is non-spelling, and second comparison device 33 fails to obtain the saltus step item of the relative information of short text information, and then second comparison result comprises the information of short text information weighted value less than all reminder item weighted values; A6) if the short text information category is a spelling, then second comparison result comprises that the short text information category is a spelling, and all reminder item classifications are the information of non-spelling in the information;
If first comparison result belongs to aforementioned A3) type first comparison result; Then second comparison device 33 includes but not limited to according to the mode that first comparison result obtains second comparison result: a7) if the short text information category is spelling or non-spelling; And second comparison device 33 can obtain the saltus step item of the relative information of short text information, and then second comparison result comprises said saltus step item; A8) if the short text information category is a spelling, and second comparison device 33 fails to obtain the saltus step item of the relative information of short text information, and then second comparison result comprises the information of short text information weighted value less than all spelling classification reminder item weighted values; A9) if the short text information category is non-spelling, and second comparison device 33 fails to obtain the saltus step item of the relative information of short text information, and then second comparison result comprises the information of weighted value less than all non-spelling classification reminder item weighted values.
2) if first comparison result belongs to aforementioned B1) type first comparison result; Then second comparison device 33 includes but not limited to according to the mode that first comparison result obtains second comparison result: b1) if the short text information category is a spelling; All reminder item classifications are spelling in the information, and then second comparison result comprises the saltus step item of the relative information of short text information; B2) if the short text information category is non-spelling, all reminder item classifications are non-spelling in the information, and then second comparison result comprises the saltus step item of the relative information of short text information; B3) if the short text information category is a spelling, all reminder item classifications are non-spelling in the information, and then second comparison result comprises that the short text information category is a spelling, and all reminder item classifications are the information of non-spelling in the information; B4) if the short text information category is non-spelling, all reminder item classifications are spelling in the information, and then second comparison result comprises that the short text information category is a spelling, and all reminder item classifications are the information of non-spelling in the information.
For example, the weighted value of short text prefix " lx " corresponding prompt message and each reminder item is:
Association, 7;
Meteor shower, 6;
Lin Xilei, 5;
Lin Xinru, 3;
Bruce Lee, 2;
Wherein each item is non-spelling reminder item, and then for short text information " lx570 ", its weighted value is 8, is the spelling type with respect to short text prefix " lx ".According to aforementioned first comparison device 31 and first judgment means, 32 gained as a result decidable short text information can be used as the reminder item of short text prefix " lx ".Owing to be non-spelling type reminder item in the information; Then second comparison device 33 is according to aforementioned obtain manner b3) acquisition second comparison result comprises that short text information " lx570 " classification is a spelling, and all reminder item classifications are the information of non-spelling in the information of short text prefix " lx ".
3) if first comparison result belongs to aforementioned C1) type first comparison result; Then second comparison device 33 comprises according to second comparison result that first comparison result is obtained: c1) if the short text classification is a spelling, then second comparison result comprises that short text information is that the weighted value minterm that the spelling classification and first comparison result are comprised is the information of spelling reminder item with respect to saltus step item, the short text information of information; C2) if the short text classification is non-spelling, then second comparison result comprises that short text information is that the weighted value minterm that the non-spelling classification and first comparison result are comprised is the information of spelling reminder item with respect to saltus step item, the short text information of information;
For example, for the example of the short text prefix " xs " of being takeed at first comparison device 31, first three items is the spelling reminder item in its reminder item, and back two is non-spelling reminder item.And first judgment means 32 judges that short text information " xsmd " can be used as the reminder item of short text prefix " xs ".Wherein short text information " xsmd " belongs to the spelling type with respect to short text prefix " xs "; In the information of short text prefix " xs "; Be all spelling classification and weighted value with short text information " xsmd " and be " xs8 " and " the x world " less than the reminder item of short text information " xsmd "; Wherein one of the weighted value maximum is reminder item " xs8 ", and its weight is 8, and promptly second comparison device, 33 acquisition short text information are second reminder item " xs8 " with respect to the saltus step item of information; Then second comparison result comprises: second reminder item " xs8 ", second reminder item are the spelling classification, and the weighted value minterm is the information of spelling reminder item.
4) if first comparison result belongs to aforementioned C2) type first comparison result; Then second comparison device 33 comprises according to second comparison result that first comparison result is obtained: c3) if the short text classification is a spelling, then second comparison result comprises that short text information is that the weighted value minterm that the spelling and first comparison result are comprised is the information of non-spelling reminder item with respect to saltus step item, the short text information of information; C4) if the short text classification is non-spelling, then second comparison result comprises that short text information is that the weighted value minterm that the non-spelling and first comparison result are comprised is the information of non-spelling reminder item with respect to saltus step item, the short text information of information.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any when judging that said short text information can be as the reminder item of said short text prefix; Obtain the implementation of second comparison result according to said first comparison result; For example, with said saltus step item change to be illustrated in identical with the short text information category and the reminder item of weighted value greater than short text information weighted value in, the reminder item that weighted value is minimum and other processing modes of corresponding change; Perhaps, in all cases, it is medium all short text information category and reminder item classification to be included in second comparison result, all should be within the scope of the present invention.
Insert device 34 according to said second comparison result, this short text information is added in the said information as new reminder item, and adjust the ordering of each reminder item in the said information according to said second comparison result.
Concrete, insert device 34 and short text information is joined information as new reminder item according to following rule, and other reminder items of corresponding adjustment:
I) when obtaining aforementioned a1), a4) or a7) during type second comparison result, insert device 34 with short text information as new reminder item, be inserted into the position of second reminder item that comparison result comprises, and the reminder item of this position and subsequent alerts item moved one after corresponding;
II) when obtaining aforementioned a2), a3), a5) or a9) during type second comparison result, insert device 34 with short text information as new reminder item, insert information last;
For example, for short text prefix " xel ", its information maximal term is 5, and the weighted value of its corresponding prompt message and each reminder item is:
xeltek,10;
xeloda,8;
xelos,7;
xelove,5。
For short text information " evil the 6th season of strength; its second comparison result comprises that the short text information category is non-spelling; and all reminder item classifications are the information of spelling in the information, that is like a3) said situation, then insert device 34 according to regular II); short text information " evil the 6th season of strength " as new reminder item, is inserted into last position of information.Then the information of short text prefix " xel " becomes: xeltek, xeloda, xelos, xelove, the 6th season of evil strength.
III) when obtaining aforementioned a6) during type second comparison result, insert device 34 with short text information as new reminder item, be inserted into the position of first reminder item in the information, and move one behind the position with all reminder items.
IV) when obtaining aforementioned a8) during type second comparison result, insert device 34 with short text information as new reminder item, be inserted into the position of first non-spelling reminder item in the information, and move one behind the position with all non-spelling reminder items.
V) when obtaining aforementioned b1) or b2) during type second comparison result; Insert device 34 with short text information as new reminder item; Be inserted into the position of the saltus step item that second comparison result comprised; And this saltus step item item and subsequent alerts item thereof moved one after corresponding, and delete last reminder item in the former information;
VI) when obtaining aforementioned b3) during type second comparison result; Insert device 34 with short text information as new reminder item; Be inserted into the position of first reminder item in the information, and move one behind the position with all reminder items, and delete last reminder item in the former information;
VII) when obtaining aforementioned b4) during type second comparison result, insert device 34 with short text information as new reminder item, replace last reminder item in the former information;
VI) when obtaining aforementioned c1), c3) or c4) during type second comparison result; Insert device 34 with short text information as new reminder item; Be inserted into the position of the saltus step item item that second comparison result comprised; And this saltus step item item and subsequent alerts item thereof moved one after corresponding, and delete last reminder item in the former information;
For example, for short text prefix " xs ", the weighted value of its corresponding prompt message and each reminder item is:
xswos,10;
xs8,8;
The x world, 7;
Xu Song, 5;
Novel, 4;
Wherein, first three items is the spelling reminder item, and back two is non-spelling reminder item.For short text information " xsmd ", its weighted value is 9, and the predetermined phonetic classification corresponding with short text prefix " xs " is spelling.Judgement can know that it belongs to c1 according to aforementioned means) said situation, the pairing reminder item of its second comparison result is second of an information.Then insert device 34 according to regular VI); With short text information as new reminder item; Be inserted into the position of the pairing reminder item of second comparison result, promptly last reminder item " novel " in the former information is deleted in second position; And second reminder item " xs8 " and subsequent alerts item " the x world " thereof, " Xu Song ", " novel " moved one after all corresponding, the information that obtains short text prefix " xs " at last is: xswos, xsmd, xs8, the x world, Xu Song.
VII) when obtaining aforementioned c2) during type second comparison result; Insert device 34 last spelling reminder items of deletion; And after moving one on the non-spelling reminder item position before the saltus step item that all and second comparison result are comprised, short text information is inserted into the last item position of the pairing reminder item of second comparison result as new reminder item.
For example, for aforementioned short text prefix " xs ", the weighted value of its corresponding prompt message and each reminder item is:
xswos,10;
xs8,8;
The x world, 5;
Xu Song, 8;
Novel, 6;
If for short text information " sale "; Weighted value is 7; According to the execution result of said first comparison device 31, first judgment means 32, second comparison device 33 judge can know belong to c2) said situation, and can obtain five of saltus step Xiang Weidi " novel " according to execution result.Then insert device 34 according to regular VII); Remove last spelling reminder item " the x world "; Move one on the non-spelling reminder item position before the reminder item that all are corresponding with second comparison result, also be about to move one on " novel " non-spelling reminder item " Xu Song " before, and with short text information " sales " as new reminder item; Join last the position of the pairing reminder item of second comparison result, promptly in the 4th of information the.The information that obtains adjusted short text prefix " xs " at last is: xswos, xs8, Xu Song, sale, novel.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better, but not limitation of the present invention those skilled in the art should understand that; Any implementation of adjusting the ordering of the reminder item in the information based on the predetermined phonetic classification of said second comparison result and short text information; For example, when reminder item had reached maximum quantity and need to have inserted new reminder item, the reminder item that will be deleted was set at minimum one of weighted value in spelling or the non-spelling arbitrarily; Perhaps, if not the spelling sort result all is higher than spelling as a result the time, described method etc. is originally implemented in corresponding change, all should be within the scope of the present invention.
What need further specify is, the content that said first comparison result and second comparison result are comprised and the mode of carrying out handled according to first comparison result and second comparison result in first comparison device 31 and first judgment means 32 be not with the above-mentioned limit that is exemplified as.For example, first comparison device 31 obtain short text information and all reminder items comparison result as first comparison result.Then; First judgment means 32 obtains its first required judgement information according to first comparison result; And first judge that information judges whether short text information can be as the reminder item of short text prefix according to this; Wherein, this first judgement information can comprise reminder item number, each reminder item classification and corresponding weighted value thereof etc., and first judgment means 32 specifically judges that according to these information judges that whether short text information can detail as the mode of the reminder item of short text prefix in aforementioned content; And be contained in this by reference, repeat no more.Then, second comparison device 33 directly with first comparison result as second comparison result.At last; Insert device 34 and obtain its second required judgement information according to second comparison result; This short text information is added in the said information as new reminder item according to this second judgement information; And adjust the ordering of each reminder item in the said information according to said second comparison result, wherein, the second judgement information can comprise that short text information category, short text information are for saltus step item of information etc.
Scheme according to present embodiment; Through first comparison device 31, first judgment means 32, second comparison device 33 and insert device 34 and carry out many wheel operations; Can travel through all short text prefixs fast by a short text information gained; After this short text information processing finishes, can discharge and be used to handle the required space of this short text information.Therefore, can obtain required result through a spot of relatively determining step, can travel through a large amount of short text information fast and obtain each short text prefix and corresponding prompt message thereof according to the method for present embodiment; And; Owing to after handling pairing all the short text prefixs of short text information, can discharge and be used to handle the required space of this short text information, and required space is minimum when handling this short text information; Therefore, few according to the method consumption of natural resource of present embodiment.
Another preferred embodiment of Fig. 6 the present invention confirm the structural representation of the suggestion device of information based on the short text prefix.Comprise the second sub-deriving means 11 ', second analytical equipment 6 and the first storehouse updating device 7 according to the suggestion device of present embodiment.Wherein, said first deriving means 1 also further comprises prefix deriving means 13 and the 3rd sub-deriving means 14; Said first updating device 3 also further comprises collator 35 and selecting arrangement 36.
The second sub-deriving means 11 ' obtains said short text information.
Then, second analytical equipment 6 is analyzed said short text information, to obtain the short text prefix of its each corresponding predetermined phonetic classification.
Concrete; The short text information of 6 pairs of acquisitions of second analytical equipment is analyzed; And extract all corresponding character strings of short text information with the mode of spelling or non-spelling; Whether with as the pairing short text prefix of said short text information, and to come according to said extracting mode be the spelling of short text information, confirms the predetermined phonetic classification of short text information under the short text prefix of correspondence.
The first storehouse updating device 7 is set up according to the short text prefix of said short text information and said each predetermined phonetic classification of being obtained or is upgraded the corresponding relation storehouse; Wherein, comprise the short text information that a plurality of short text prefixs, these a plurality of short text prefixs are corresponding respectively and have the short text prefix predetermined phonetic classification corresponding of corresponding relation in the said corresponding relation storehouse with short text information.
Concrete, when said corresponding relation storehouse was not set up, the first storehouse updating device 7 was set up the corresponding relation storehouse according to the short text prefix of said short text information and said each predetermined phonetic classification of being obtained.When said corresponding relation storehouse has been set up; The first storehouse updating device 7 is after all short text prefixs of obtaining short text information and correspondence thereof; Whether the said short text information of inquiry has been included under its corresponding short text prefix in the corresponding relation storehouse; If said short text information is not included under its corresponding short text prefix, then short text information and this short text information and the corresponding predetermined phonetic classification of short text prefix are added in the pairing short text information of this short text prefix.The first storehouse updating device 7 also is added into this short text information in the information relevant with this short text prefix with the corresponding weighted value of short text prefix.
For example; For short text information " net of going to market "; The short text prefix corresponding with it comprises " g ", " ga ", " gan ", " ganj ", " ganji ", " ganji ", " ganjiw ", " ganjiwa ", " ganjiwan ", " ganjiwang ", " gj ", " gjw "; The first storehouse updating device 7 is searched aforementioned short text prefix in the corresponding relation storehouse; And obtain short text prefix " ganjiwang " and " gj ", and all the other short text prefixs do not exist in the corresponding relation storehouse." ganjiwang " and " gj " in the corresponding relation storehouse with the corresponding relation of short text information is:
" ganjiwang ": the net of going to market, 10, spelling;
" gj ": gjw, 9, spelling; Go to market, 6, non-spelling;
The first storehouse updating device 7 is analyzed the corresponding relation that obtains short text information " net of going to market " and short text prefix " ganjiwang " and is existed, and therefore then short text prefix " ganjiwang " is operated;
7 analyses of the first storehouse updating device obtain short text information " net of going to market " and are not present in the corresponding short text information of short text prefix " gj "; And suggestion device acquisition short text information " net of going to market " is non-spelling with respect to the phonetic classification of short text prefix " gj "; And its weighted value with respect to short text prefix " gj " is 7; Then the first storehouse updating device 7 is added into short text information and predetermined phonetic classification thereof in the corresponding relation with short text prefix " gj ", and the corresponding relation of short text prefix " gj " is updated to:
" gj ": gjw, 9, spelling; The net of going to market, 7, non-spelling; Go to market, 6, non-spelling.
Short text prefix " g ", " ga ", " gan ", " ganj ", " ganji ", " ganji ", " ganjiw ", " ganjiwa ", " ganjiwan " in the corresponding relation storehouse, not setting up as yet reach " gjw ", and the first storehouse updating device 7 is added into the corresponding relation of above-mentioned short text prefix and these short text prefixs and short text information " net of going to market " in the corresponding relation storehouse.
With short text prefix " gjw " is example; The first storehouse updating device, 7 acquisition short text information " net of going to market " are non-spelling with respect to the phonetic classification of short text prefix " gjw "; And its weighted value with respect to short text prefix " gjw " is 9; Then this short text prefix and this short text information and predetermined phonetic classification thereof are added in the corresponding relation storehouse, have then increased the corresponding relation of short text prefix " gjw " in the corresponding relation storehouse, its current corresponding relation is:
" gjw ": the net of going to market, 9, non-spelling.
After setting up the corresponding relation storehouse, when suggestion device need be set up or upgrade information, prefix deriving means 13 obtained a short text prefix.
Wherein, the mode of obtaining the short text prefix includes but not limited to:
1) obtain the list entries of user input in real time, and with this list entries that obtains in real time as the short text prefix;
2) obtain the short text prefix of pre-stored.
Then; The 3rd sub-deriving means 14 is according to said short text prefix, by obtaining one or more short text information corresponding with said short text prefix and said short text prefix and difference corresponding predetermined phonetic classification of said one or more short text information and weighted value in the said corresponding relation storehouse.
Concrete; The 3rd sub-deriving means 14 is according to the short text prefix that obtains; Inquiry obtains this short text prefix in the corresponding relation storehouse, and with the corresponding short text information of said short text prefix, and these short text information predetermined phonetic classification and weighted value corresponding with said short text prefix.
Weight confirms that device 2 is detailing with reference among the embodiment shown in Figure 4, and is contained in this by reference, repeats no more.
Then, weighted value and predetermined phonetic classification that collator 35 is corresponding according to said a plurality of short text information are confirmed the ranking results of said a plurality of short text information with respect to said short text prefix.
Concrete; Collator 35 according to spelling short text information preceding, non-spelling short text information after, and to spelling and non-spelling short text information; According to weighted value the high extremely low mode that sorts is arranged respectively, obtain the ranking results of the short text information corresponding with the short text prefix.
For example, the pairing short text information of short text prefix " gj " obtained of collator 35 and weighted value thereof with corresponding predetermined phonetic classification are:
According to, 3, non-spelling;
The net of going to market, 4.5, non-spelling;
Go to market, 6, non-spelling;
Gjw, 8, spelling;
Country, 6.5, non-spelling;
Sensation, 2, non-spelling;
Then collator 35 according to spelling short text information preceding; Non-spelling short text information after; And to spelling and non-spelling short text information; Respectively according to weighted value have high sort to the low mode that sorts after, obtain above-mentioned a plurality of short text information and be with respect to the ranking results of short text prefix " gj ":
Gjw, 8, spelling;
Country, 6.5, non-spelling;
Go to market, 6, non-spelling;
The net of going to market, 4.5, non-spelling;
According to, 3, non-spelling;
Sensation, 2, non-spelling.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any based on said a plurality of short text information corresponding weighted value and predetermined phonetic classification; Confirm the implementation of said a plurality of short text information with respect to the ranking results of said short text prefix, all should be within the scope of the present invention.
Selecting arrangement 36 is according to the maximum quantity and the said ranking results of reminder item in the said information, by the reminder item of the corresponding a plurality of orderings of said a plurality of short text information selected.Wherein, the maximum quantity of reminder item can should be selected and sets by those skilled in the art according to actual conditions and demand in the said information.
Concrete, the maximum quantity of the reminder item that selecting arrangement 36 preset informations are comprised is N.Then suggestion device by the pairing a plurality of short text information selected ranks accomplished that sorted of short text prefix before the short text information of N position as the reminder item of short text prefix.
For example, the maximum quantity of the reminder item of selecting arrangement 36 preset informations is 4, and for aforementioned short text prefix " gj ", its corresponding short text ranking results is:
Gjw, 8, spelling;
Country, 6.5, non-spelling;
Go to market, 6, non-spelling;
The net of going to market, 4.5, non-spelling;
According to, 3, non-spelling;
Sensation, 2, non-spelling.
Selecting arrangement 36 selects ordering for the reminder item of preceding four short text information as short text prefix " gj " from this ranking results, constitutes its information.The information that is short text prefix " gj " comprises: gjw, country, the net of going to market, go to market.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any based on maximum quantity and said ranking results according to reminder item in the said information; By the implementation of the reminder item of the corresponding a plurality of orderings of said a plurality of short text information selected, all should be within the scope of the present invention.
According to the suggestion device of present embodiment, its versatility is stronger, is easy to carry out system maintenance.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned example embodiment, and under the situation that does not deviate from spirit of the present invention or essential characteristic, can realize the present invention with other concrete form.Therefore; No matter from which point; All should regard embodiment as exemplary; And be nonrestrictive, scope of the present invention is limited accompanying claims rather than above-mentioned explanation, therefore is intended to the implication of the equivalents that drops on claim and all changes in the scope are included in the present invention.Should any Reference numeral in the claim be regarded as limit related claim.In addition, obviously other unit or step do not got rid of in " comprising " speech, and odd number is not got rid of plural number.A plurality of unit of stating in system's claim or device also can be realized through software or hardware by a unit or device.The first, the second word such as grade is used for representing title, and does not represent any specific order.

Claims (23)

1. computer implemented method that is used for confirming information based on the short text prefix, wherein, this method may further comprise the steps:
A obtain the corresponding one or more short text information of said short text prefix, this short text prefix and this short text prefix respectively with the corresponding predetermined phonetic classification of said one or more short text information;
B according to said predetermined phonetic classification, comes to confirm respectively said short text prefix and the corresponding weighted value of said one or more short text information based on first pre-defined rule;
C is according to said weighted value and said predetermined phonetic classification, comes to set up or upgrade said short text prefix corresponding prompt message based on said one or more short text information, and said information comprises the reminder item of one or more orderings.
2. method according to claim 1, wherein, said step b may further comprise the steps:
-based on first pre-defined rule,, confirm the weight regulated value of said short text information according to said predetermined phonetic classification;
-according to the initial weight value of said weight regulated value and preset said short text information, confirm said weighted value.
3. method according to claim 1 and 2, wherein, at least one factor confirmed said weighted value below said first pre-defined rule comprised reference:
The length of-said short text prefix;
-vowel and/or consonant number that said short text prefix is comprised;
The length of-said short text information.
4. according to each described method in the claim 1 to 3, wherein, said step c may further comprise the steps:
-according to the maximum quantity of reminder item in the information and/or according to the comparison result of the corresponding weighted value of the corresponding weighted value of said short text information and the reminder item of identical and/or different predetermined phonetic classification, obtain first comparison result;
-judge according to said comparison result whether said short text information can be as the reminder item of said short text prefix;
-when judging that said short text information can be as the reminder item of said short text prefix, obtain second comparison result according to said first comparison result;
-according to said second comparison result, this short text information is added in the said information as new reminder item, and adjust the ordering of each reminder item in the said information according to said second comparison result.
5. according to each described method in the claim 1 to 3, wherein, said step c may further comprise the steps:
-weighted value and the predetermined phonetic classification corresponding according to said a plurality of short text information confirmed the ranking results of said a plurality of short text information with respect to said short text prefix;
-according to the maximum quantity and the said ranking results of reminder item in the said information, by the reminder item of the corresponding a plurality of orderings of said a plurality of short text information selected.
6. according to each described method in the claim 1 to 5, wherein, this method is further comprising the steps of:
-judge that whether said short text information be equal to arbitrary reminder item that said information is comprised;
-when judgement obtains said short text information and said arbitrary reminder item is equal to, then corresponding with this reminder item and said short text prefix according to this short text information predetermined phonetic classification is come based on the said information of this short text information updating;
Wherein, said step b is further comprising the steps of:
-be not equal to when judgement obtains said short text information with said arbitrary reminder item, then based on first pre-defined rule, according to said predetermined phonetic classification, come respectively to confirm said short text prefix respectively with the corresponding weighted value of said one or more short text information.
7. according to each described method in the claim 1 to 6, wherein, said step a may further comprise the steps:
-obtain said short text information;
-analyze said short text information, to obtain the short text prefix of its corresponding predetermined phonetic classification.
8. according to each described method in the claim 1 to 6, wherein, this method may further comprise the steps:
-obtain said short text information;
-analyze said short text information, to obtain the short text prefix of its each corresponding predetermined phonetic classification;
-set up or upgrade the corresponding relation storehouse according to the short text prefix of the said short text information that is obtained and said each predetermined phonetic classification;
Wherein, comprise the short text information that a plurality of short text prefixs, these a plurality of short text prefixs are corresponding respectively and have the short text prefix predetermined phonetic classification corresponding of corresponding relation in the said corresponding relation storehouse with short text information;
Wherein, said step a is further comprising the steps of:
-obtain a short text prefix;
-according to said short text prefix, by obtaining the one or more short text information corresponding and this short text prefix and difference corresponding predetermined phonetic classification of said one or more short text information and weighted value in the said corresponding relation storehouse with it.
9. according to each described method in the claim 1 to 8, wherein, this method is further comprising the steps of:
-according to said short text prefix and institute's information of setting up or upgrading, set up or upgrade the information storehouse;
Wherein, this method is further comprising the steps of:
-obtain list entries from the user;
-said list entries is inquired about in said information storehouse as a short text prefix, to obtain and the pairing information of this list entries, as the information of this list entries.
10. according to each described method in the claim 1 to 9, wherein, said predetermined phonetic classification comprises spelling and non-spelling.
11. method according to claim 10, wherein, said step c may further comprise the steps:
-based on second pre-defined rule,, come to set up or upgrade said short text prefix corresponding prompt message based on said one or more short text information according to said weighted value and said predetermined phonetic classification;
Wherein, said second pre-defined rule comprises following rule:
The short text information that the short text information sorting of spelling is higher than non-spelling.
12. a suggestion device that is used for confirming based on the short text prefix information, wherein, this suggestion device comprises:
First deriving means, be used to obtain the corresponding one or more short text information of said short text prefix, this short text prefix and this short text prefix respectively with the corresponding predetermined phonetic classification of said one or more short text information;
Weight is confirmed device, is used for based on first pre-defined rule, according to said predetermined phonetic classification, comes to confirm respectively said short text prefix and the corresponding weighted value of said one or more short text information;
First updating device, be used for according to said weighted value and said predetermined phonetic classification; Come to set up or upgrade said short text prefix corresponding prompt message based on said one or more short text information, said information comprises the reminder item of one or more orderings.
13. device according to claim 12, wherein, said weight confirms that device comprises:
The weight regulating device, be used for,, confirm the weight regulated value of said short text information according to said predetermined phonetic classification based on first pre-defined rule;
First son is confirmed device, is used for reaching according to said weight regulated value the initial weight value of preset said short text information, confirms said weighted value.
14. according to claim 12 or 13 described suggestion devices, wherein, at least one factor confirmed said weighted value below said first pre-defined rule comprised reference:
The length of-said short text prefix;
-vowel and/or consonant number that said short text prefix is comprised;
The length of-said short text information.
15. according to each described suggestion device in the claim 12 to 14, wherein, said first updating device also comprises:
First comparison device, be used for obtaining first comparison result according to the maximum quantity of information reminder item and/or according to the comparison result of the corresponding weighted value of the corresponding weighted value of said short text information and the reminder item of identical and/or different predetermined phonetic classification;
First judgment means, be used for judging according to said comparison result whether said short text information can be as the reminder item of said short text prefix;
Second comparison device, be used for when judging that said short text information can be as the reminder item of said short text prefix, obtaining second comparison result according to said first comparison result;
Insert device, be used for, this short text information is added in the said information as new reminder item, and adjust the ordering of each reminder item in the said information according to said second comparison result according to said second comparison result.
16. according to each described suggestion device in the claim 12 to 14, wherein, said first updating device comprises:
Collator, be used for weighted value and the predetermined phonetic classification corresponding, confirm the ranking results of said a plurality of short text information with respect to said short text prefix according to said a plurality of short text information;
Selecting arrangement, be used for maximum quantity and said ranking results, by the reminder item of the corresponding a plurality of orderings of said a plurality of short text information selected according to said information reminder item.
17. according to each described suggestion device in the claim 12 to 16, wherein, this suggestion device also comprises:
Second judgment means, be used to judge that whether said short text information be equal to arbitrary reminder item that said information is comprised;
Second updating device, be used for obtaining said short text information and said arbitrary reminder item is equal to when judging; Then corresponding with this reminder item and said short text prefix according to this short text information predetermined phonetic classification is come based on the said information of this short text information updating;
Wherein, said weight confirms that device also is used for:
Be not equal to when judgement obtains said short text information with said arbitrary reminder item, then based on first pre-defined rule, according to said predetermined phonetic classification, come respectively to confirm said short text prefix respectively with the corresponding weighted value of said one or more short text information.
18. according to each described suggestion device in the claim 12 to 17, wherein, said first deriving means comprises:
The first sub-deriving means, be used to obtain said short text information;
First analytical equipment, be used to analyze said short text information, to obtain the short text prefix of its corresponding predetermined phonetic classification.
19. according to each described suggestion device in the claim 12 to 17, wherein, this suggestion device also comprises:
The second sub-deriving means is used to obtain said short text information;
Second analytical equipment, be used to analyze said short text information, to obtain the short text prefix of its each corresponding predetermined phonetic classification;
The first storehouse updating device, be used for setting up or upgrading the corresponding relation storehouse according to the short text prefix of the said short text information that is obtained and said each predetermined phonetic classification;
Wherein, comprise the short text information that a plurality of short text prefixs, these a plurality of short text prefixs are corresponding respectively and have the short text prefix predetermined phonetic classification corresponding of corresponding relation in the said corresponding relation storehouse with short text information;
Wherein, said first deriving means also comprises:
The prefix deriving means is used to obtain a short text prefix;
The 3rd sub-deriving means, be used for, by obtaining the one or more short text information corresponding and this short text prefix and corresponding predetermined phonetic classification of said one or more short text information and weighted value respectively in the said corresponding relation storehouse with it according to said short text prefix.
20. according to each described suggestion device in the claim 12 to 19, wherein, this suggestion device also comprises:
The second storehouse updating device, be used for, set up or upgrade the information storehouse according to said short text prefix and institute's information of setting up or upgrading;
Wherein, this suggestion device also comprises:
In real time deriving means, be used to obtain list entries from the user;
Inquiry unit, be used for said list entries is inquired about in said information storehouse as a short text prefix, to obtain and the pairing information of this list entries, as the information of this list entries.
21. according to each described suggestion device in the claim 12 to 20, wherein, said predetermined phonetic classification comprises spelling and non-spelling.
22. suggestion device according to claim 21, wherein, said first updating device also is used for:
Based on second pre-defined rule,, come to set up or upgrade said short text prefix corresponding prompt message based on said one or more short text information according to said weighted value and said predetermined phonetic classification;
Wherein, said second pre-defined rule comprises following rule:
The short text information that the short text information sorting of spelling is higher than non-spelling.
23. a computer equipment, wherein, this computer equipment comprises like at least one described suggestion device in the claim 12 to 22.
CN2011100067737A 2011-01-13 2011-01-13 Method for determining prompt information, device and computer equipment Pending CN102591470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100067737A CN102591470A (en) 2011-01-13 2011-01-13 Method for determining prompt information, device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100067737A CN102591470A (en) 2011-01-13 2011-01-13 Method for determining prompt information, device and computer equipment

Publications (1)

Publication Number Publication Date
CN102591470A true CN102591470A (en) 2012-07-18

Family

ID=46480266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100067737A Pending CN102591470A (en) 2011-01-13 2011-01-13 Method for determining prompt information, device and computer equipment

Country Status (1)

Country Link
CN (1) CN102591470A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929978A (en) * 2012-10-17 2013-02-13 北京奇虎科技有限公司 Drop-down prompt system based on input prefix
CN105824850A (en) * 2015-01-09 2016-08-03 北京蓝光引力网络股份有限公司 Desktop position of search box
WO2017167045A1 (en) * 2016-03-28 2017-10-05 阿里巴巴集团控股有限公司 Method and device for generating code assistance information
CN107784354A (en) * 2016-08-17 2018-03-09 华为技术有限公司 The control method and company robot of robot

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929978A (en) * 2012-10-17 2013-02-13 北京奇虎科技有限公司 Drop-down prompt system based on input prefix
CN102929978B (en) * 2012-10-17 2015-07-29 北京奇虎科技有限公司 Based on the drop-down prompt system of input prefix
CN105824850A (en) * 2015-01-09 2016-08-03 北京蓝光引力网络股份有限公司 Desktop position of search box
WO2017167045A1 (en) * 2016-03-28 2017-10-05 阿里巴巴集团控股有限公司 Method and device for generating code assistance information
CN107239264A (en) * 2016-03-28 2017-10-10 阿里巴巴集团控股有限公司 The generation method and device of code prompt message
US10678514B2 (en) 2016-03-28 2020-06-09 Alibaba Group Holding Limited Method and device for generating code assistance information
CN107239264B (en) * 2016-03-28 2020-06-23 阿里巴巴集团控股有限公司 Method and device for generating code prompt information
CN107784354A (en) * 2016-08-17 2018-03-09 华为技术有限公司 The control method and company robot of robot
CN107784354B (en) * 2016-08-17 2022-02-25 华为技术有限公司 Robot control method and accompanying robot
US11511436B2 (en) 2016-08-17 2022-11-29 Huawei Technologies Co., Ltd. Robot control method and companion robot

Similar Documents

Publication Publication Date Title
CN105893609B (en) A kind of mobile APP recommended method based on weighted blend
CN104268175B (en) A kind of devices and methods therefor of data search
US9336299B2 (en) Acquisition of semantic class lexicons for query tagging
CN110929166B (en) Content recommendation method, electronic equipment and storage medium
CN108460082B (en) Recommendation method and device and electronic equipment
US20190278864A2 (en) Method and device for processing a topic
Handani et al. Sentiment analysis for go-jek on google play store
CN103365904B (en) A kind of advertising message searching method and system
CN103226576A (en) Comment spam filtering method based on semantic similarity
CN102163228A (en) Method, apparatus and device for determining sorting result of resource candidates
CN103064826A (en) Method, device and system used for imputing expressions
CN110287409B (en) Webpage type identification method and device
CN107346433A (en) A kind of text data sorting technique and server
CN108920488A (en) The natural language processing method and device that multisystem combines
CN105094368A (en) Control method and control device for frequency modulation ordering of input method candidate item
CN106909669B (en) Method and device for detecting promotion information
CN105930416A (en) Visualization processing method and system of user feedback information
CN108846695A (en) The prediction technique and device of terminal replacement cycle
CN102591470A (en) Method for determining prompt information, device and computer equipment
CN103902694B (en) Clustering and query behavior based retrieval result sorting method
CN106445963A (en) Advertisement index keyword automatic generation method and apparatus for APP platform
CN112862567B (en) Method and system for recommending exhibits in online exhibition
CN109582155B (en) Recommendation method and device for inputting association words, storage medium and electronic equipment
CN103514168B (en) Data processing method and device
CN110968790B (en) Intelligent recommendation method, equipment and storage medium for potential clients based on big data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120718