CN106886296A - The treating method and apparatus of the dictionary of input method - Google Patents

The treating method and apparatus of the dictionary of input method Download PDF

Info

Publication number
CN106886296A
CN106886296A CN201710081485.5A CN201710081485A CN106886296A CN 106886296 A CN106886296 A CN 106886296A CN 201710081485 A CN201710081485 A CN 201710081485A CN 106886296 A CN106886296 A CN 106886296A
Authority
CN
China
Prior art keywords
input
interactive object
time period
preset time
user
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
CN201710081485.5A
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201710081485.5A priority Critical patent/CN106886296A/en
Publication of CN106886296A publication Critical patent/CN106886296A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The present invention provides a kind for the treatment of method and apparatus of the dictionary of input method, wherein, the method includes:When input method software is called, however, it is determined that current input environment is interactive input environment, then interactive object mark is obtained, and obtain the relationship record in the first preset time period with the interactive object corresponding interactive object of mark;According to the relationship record in the first preset time period, if it is determined that user often contacts with interactive object, then obtain the input content in the second preset time period in the relationship record in the first preset time period, the word frequency of each word is determined according to the input content in the second preset time period, to set up and the one-to-one personalization dictionary of interactive object.Personalized dictionary is set up for each interactive object so that the sequence of candidate word is directed to current interactive object, improve the input efficiency high and accuracy of user, lift the personalized level of the Consumer's Experience of input method software, enhancing input method software and terminal.

Description

The treating method and apparatus of the dictionary of input method
Technical field
The present invention relates to field of terminal technology, more particularly to a kind for the treatment of method and apparatus of the dictionary of input method.
Background technology
With developing rapidly for microelectric technique and super large-scale integration, terminal has become people's live and work In important tool.User can interact with terminal, it is necessary to user carries out word input during interaction.
In the prior art, input method software provides dictionary, and user can be looked into input coding, input method software in dictionary The candidate word matched with input coding is looked for, can be ranked up for candidate word by input method software, can be arranged according to by input number of times Sequence, candidate word is sorted by recently inputting sequence etc., and then the candidate word after sequence is shown in the form of a list, for user's choosing Select the candidate word input for matching the most.
But in the prior art, when sequence to candidate word, according to the input word that present terminal was received, by candidate word Be ranked up, it is necessary to pass through constantly collection, analysis user input feature so that progressively set up adapt to present terminal word Storehouse.Prior art is highly dependent on user input, only user for a long time, constantly using present terminal input method software it Afterwards, dictionary could exactly reflect the input habit of user, and when user uses new terminal, new terminal is because defeated without the user for collecting Enter and be accustomed to referring to, can only will substantially be reduced using the standard dictionary of input method software, the accuracy and efficiency of word input, from And cause user input efficiency is relatively low, the reduction of word accuracy.
The content of the invention
The present invention provides a kind for the treatment of method and apparatus of the dictionary of input method, be used to solve in the prior art new terminal because Without collect user input custom refer to, can only using input method software standard dictionary, word input accuracy and Efficiency will be reduced substantially, so that the input efficiency of user is relatively low, the problem of word accuracy reduction.
It is an aspect of the present invention to provide a kind of processing method of the dictionary of input method, including:
When input method software is called, judge whether current input environment is interactive input environment;
If it is determined that current input environment is interactive input environment, then obtain interactive object mark, and obtain with interact it is right The relationship record in the first preset time period as identifying corresponding interactive object;
According to the relationship record in the first preset time period, judge whether user often contacts with interactive object;
If it is determined that user often contacts with interactive object, then second in the relationship record in the first preset time period is obtained Input content in preset time period, the word frequency of each word is determined according to the input content in the second preset time period, to set up With the one-to-one personalization dictionary of interactive object.
Another aspect of the present invention is to provide a kind of processing unit of the dictionary of input method, including:
First judge module, for when input method software is called, judging whether current input environment is interactive Type input environment;
First acquisition module, for if it is determined that current input environment is interactive input environment, then obtaining interactive object mark Know, and obtain the relationship record in the first preset time period with the interactive object corresponding interactive object of mark;
Second judge module, for according to the relationship record in the first preset time period, judging that user is with interactive object No frequent contact;
First sets up module, for if it is determined that user often contacts with interactive object, then obtaining in the first preset time period Relationship record in the second preset time period in input content, determined according to the input content in the second preset time period each The word frequency of word, to set up and the one-to-one personalization dictionary of interactive object.
The solution have the advantages that:By when input method software is called, whether judging current input environment It is interactive input environment;If it is determined that current input environment is interactive input environment, then interactive object mark is obtained, and obtain With the relationship record in the first preset time period of the interactive object corresponding interactive object of mark;According to the first preset time period Interior relationship record, judges whether user often contacts with interactive object;If it is determined that user often contacts with interactive object, then obtain The input content in the second preset time period in the relationship record in the first preset time period is taken, according to the second preset time period Interior input content determines the word frequency of each word, to set up and the one-to-one personalization dictionary of interactive object.So as to for every One interactive object sets up personalized dictionary so that the sequence of candidate word is directed to current interactive object, and then improves user Input efficiency high and accuracy, lifted input method software Consumer's Experience, enhancing input method software and terminal personalized water It is flat.
Brief description of the drawings
Fig. 1 is the flow chart of the processing method of the dictionary of the input method that the embodiment of the present invention one is provided;
Fig. 2 is the flow chart of the processing method of the dictionary of the input method that the embodiment of the present invention two is provided;
Fig. 3 is the structural representation of the processing unit of the dictionary of the input method that the embodiment of the present invention three is provided;
Fig. 4 is the structural representation of the processing unit of the dictionary of the input method that the embodiment of the present invention four is provided.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of the processing method of the dictionary of the input method that the embodiment of the present invention one is provided, as shown in figure 1, this The method of embodiment can include:
Step 101, when input method software is called, judge whether current input environment is that interactive is input into ring Border.
In the present embodiment, specifically, when input method software is called, whether first determining whether current input environment It is the input environment of interactive.
Step 102, if it is determined that current input environment is interactive input environment, then obtain interactive object mark, and obtain With the relationship record in the first preset time period of the interactive object corresponding interactive object of mark.
In the present embodiment, specifically, if it is determined that when the input environment of input method software is interactive input environment, then obtaining Interactive object mark is taken, interactive object mark includes name, user name, the pet name, telephone number, registration mailbox.
For example, terminal obtains interactive object --- the identification information of user B, it is assumed that user that user A uses " wechat " " wechat " pet name of B is " Wang ", the then interactive object to be obtained --- the identification information of user B.
Then, after according to the mark of interactive object, obtain pre- first with the interactive object corresponding interactive object of mark If the relationship record in the time period, relationship record includes the local communication record of terminal, social networks record, local communication record bag The record such as phone, short message, multimedia message, Email of terminal local is included, social networks record includes each social networks, wherein, First preset time period can be fixedly installed by terminal, or by user input.Specifically, after obtaining the mark of interactive object, Terminal should obtain the relationship record of user and interactive object;Predetermined interactive object is in local communication record and social networks Matching relationship;When obtaining the relationship record of user and interactive object, should not only be searched in the record of the local communication of terminal, should also be Searched in social networks, so that relationship record should be recorded including the phone of terminal local, short message, multimedia message, Email etc., should also Comprising each social networks, such as wechat, the record of mobile phone QQ;Wherein, social networks should be the social networking application that user commonly uses Or website, when there is social networking application or the website that multiple users commonly use, should be simultaneously in multiple social networking applications or net The relationship record of user and interactive object is searched in standing;During the relationship record of acquisition user and interactive object, when can preassign Between section, the time period can be preset or provide operation interface and allow User Defined when terminal is dispatched from the factory by manufacturer.
For example, terminal obtains the intersection record of user A, B.Before acquisition, terminal according to the identification information of user B, The contact person of matching is found in local communication record or social networking contacts.When matching is found, mark of the terminal according to user B Information, obtains the information of user B, and the social activity commonly used in the address list or social networking application of terminal or user as much as possible The contact person or good friend of matching are found on website.The pet name " Wang " being designated in " wechat " of user B, therefore obtain " Wang " and exist All information in wechat, such as head portrait, registration telephone number.If got head image datas of the user B in " wechat " and Registration telephone number information.Just can be with these information of user B as foundation, in the address list and other social networks of terminal The contact person or good friend for searching matching.If having the contact person " Wang " of the same name with user B, its telephone number in address list It is identical with the herd number in wechat, then it is believed that address list in contact person " Wang " be exactly with the pet name in wechat be " Wang " The people of matching.Then, terminal just inquires about the contact note of user A and contact person " Wang " in address list in the communications records of terminal Record, inquiring has dealing phone 33 times, short message 14 times in the relationship record in 7 days;Terminal should the inquiry in " wechat " simultaneously User A is the chat record of " Wang " with the pet name, and it is 89 times to inquire chat record in 7 days.
Step 103, according to the relationship record in the first preset time period, judge whether user often joins with interactive object System.
In the present embodiment, specifically, according to the relationship record in the first preset time period, go to judge user with interact it is right As if no frequent contact.
Step 104, if it is determined that user and interactive object are often contacted, then obtain the relationship record in the first preset time period In the second preset time period in input content, the word of each word is determined according to the input content in the second preset time period Frequently, with the one-to-one personalization dictionary of foundation and interactive object.
In the present embodiment, specifically, if it is determined that user often contacts with interactive object, then the in relationship record is obtained Input content in two preset time periods, according to the input content in the second preset time period, determines the word frequency of each word, from And set up and the one-to-one personalization dictionary of interactive object.
Specifically, if the use environment of input method belongs to interactive input environment, and user is frequent with the interactive object Contact, then obtain the interactive object existing input content in terminal local or social networks.Obtain interactive object or user During existing input content, it is possible to specify obtain the time period of content, such as 1 week, 15 days, 1 month etc., the time period can be by terminal Factory pre-set provides operation interface and allows User Defined.
For example, the specified time period for obtaining input content is 1 week, and user A has with " Wang " in wechat in 7 days 89 relationship records, message registration 33,14 relationship records of short message, then need to obtain all 103 relationship records, relationship record In without " Wang " input content." Wang " for getting input content, as shown in table 1.
" Wang " that table 1 gets input content (part)
Wherein, in table 1 simply list in 7 days " Wang " in wechat, short message with the part chat record of user A.
Then, the comprehensive interactive object of terminal or user are from existing input in terminal local or social networks Hold, as the interactive object or the special corpus of user, then analyze each word in special corpus, word, sentence and go out Existing frequency, it is established that with interactive object or the one-to-one personalization dictionary of user.
For example, the word of the text data in terminal-pair table 1, word, the word frequency of sentence carry out statistical analysis, set up and " king Certain " corresponding personalized dictionary, and be stored in the DBM of terminal, wherein, occur 15 in the data of " wechat " table 1 Secondary, it is inferior that " marketing " occurs 5.
The present embodiment is by when input method software is called, judging whether current input environment is interactive input Environment;If it is determined that current input environment is interactive input environment, then interactive object mark is obtained, and obtain and interactive object mark Know the relationship record in the first preset time period of corresponding interactive object;According to the contact note in the first preset time period Record, judges whether user often contacts with interactive object;If it is determined that user often contacts with interactive object, then obtain first and preset The input content in the second preset time period in relationship record in time period, according in the input in the second preset time period Hold the word frequency for determining each word, to set up and the one-to-one personalization dictionary of interactive object.So as to right for each interaction As setting up personalized dictionary so that the sequence of candidate word is directed to current interactive object, and then improves the input effect high of user Rate and accuracy, lift the personalized level of the Consumer's Experience of input method software, enhancing input method software and terminal.
Fig. 2 is the flow chart of the processing method of the dictionary of the input method that the embodiment of the present invention two is provided, in embodiment one On the basis of, as shown in Fig. 2 in the method for the present embodiment, step 101 is specifically included:
Obtain the use environment information of input method software;
Whether the use environment information according to input method software, judge current input environment in interactive input environment.
In the present embodiment, specifically, when input method software is called, obtaining the use environment of input method software Whether information, the use environment information according to input method software judges current input environment in interactive input environment;Its In, use environment information includes the title of social networks application program, the comment area of browser, the social networks ground of browser Location information etc..
Specifically, when input method software is called, terminal can in time obtain the use environment letter of input method software Breath, the use environment information includes but is not limited to following information:The application name that user is currently in use when input method software is called URL (the Uniform Resource Locator, abbreviation of title, input light target position and browser address bar URL) etc..Then, the use environment information according to input method software, judges whether in interactive input environment, judgement according to According to can be Apply Names, the input light target position etc. of calling input method software.
For example, when input method software is called, the application that user is currently in use belongs to social networking application, such as wechat, QQ, microblogging etc., can go the use environment for judging input method software to belong to interactive input environment;Or user is currently in use and browses Device, input light mark also can according to this judge that the use environment of input method software belongs to interactive input environment when area is commented on;Or Person user is currently in use browser, when the URL of its address field belongs to social networks address, such as Renren Network, happy net, also can be according to This judges that the use environment of input method software belongs to interactive input environment.Otherwise, the use environment of input method software can be sentenced It is set to non-interactive input environment.
For play, if user A uses " wechat " to be chatted with good friend B using terminal, when user wants input content, input Method software is called, and the keyboard interface of input method software is presented;Then terminal obtains the use environment letter of input method software this moment Breath, the application name that user A is currently in use-" wechat ", input cursor position-" dialog box " etc.;It is currently in use according to user A Social networking application title " wechat ", it is possible to determine that input method use environment belongs to interactive input environment this moment.
Step 103, specifically includes:
According to the relationship record in the first preset time period, determine that user's and interactive object in the unit interval contacts frequency Degree;It is determined that whether contact frequency is more than contact frequency threshold;If determining more than if, user often contacts with interactive object, if being less than Infrequently contacted equal to then determination user interactive object.
In the present embodiment, specifically, according to relationship record, contacting for user and interactive object in the unit interval is determined Frequency, it is determined that whether contact frequency is more than contact frequency threshold, if determining more than if, user often contacts with interactive object, if small Infrequently contacted in equal to then determination user interactive object.
Specifically, according to user and the relationship record of interactive object, judge whether user often contacts with interactive object; The foundation of judgement can be that user and interactive object contact frequency, number of times etc. in the unit interval, that is, preset a contact frequency Or frequency threshold value, if user contacts frequency or number of times with contact frequency or the number of times of interactive object more than default in the unit interval Threshold value, then it is assumed that user often contacts with the interactive object, is the acquaintance of user;Otherwise it is assumed that user is with the interactive object not Often contact, is not the acquaintance of user.
For example, in the relationship record of user A and user B that terminal is obtained, with phone 33 times, short message 14 times, micro- Letter 89 times;Then judge whether user A and user B often contacts, preset threshold value C0=80 times;By user A's and user B Interaction times c is compared with threshold value C0, if c>During C0, can determine that user A is often contacted with user B, otherwise can determine that user A Seldom contacted with user B.Because c=136, wherein, 33 times+short message of phone, 14 times+wechat 89 times=136 times, C0=80, c> C0, so as to can determine that user A is often contacted with user B.When user A and user B is often contacted, step 104 should be carried out, otherwise entered Row step 201.
In the method for the present embodiment, also include:
Step 201, if it is determined that user and interactive object are infrequently contacted, then obtain the contact note in the first preset time period The input content in the 3rd preset time period in record, wherein, the 3rd preset time period is less than the second preset time period, and determines All words in the input content gone out in the 3rd preset time period, it is one-to-one with interactive object interim personalized to set up Dictionary.
In the present embodiment, specifically, if it is determined that user infrequently contacts with interactive object, then in obtaining relationship record Input content in 3rd preset time period, the 3rd preset time period is less than the second preset time period, according to the 3rd Preset Time Input content in section, determines all words in the input content in the 3rd preset time period, so as to set up and interact The one-to-one interim personalization dictionary of object.
Specifically, if the use environment of input method belongs to interactive input environment, but user does not have with the interactive object Contacted or contacted and be less, it is determined that it was stranger that user is unfamiliar with the interactive object or the interactive object, now, terminal was obtained The nearest input content in terminal local or social networks of the interactive object.Wherein, content is recently input to refer on the time It is called closest to input method and uses the input content at moment.
Then, content is recently input according to the interactive object, to the candidate of word, word, sentence correspondence coding included in it Putting in order for word is optimized, interim adjustment corresponding encoded candidate word putting in order in standard " dictionary ", will the friendship Mutual object recently inputs first that word included in content, word, sentence are placed on corresponding encoded candidate word.Wherein, according to interaction Object recently inputs putting in order for content adjustment correspondence coding candidate word, is provisional, can't change input method original Content and order in " dictionary ".And then all words in the input content in the 3rd preset time period are determined, so as to build Erect interim personalization dictionary one-to-one with interactive object.
For example, if having determined that, user A is often contacted with user B, not the operation of this step 201.If it is determined that user A Infrequently contacted with user B, be then accomplished by carrying out 201 operations of this step;Now, user A and user B is infrequently contacted, should The nearest input contents in terminal local or social networks of user B are obtained, preferentially in the application of input method or function is called Its nearest input content is obtained, for example, it is " how flexible to get the nearest input contents in wechat of user BWe do A period of time, it is found that percent of pass is too low, and long-time operation, easily having locked several hours by Tengxun's supervision can not grasp Make.”;Then get user B recently input content after, terminal-pair obtain user B recently input content carry out word, The analysis of word, sentence, adjusts these words, word, sentence putting in order in input method standard " dictionary " temporarily, is come corresponding volume Code first place, e.g., the candidate word of the corresponding standard dictionary of coding " biantong " of Microsoft's spelling input method put in order for: " 1 just with 2 flexible 3 other shore, 4 chamber pot 5 prisons 6 just 7 change ", then puts in order through the candidate word after this optimization order and should be:" 1 becomes Logical 2 just with the prison 6 of 3 other shore, 4 chamber pot 5 just 7 change ".
In the method for the present embodiment, also include:
Step 202, if it is determined that current input environment is not interactive input environment, it is determined that interactive object can be obtained ID;If it is determined that the ID of interactive object, then obtain the input in the second preset time period in relationship record Content;According to the input content in the second preset time period, the word frequency of each word is determined, corresponded with interactive object with setting up Personalized dictionary.
In the present embodiment, specifically, if it is determined that when the input environment of input method software is not interactive input environment, then Determine whether to obtain the ID of interactive object, the ID of wherein interactive object include name, user name, the pet name, Telephone number, registration mailbox etc..If it is determined that the ID of interactive object, then obtain the second Preset Time in relationship record Input content in section, according to the input content in the second preset time period, determines the word frequency of each word, so as to set up and hand over The mutual one-to-one personalization dictionary of object.If it is determined that not going out the ID of interactive object, then existing standard is still used Dictionary.
Specifically, if the use environment of input method software is not belonging to the input environment of interactive, can should judge true Determine the ID of interactive object, wherein, ID can be name, user name, the pet name, telephone number, registration mailbox etc. The information of user identity can be distinguished.Then, when ID is determined, can according to User logs in computer when user Name, the user name during social networks that user is currently in use, the addresses of items of mail used by user used by Mail Clients etc..Now, The use environment of input method is not belonging to interactive input environment, and can determine that place's ID, then obtain user from terminal Input content on local or social networks in existing second preset time period;Then, according to defeated in the second preset time period Enter content, determine the word frequency of each word, to set up and the one-to-one personalization dictionary of interactive object.
As an example it is assumed that the software for calling input method is the memorandum of terminal, now input method use environment is judged not Belong to interactive input environment, then terminal detects the client of now mobile phone Taobao just in running background, the user name of login It is " wind and cloud " that the mobile phone of its binding is " 1381176XXXX ", may thereby determine that Taobao's user name " wind and cloud " and binding cell-phone number " 1381176XXXX " is ID;Then, user is obtained existing locally and on social networks according to the ID Input content, the mode for obtaining input content is identical with the mode that input content is obtained in step 104;Then, terminal comprehensively should Interactive object or user from the existing input content in terminal local or social networks, as the interactive object or use The special corpus at family, then analyzes each word, word, the frequency of occurrences of sentence in special corpus, it is established that with interactive object or The one-to-one personalization dictionary of user, sets up the process of personalized dictionary in the process and step 104 of setting up personalized dictionary It is identical.
After step 104, step 201, step 202, also include:
Step 203, the coding for obtaining user input, are encoded to the shape when user carries out text input using input method software Into;According to the dictionary set up, inquire about and the corresponding word of coding, then inquired about in default standard dictionary corresponding with coding Word;Each text importing that will be inquired is out.
In the present embodiment, specifically, when user carries out text input using input method software, user can be got The coding of input, the dictionary that then basis is set up, with the corresponding word of coding in the dictionary that inquiry is set up, then pre- If standard dictionary in inquiry and the corresponding word of coding;Then each text importing that will just inquire is out.
Specifically, when user carries out text input using input method software, the coding of user input is obtained, if it is determined that The input environment of input method software is that interactive input environment and determination user often contact with interactive object, or, if it is determined that When the input environment of input method software is not interactive input environment and determine the ID of interactive object, then according to Property dictionary, inquiry with the corresponding word of coding, then in the standard dictionary of input method inquire about and the corresponding word of coding, general Each text importing is out.If it is determined that the input environment of input method software be interactive input environment and determine user with interact it is right As infrequently contacting, then according to interim personalization dictionary, inquiry and the corresponding word of coding, then in the standard dictionary of input method Middle inquiry and the corresponding word of coding, by each text importing out.If it is determined that the input environment of input method software is not interactive During input environment and can not determine the ID of interactive object, then inquire about corresponding with coding in the standard dictionary of input method Word, by each text importing out.In display, should be preferably displaying in personalized dictionary with the corresponding candidate word of coding, Then, display standard dictionary in the corresponding word of coding.
For example, when user A chats in wechat with user B, Microsoft's spelling input method input coding is used: " weinxin ", its in the standard dictionary of input method corresponding text put in order for:" the prestige 3-dimensional new 4 contrary to one's convictions 5 of 1 taste is pungent 2 Idealistic 6 taste 7 is ";Then when user A is input into above-mentioned coding, terminal should first inquire about the personalized dictionary of user B " Wang ", its Corresponding word is " wechat ", then the standard dictionary for inquiring about Microsoft's spelling input method;Then when word is shown, preferential display The word of " Wang " personalization dictionary, and then show " 56 idealistic 7 tastes contrary to one's convictions of the reform of 1 wechat, 2 taste is pungent, 3 prestige 4 ".
The present embodiment is by when input method software is called, judging whether current input environment is interactive input Environment;If it is determined that current input environment is interactive input environment, then interactive object mark is obtained, and obtain and interactive object mark Know the relationship record in the first preset time period of corresponding interactive object;According to the contact note in the first preset time period Record, judges whether user often contacts with interactive object;If it is determined that user often contacts with interactive object, then obtain first and preset The input content in the second preset time period in relationship record in time period, according in the input in the second preset time period Hold the word frequency for determining each word, to set up and the one-to-one personalization dictionary of interactive object;If it is determined that user and interactive object Infrequently contact, then obtain the input content in the 3rd preset time period in the relationship record in the first preset time period, its In, the 3rd preset time period is less than the second preset time period, and determines the institute in the input content in the 3rd preset time period There is word, to set up interim personalization dictionary one-to-one with interactive object;If it is determined that current input environment is not interactive Input environment, it is determined that the ID of interactive object can be obtained;If it is determined that the ID of interactive object, then obtain connection The input content in the second preset time period in system's record;According to the input content in the second preset time period, each word is determined The word frequency of language, to set up and the one-to-one personalization dictionary of interactive object.It is individual so as to be set up for each interactive object Property dictionary so that the sequence of candidate word is directed to current interactive object, and then improves the input efficiency high of user and accurate Property, lift the personalized level of the Consumer's Experience of input method software, enhancing input method software and terminal.
Fig. 3 is the structural representation of the processing unit of the dictionary of the input method that the embodiment of the present invention three is provided, such as Fig. 3 institutes Show, the device of the present embodiment, including:
First judge module 31, for when input method software is called, judging whether current input environment is to hand over Mutual type input environment;
First acquisition module 32, for if it is determined that current input environment is interactive input environment, then obtaining interactive object Mark, and obtain the relationship record in the first preset time period with the interactive object corresponding interactive object of mark;
Second judge module 33, for according to the relationship record in the first preset time period, judging user and interactive object Whether often contact;
First sets up module 34, for if it is determined that user often contacts with interactive object, then obtaining the first preset time period The input content in the second preset time period in interior relationship record, determines according to the input content in the second preset time period The word frequency of each word, to set up and the one-to-one personalization dictionary of interactive object.
The word of the input method that the executable embodiment of the present invention one of the processing unit of the dictionary of the input method of the present embodiment is provided The processing method in storehouse, its realization principle is similar, and here is omitted.
The present embodiment is by when input method software is called, judging whether current input environment is interactive input Environment;If it is determined that current input environment is interactive input environment, then interactive object mark is obtained, and obtain and interactive object mark Know the relationship record in the first preset time period of corresponding interactive object;According to the contact note in the first preset time period Record, judges whether user often contacts with interactive object;If it is determined that user often contacts with interactive object, then obtain first and preset The input content in the second preset time period in relationship record in time period, according in the input in the second preset time period Hold the word frequency for determining each word, to set up and the one-to-one personalization dictionary of interactive object.So as to right for each interaction As setting up personalized dictionary so that the sequence of candidate word is directed to current interactive object, and then improves the input effect high of user Rate and accuracy, lift the personalized level of the Consumer's Experience of input method software, enhancing input method software and terminal.
Fig. 4 is the structural representation of the processing unit of the dictionary of the input method that the embodiment of the present invention four is provided, in embodiment On the basis of three, as shown in figure 4, the device of the present embodiment, also includes:
Second sets up module 41, for if it is determined that user infrequently contacts with interactive object, then obtaining the first Preset Time The input content in the 3rd preset time period in relationship record in section, wherein, the 3rd preset time period is preset less than second Time period, and determine all words in the input content in the 3rd preset time period, to set up and a pair of interactive object 1 The interim personalized dictionary answered.
First judge module 31, specifically for:
Obtain the use environment information of input method software;
Whether the use environment information according to input method software, judge current input environment in interactive input environment.
Second judge module 33, specifically for:
According to the relationship record in the first preset time period, determine that user's and interactive object in the unit interval contacts frequency Degree;
It is determined that whether contact frequency is more than contact frequency threshold;
If more than if determine user often contacted with interactive object, if less than or equal to if determination user's interactive object without Often contact.
The device of the present embodiment, also includes:
Can the 3rd sets up module 42, for if it is determined that current input environment is not interactive input environment, it is determined that obtain Take the ID of interactive object;If it is determined that the ID of interactive object, then when second in acquisition relationship record is default Between input content in section;According to the input content in the second preset time period, the word frequency of each word is determined, to set up and interact The one-to-one personalization dictionary of object.
The device of the present embodiment, also includes:
Display module 43, for setting up module 34 first, second setting up module the 41, the 3rd and set up after module 42, obtains The coding of user input is taken, the formation when user carries out text input using input method software is encoded to;According to the word set up Storehouse, inquiry and the corresponding word of coding, then inquiry and the corresponding word of coding in default standard dictionary;It is each by what is inquired Text importing is out.
The word of the input method that the executable embodiment of the present invention one of the processing unit of the dictionary of the input method of the present embodiment is provided The processing method in storehouse, its realization principle is similar, and here is omitted.
The present embodiment is by when input method software is called, judging whether current input environment is interactive input Environment;If it is determined that current input environment is interactive input environment, then interactive object mark is obtained, and obtain and interactive object mark Know the relationship record in the first preset time period of corresponding interactive object;According to the contact note in the first preset time period Record, judges whether user often contacts with interactive object;If it is determined that user often contacts with interactive object, then obtain first and preset The input content in the second preset time period in relationship record in time period, according to the input in the second preset time period Content determines the word frequency of each word, to set up and the one-to-one personalization dictionary of interactive object;If it is determined that user with interact it is right As infrequently contacting, then the input content in the 3rd preset time period in the relationship record in the first preset time period is obtained, Wherein, the 3rd preset time period is less than the second preset time period, and determines the input content in the 3rd preset time period All words, to set up interim personalization dictionary one-to-one with interactive object;If it is determined that current input environment is not interactive Type input environment, it is determined that the ID of interactive object can be obtained;If it is determined that the ID of interactive object, then obtain The input content in the second preset time period in relationship record;According to the input content in the second preset time period, it is determined that respectively The word frequency of word, to set up and the one-to-one personalization dictionary of interactive object.So as to be set up for each interactive object Personalized dictionary so that the sequence of candidate word is directed to current interactive object, and then improve the input efficiency high of user and accurate Property, lift the personalized level of the Consumer's Experience of input method software, enhancing input method software and terminal.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, performs the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used Modified with to the technical scheme described in foregoing embodiments, or equivalent is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (12)

1. a kind of processing method of the dictionary of input method, it is characterised in that including:
When input method software is called, judge whether current input environment is interactive input environment;
If it is determined that current input environment is interactive input environment, then interactive object mark is obtained, and obtain and interactive object mark Know the relationship record in the first preset time period of corresponding interactive object;
According to the relationship record in the first preset time period, judge whether user often contacts with interactive object;
If it is determined that user often contacts with interactive object, then second obtained in the relationship record in the first preset time period is preset Input content in time period, the word frequency of each word is determined according to the input content in the second preset time period, to set up and hand over The mutual one-to-one personalization dictionary of object.
2. method according to claim 1, it is characterised in that also include:
If it is determined that user infrequently contacts with interactive object, then obtain the 3rd pre- in the relationship record in the first preset time period If the input content in the time period, wherein, the 3rd preset time period is less than the second preset time period, and determine the 3rd it is default when Between all words in input content in section, to set up interim personalization dictionary one-to-one with interactive object.
3. method according to claim 1, it is characterised in that also include:
If it is determined that current input environment is not interactive input environment, it is determined that the ID of interactive object can be obtained;
If it is determined that the ID of interactive object, then obtain the input content in the second preset time period in relationship record; According to the input content in the second preset time period, the word frequency of each word is determined, it is individual correspondingly with interactive object to set up Property dictionary.
4. the method according to claim any one of 1-3, it is characterised in that corresponded in the foundation and interactive object Personalized dictionary, or after foundation personalization dictionary one-to-one interim with interactive object, also include:
The coding of user input is obtained, it is described to be encoded to the formation when user carries out text input using input method software;
According to the dictionary set up, inquire about and the corresponding word of the coding, then inquired about and the volume in default standard dictionary The corresponding word of code;
Each text importing that will be inquired is out.
5. the method according to claim any one of 1-3, it is characterised in that described to judge whether current input environment is to hand over Mutual type input environment, including:
Obtain the use environment information of input method software;
Whether the use environment information according to input method software, judge current input environment in interactive input environment.
6. the method according to claim any one of 1-3, it is characterised in that the connection according in the first preset time period System's record, judges whether user often contacts with interactive object, including:
According to the relationship record in the first preset time period, determine that user's and interactive object in the unit interval contacts frequency;
It is determined that whether contact frequency is more than contact frequency threshold;
If determining more than if, user often contacts with interactive object, infrequently joins if determination user interactive object less than or equal to if System.
7. a kind of processing unit of the dictionary of input method, it is characterised in that including:
First judge module, for when input method software is called, judging whether current input environment is defeated interactive Enter environment;
First acquisition module, for if it is determined that current input environment is interactive input environment, then obtaining interactive object mark, and Obtain the relationship record in the first preset time period with the interactive object corresponding interactive object of mark;
Second judge module, for according to the relationship record in the first preset time period, judging whether user passes through with interactive object Often contact;
First sets up module, for if it is determined that user often contacts with interactive object, then obtaining the connection in the first preset time period The input content in the second preset time period in system's record, each word is determined according to the input content in the second preset time period Word frequency, to set up personalization dictionary one-to-one with interactive object.
8. device according to claim 7, it is characterised in that also include:
Second sets up module, for if it is determined that user infrequently contacts with interactive object, then obtaining in the first preset time period The input content in the 3rd preset time period in relationship record, wherein, the 3rd preset time period is less than the second preset time period, And all words in the input content in the 3rd preset time period are determined, it is interim correspondingly with interactive object to set up Personalized dictionary.
9. device according to claim 7, it is characterised in that also include:
Can the 3rd sets up module, for if it is determined that current input environment is not interactive input environment, it is determined that obtain interaction The ID of object;If it is determined that the ID of interactive object, then obtain in the second preset time period in relationship record Input content;According to the input content in the second preset time period, the word frequency of each word is determined, to set up and interactive object one One corresponding personalized dictionary.
10. the device according to claim any one of 7-9, it is characterised in that also include:
Display module, for setting up module described first, described second setting up module, the described 3rd set up after module, obtains The coding of user input is taken, it is described to be encoded to the formation when user carries out text input using input method software;According to foundation Dictionary, inquiry and the corresponding word of the coding then are inquired about and the corresponding word of the coding in default standard dictionary; Each text importing that will be inquired is out.
11. device according to claim any one of 7-9, it is characterised in that first judge module, specifically for:
Obtain the use environment information of input method software;
Whether the use environment information according to input method software, judge current input environment in interactive input environment.
12. device according to claim any one of 7-9, it is characterised in that second judge module, specifically for:
According to the relationship record in the first preset time period, determine that user's and interactive object in the unit interval contacts frequency;
It is determined that whether contact frequency is more than contact frequency threshold;
If determining more than if, user often contacts with interactive object, infrequently joins if determination user interactive object less than or equal to if System.
CN201710081485.5A 2017-02-15 2017-02-15 The treating method and apparatus of the dictionary of input method Pending CN106886296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710081485.5A CN106886296A (en) 2017-02-15 2017-02-15 The treating method and apparatus of the dictionary of input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710081485.5A CN106886296A (en) 2017-02-15 2017-02-15 The treating method and apparatus of the dictionary of input method

Publications (1)

Publication Number Publication Date
CN106886296A true CN106886296A (en) 2017-06-23

Family

ID=59179829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710081485.5A Pending CN106886296A (en) 2017-02-15 2017-02-15 The treating method and apparatus of the dictionary of input method

Country Status (1)

Country Link
CN (1) CN106886296A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729420A (en) * 2017-09-27 2018-02-23 维沃移动通信有限公司 A kind of update method and mobile terminal of input method dictionary
CN109491715A (en) * 2018-11-06 2019-03-19 深圳市风云实业有限公司 Application management method, device and terminal based on Windows NT
CN109543177A (en) * 2018-10-19 2019-03-29 中国平安人寿保险股份有限公司 Message data processing method, device, computer equipment and storage medium
CN111124149A (en) * 2019-11-28 2020-05-08 维沃移动通信有限公司 Input method and electronic equipment
CN111427459A (en) * 2019-01-08 2020-07-17 北京搜狗科技发展有限公司 Method and related device for input optimization during user communication
CN113504836A (en) * 2021-09-06 2021-10-15 北京翰凌科技有限公司 Information input method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697098A (en) * 2009-09-29 2010-04-21 深圳华为通信技术有限公司 Method and terminal for inputting character
CN102508554A (en) * 2011-10-02 2012-06-20 上海量明科技发展有限公司 Input method with communication association, personal repertoire and system
CN103324627A (en) * 2012-03-21 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Terminal and input processing method
CN103488796A (en) * 2013-10-12 2014-01-01 惠州Tcl移动通信有限公司 Inputting method based on context and mobile terminal
CN105282318A (en) * 2015-05-21 2016-01-27 维沃移动通信有限公司 Input method switch method and mobile terminal thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697098A (en) * 2009-09-29 2010-04-21 深圳华为通信技术有限公司 Method and terminal for inputting character
CN102508554A (en) * 2011-10-02 2012-06-20 上海量明科技发展有限公司 Input method with communication association, personal repertoire and system
CN103324627A (en) * 2012-03-21 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Terminal and input processing method
CN103488796A (en) * 2013-10-12 2014-01-01 惠州Tcl移动通信有限公司 Inputting method based on context and mobile terminal
CN105282318A (en) * 2015-05-21 2016-01-27 维沃移动通信有限公司 Input method switch method and mobile terminal thereof

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729420A (en) * 2017-09-27 2018-02-23 维沃移动通信有限公司 A kind of update method and mobile terminal of input method dictionary
CN109543177A (en) * 2018-10-19 2019-03-29 中国平安人寿保险股份有限公司 Message data processing method, device, computer equipment and storage medium
CN109543177B (en) * 2018-10-19 2022-04-12 中国平安人寿保险股份有限公司 Message data processing method and device, computer equipment and storage medium
CN109491715A (en) * 2018-11-06 2019-03-19 深圳市风云实业有限公司 Application management method, device and terminal based on Windows NT
CN109491715B (en) * 2018-11-06 2021-10-22 深圳市风云实业有限公司 Application management method, device and terminal based on Windows NT
CN111427459A (en) * 2019-01-08 2020-07-17 北京搜狗科技发展有限公司 Method and related device for input optimization during user communication
CN111427459B (en) * 2019-01-08 2024-04-02 北京搜狗科技发展有限公司 Method and related device for optimizing input during user communication
CN111124149A (en) * 2019-11-28 2020-05-08 维沃移动通信有限公司 Input method and electronic equipment
CN113504836A (en) * 2021-09-06 2021-10-15 北京翰凌科技有限公司 Information input method and electronic equipment

Similar Documents

Publication Publication Date Title
CN106886296A (en) The treating method and apparatus of the dictionary of input method
US10931611B2 (en) Message propriety determination and alert presentation on a computing device
CN102385615B (en) Information collection and presentation
US9898743B2 (en) Systems and methods for automatic generation of a relationship management system
US20160226811A1 (en) System and method for priority email management
US20170344224A1 (en) Suggesting emojis to users for insertion into text-based messages
US8238528B2 (en) Automatic analysis of voice mail content
US10928996B2 (en) Systems, devices and methods for electronic determination and communication of location information
US10127300B2 (en) Mapping relationships using electronic communications data
KR20150100760A (en) Aggregating interactions for content items
CN104679405B (en) A kind of terminal
EP2502151A2 (en) Methods and systems for managing electronic messages
US10394966B2 (en) Systems and methods for multi-protocol, multi-format universal searching
CN111565143B (en) Instant messaging method, equipment and computer readable storage medium
CN103425649A (en) Method and device for adding friend information
EP3667586A1 (en) Electronic communication system with drafting assistant and method of using same
CN106649410B (en) Method and device for obtaining chat reply content
CN107873130A (en) Automatic background information retrieval and profile renewal
CN110209810A (en) Similar Text recognition methods and device
CN103179245A (en) System, method and program product for identifying calling telephone numbers
US20190205382A1 (en) Analyzing language units for personality
CN103514530A (en) Method, device and system for inputting enterprise contact persons in a batch manner
CN110011898A (en) Answering method, device, storage medium and the computer equipment of Email
CN115687754B (en) Active network information mining method based on intelligent dialogue
CN109167883B (en) Intelligent shielding method and system based on social content and intelligent terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170623

RJ01 Rejection of invention patent application after publication