CN107765979A - Display method and device of predicted words and electronic equipment - Google Patents

Display method and device of predicted words and electronic equipment Download PDF

Info

Publication number
CN107765979A
CN107765979A CN201710889025.5A CN201710889025A CN107765979A CN 107765979 A CN107765979 A CN 107765979A CN 201710889025 A CN201710889025 A CN 201710889025A CN 107765979 A CN107765979 A CN 107765979A
Authority
CN
China
Prior art keywords
word
read statement
history read
prediction
current
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
CN201710889025.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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201710889025.5A priority Critical patent/CN107765979A/en
Publication of CN107765979A publication Critical patent/CN107765979A/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques

Abstract

The embodiment of the invention provides a display method and device of a predicted word and electronic equipment, wherein the method comprises the following steps: acquiring a current word; when a word prediction instruction is received, acquiring a pre-stored historical input sentence; determining a predicted word based on a pre-stored historical input sentence and a current word; and displaying the determined predicted word based on the position of the first letter of the determined predicted word in the preset virtual keyboard. By applying the embodiment of the invention, the user can input the information to be input quickly and conveniently, and the user experience is improved.

Description

A kind of methods of exhibiting, device and electronic equipment for predicting word
Technical field
The present invention relates to input method administrative skill field, more particularly to a kind of methods of exhibiting, device and electricity for predicting word Sub- equipment.
Background technology
Be provided with word forecast function in existing intelligent input method application program, i.e., the word currently inputted based on user, That is current word, the function of user's next word to be inputted is predicted, word that can be predicted is referred to as prediction word.Work as intelligent input After method application program predicts prediction word, prediction word is showed into user, inputted for selection by the user.
The mode of existing intelligent input method application rollouts prediction word, generally:Pre- corresponding to intelligent input method If the top layer of dummy keyboard region, the prediction word display area of position fixation is provided with, word is predicted for showing, such as schemes Shown in 1, wherein, the number for the prediction word that prediction word show area is shown, can be 3~5.User is in input information During, if it is desired to the prediction word in prediction word display area is clicked, it is necessary to which the input equipments such as finger or felt pen are moved To the prediction word display area of the top layer of default dummy keyboard region, then carry out click and choose operation.Now, existing intelligence User can be clicked on the prediction word that choose and is added in default input frame by energy input method application program, realize the input of information. The mode of existing intelligent input method application rollouts prediction word, is not easy to user and is efficiently and easily inputted, user's body Test not high.
User's information efficiently and easily to be inputted so how is set to turn into urgent problem to be solved.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of methods of exhibiting, device and electronic equipment for predicting word, to realize The information that user can efficiently and easily be inputted, improve Consumer's Experience.Concrete technical scheme is as follows:
On the one hand, the embodiments of the invention provide a kind of methods of exhibiting for predicting word, methods described to include:
Obtain current word;
When receiving word prediction instruction, the history read statement to prestore is obtained;
Based on the history read statement to prestore and the current word, it is determined that prediction word;
Based on position of the initial of identified prediction word in default dummy keyboard, identified prediction word is shown.
Alternatively, it is described based on the history read statement to prestore and the current word, it is determined that the step of prediction word, bag Include:
From the history read statement to prestore, it is determined that the history read statement comprising the current word, as first History read statement;
From the first history read statement, determine present position after the current word and with it is described current The nearest word of word, as prediction word.
Alternatively, the step of acquisition current word, including:
The word that user currently inputs in default input frame is obtained, as current word;
Described from the first history read statement, determine present position after the current word and with institute The nearest word of current word is stated, before the step of prediction word, methods described also includes:
Judge in the default input frame, other words inputted before the current word with the presence or absence of the user;
When other words that the user is inputted being not present when judging in the default input frame, before the current word, Perform it is described from the first history read statement, determine present position after the current word and with it is described current The nearest word of word, as prediction word the step of.
Alternatively, methods described also includes:
When judging in the default input frame, when other words that the user is inputted be present before the current word, really Determine in the default input frame, other words that the existing user is inputted before the current word, as reference word;
From the history read statement to prestore, it is determined that the history read statement comprising the reference word, as second History read statement;
From the first history read statement, it is determined that with the history read statement phase in the second history read statement Same history read statement, as the 3rd history read statement;
From the 3rd history read statement, determine present position after the current word and with it is described current The nearest word of word, as prediction word.
Alternatively, methods described also includes:
When judging in the default input frame, when other words that the user is inputted be present before the current word, really Determine in the default input frame, other words that the existing user is inputted before the current word, as reference word;
From the first history read statement, it is determined that the history read statement comprising the reference word, goes through as the 4th History read statement;
From the 4th history read statement, determine present position after the current word and with it is described current The nearest word of word, as prediction word.
Alternatively, each history read statement is in the history read statement to prestore:Corresponding input number surpasses Cross the sentence of predetermined input number, the corresponding input number of each history read statement;
It is described from the history read statement to prestore, it is determined that the history read statement comprising the current word, as The step of first history read statement, including:
From the history read statement to prestore, it is determined that comprising the current word and corresponding input number it is maximum Or the history read statement more than preset times threshold value, as the first history read statement.
Alternatively, the position based on the initial of identified prediction word in default dummy keyboard, displaying institute is really The step of fixed prediction word, including:
Based on position of the initial of identified prediction word in default dummy keyboard, it is determined that display area is preset, its In, the default display area position includes:The surface of position of the initial of prediction word in default dummy keyboard, Underface, left side or right side, the default display area position is with the initial for predicting word in default dummy keyboard In the distance between position be no more than pre-determined distance threshold value;
In identified default display area, identified prediction word is shown.
Alternatively, in the position based on the initial of identified prediction word in default dummy keyboard, institute is shown After the step of prediction word of determination, methods described also includes:
After the predetermined registration operation for the prediction word is obtained, the prediction word is added in default input frame, wherein, The predetermined registration operation includes:The duration for touching the initial position of prediction word exceedes the operation of preset duration, or from prediction The initial position of word starts the operation slided along preset direction.
On the other hand, the embodiments of the invention provide a kind of exhibiting device for predicting word, described device to include:
First acquisition module, for obtaining current word;
Second acquisition module, for when receiving word prediction instruction, obtaining the history read statement to prestore;
First determining module, for based on the history read statement to prestore and the current word, it is determined that prediction word;
Display module, for position of the initial based on identified prediction word in default dummy keyboard, show institute The prediction word of determination.
Alternatively, first determining module includes the first determining unit and the second determining unit;
First determining unit, for from the history read statement to prestore, it is determined that including the current word History read statement, as the first history read statement;
Second determining unit, for from the first history read statement, determining present position described current Word after word and nearest with the current word, as prediction word.
Alternatively, first acquisition module, is specifically used for
The word that user currently inputs in default input frame is obtained, as current word;
First determining module also includes judging unit;
The judging unit, for from the first history read statement, determining that present position is worked as described described Word after preceding word and nearest with the current word, before prediction word, judge in the default input frame, it is described to work as Other words inputted before preceding word with the presence or absence of the user;
When other words that the user is inputted being not present when judging in the default input frame, before the current word, Trigger second determining unit.
Alternatively, first determining module also include the 3rd determining unit, the 4th determining unit, the 5th determining unit and 6th determining unit;
3rd determining unit, judge in the default input frame use be present before the current word for working as During other words that family is inputted, determine in the default input frame, the existing user is inputted before the current word Other words, as reference word;
4th determining unit, for from the history read statement to prestore, it is determined that including the reference word History read statement, as the second history read statement;
5th determining unit, for from the first history read statement, it is determined that being inputted with second history History read statement identical history read statement in sentence, as the 3rd history read statement;
6th determining unit, for from the 3rd history read statement, determining present position described current Word after word and nearest with the current word, as prediction word.
Alternatively, first determining module also includes the 7th determining unit, the 8th determining unit and the 9th determining unit;
7th determining unit, judge in the default input frame use be present before the current word for working as During other words that family is inputted, determine in the default input frame, the existing user is inputted before the current word Other words, as reference word;
8th determining unit, for from the first history read statement, it is determined that going through comprising the reference word History read statement, as the 4th history read statement;
9th determining unit, for from the 4th history read statement, determining present position described current Word after word and nearest with the current word, as prediction word.
Alternatively, each history read statement is in the history read statement to prestore:Corresponding input number surpasses Cross the sentence of predetermined input number, the corresponding input number of each history read statement;
First determining module, is specifically used for
From the history read statement to prestore, it is determined that comprising the current word and corresponding input number it is maximum Or the history read statement more than preset times threshold value, as the first history read statement.
Alternatively, the display module, is specifically used for
Based on position of the initial of identified prediction word in default dummy keyboard, it is determined that display area is preset, its In, the default display area position includes:The surface of position of the initial of prediction word in default dummy keyboard, Underface, left side or right side, the default display area position is with the initial for predicting word in default dummy keyboard In the distance between position be no more than pre-determined distance threshold value;
In identified default display area, identified prediction word is shown.
Alternatively, described device also includes add module;
The add module, in the position based on the initial of identified prediction word in default dummy keyboard Put, after showing identified prediction word, after the predetermined registration operation for the prediction word is obtained, predict that word is added to by described In default input frame, wherein, the predetermined registration operation includes:When touching the duration of the initial position of prediction word more than presetting Long operation, or the operation slided since the initial position of prediction word along preset direction.
On the other hand, the embodiments of the invention provide a kind of electronic equipment, including processor, communication interface, memory and Communication bus, wherein, processor, communication interface, memory completes mutual communication by communication bus;
Memory, for depositing computer program;
Processor, during for performing the computer program deposited on memory, realize what the embodiment of the present invention was provided The methods of exhibiting step of any described prediction word.
On the other hand, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage Dielectric memory contains computer program, and the computer program realizes times that the embodiment of the present invention is provided when being executed by processor The methods of exhibiting step of prediction word described in one.
In the embodiment of the present invention, current word is obtained;When receiving word prediction instruction, the history input language to prestore is obtained Sentence;Based on the history read statement to prestore and current word, it is determined that prediction word;Based on the initial of identified prediction word default Position in dummy keyboard, show identified prediction word.
In the embodiment of the present invention, based on position of the initial of identified prediction word in default dummy keyboard, displaying Identified prediction word, when user selects to input shown prediction word, user may not necessarily be defeated by finger or felt pen etc. Enter equipment, be moved to the prediction word display area of the top layer of default dummy keyboard region, then carry out click and choose operation, can Operation is chosen directly to carry out click in default dummy keyboard region., can inertia when user needs input word The word that the input equipments such as finger or felt pen are moved to the required input initial at, now, based on identified pre- Position of the initial of word in default dummy keyboard is surveyed, shows identified prediction word, can be selected more convenient for user should Predict word so that the information that user can efficiently and easily be inputted, improve Consumer's Experience.Certainly, the present invention is implemented Any product or method must be not necessarily required to reach all the above advantage simultaneously.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic diagram of displaying prediction word in the prior art;
Fig. 2 is a kind of schematic flow sheet of methods of exhibiting for predicting word provided in an embodiment of the present invention;
Fig. 3 is a kind of another schematic flow sheet of methods of exhibiting for predicting word provided in an embodiment of the present invention;
Fig. 4 is a kind of another schematic flow sheet of methods of exhibiting for predicting word provided in an embodiment of the present invention;
Fig. 5 is a kind of another schematic flow sheet of methods of exhibiting for predicting word provided in an embodiment of the present invention;
Fig. 6 is a kind of another schematic flow sheet of methods of exhibiting for predicting word provided in an embodiment of the present invention;
The schematic diagram of word is predicted in a kind of displaying that Fig. 7 A are provided by the embodiment of the present invention
Another schematic diagram of word is predicted in a kind of displaying that Fig. 7 B are provided by the embodiment of the present invention;
A kind of structural representation of the exhibiting device for prediction word that Fig. 8 is provided by the embodiment of the present invention;
A kind of structural representation for the first determining module that Fig. 9 is provided by the embodiment of the present invention;
Another structural representation for the first determining module that Figure 10 is provided by the embodiment of the present invention;
Another structural representation for the first determining module that Figure 11 is provided by the embodiment of the present invention;
A kind of another structural representation of the exhibiting device for prediction word that Figure 12 is provided by the embodiment of the present invention;
The structural representation for a kind of electronic equipment that Figure 13 is provided by the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are every other acquired under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The purpose of the embodiment of the present invention is to provide a kind of methods of exhibiting, device and electronic equipment for predicting word, to realize The information that user can efficiently and easily be inputted, improve Consumer's Experience.
As shown in Fig. 2 the embodiments of the invention provide a kind of methods of exhibiting for predicting word, step can be included:
S201:Obtain current word;
It is understood that the methods of exhibiting for the prediction word that the embodiment of the present invention is provided, can apply to any have In the electronic equipment of touch-screen, the electronic equipment can be tablet personal computer and smart mobile phone, etc..It is every that there is information input The electronic equipment with touch-screen of function, the methods of exhibiting for predicting word that the embodiment of the present invention can be applied to be provided.
Wherein, the functional software of the methods of exhibiting for the prediction word that the embodiment of the present invention is provided is realized, can be special Client software, such as:Input method client software or any client that can be communicated or carry out information search Plug-in unit of software, etc. is held, this is all rational.
Above-mentioned current word can be the word currently inputted during user this input operation.Above-mentioned current word can be User currently presets the word or use of the operation input of dummy keyboard in the touch-screen by clicking on, sliding electronic equipment Word that family is currently inputted by the operation such as replicating, pasting etc., this is all possible.Above-mentioned current word can be English word, Such as " what ";Can also be Chinese character, such as " my god ";Word that can also be in any language, the embodiment of the present invention is not to current The type of word is defined.In one implementation, a default input frame is preset with the touch-screen of electronic equipment, it is above-mentioned to work as Preceding word can be the word currently inputted in above-mentioned default input frame during user this input operation.
S202:When receiving word prediction instruction, the history read statement to prestore is obtained;
Electronic equipment obtain current word after, receive word prediction instruction when, electronic equipment can continue obtain prestore go through History read statement, to carry out the displaying flow of follow-up prediction word.
Wherein, upper predicate prediction instruction can be that user triggers manually or electronic equipment obtain current word it Trigger automatically afterwards, this is all possible.In one implementation, user can by click or double-click or long-press it is default by The mode of key, manual trigger word prediction instruction, wherein, above-mentioned programmable button can be space button etc.;Above-mentioned programmable button can To be real key or virtual key.For example, user inputs in the electronic device in this input operation One word, such as " how ", and space button to be clicked, predicted and instructed with trigger word, electronic equipment obtains above-mentioned word " how ", and When receiving predicate prediction instruction, that is, obtain the above-mentioned history read statement to prestore.
It is understood that the above-mentioned history read statement that prestores can be:History inputted user in the electronic device Sentence.Wherein, above-mentioned " user's sentence that history inputted in the electronic device ", can be relative to user this input behaviour During work in the electronic device for wanted input content.
In oneainstance, the above-mentioned history read statement to prestore can be stored in electronic equipment local, work as electronic equipment When receiving word prediction instruction, electronic equipment directly can obtain the above-mentioned history read statement to prestore from local so that electronics Equipment obtains the speed of the above-mentioned history read statement to prestore faster, and is not limited by network.In another scenario, in order to save The local memory space of electronic equipment is saved, the above-mentioned history read statement to prestore is stored in what is be connected with electronic equipment In storage device, when electronic equipment receives word prediction instruction, electronic equipment can be obtained by network from storage device The history read statement to prestore, to carry out the displaying flow of follow-up prediction word.
S203:Based on the history read statement to prestore and current word, it is determined that prediction word;
In this step, electronic equipment can be matched current word one by one with the history to prestore read statement, work as matching Success, i.e., when the history read statement comprising above-mentioned current word in the history read statement to prestore be present, determine that this is included The history read statement to prestore of above-mentioned current word, and from the identified history read statement to prestore for including above-mentioned current word In, determine to predict word, and then carry out the displaying flow of follow-up prediction word.When it fails to match, that is, the history to prestore is defeated When entering the history read statement comprising above-mentioned current word is not present in sentence, it can terminate to predict the displaying flow of word.
S204:It is pre- determined by displaying based on position of the initial of identified prediction word in default dummy keyboard Survey word.
Electronic equipment is determined after predicting word, when word is predicted in displaying, can determine to predict the initial of word first, its In, when above-mentioned prediction word is English word, the initial of above-mentioned prediction word can be the first letter of the English word, above-mentioned When prediction word is Chinese character, the initial of above-mentioned prediction word can be the first letter of the phonetic of the Chinese character.
After electronic equipment determines the initial of prediction word, it can continue to determine touch of the above-mentioned initial in electronic equipment The position in dummy keyboard is preset in screen, based on position of the initial of identified prediction word in default dummy keyboard, exhibition Prediction word determined by showing.In the embodiment of the present invention, above-mentioned prediction word can be shown in default dummy keyboard region, when When user selects to input above-mentioned prediction word, user can be shortened by the displacement of the input equipments such as finger or felt pen, can be with Allow the information that user efficiently and easily to be inputted.
When user needs input word, the input equipments such as finger or felt pen are moved to the required input by meeting inertia At the initial of word, Consumer's Experience in order to better improve of the embodiment of the present invention, the prediction word that will can be determined, it is showed in Predicting the initial of word, near the position in default dummy keyboard position, that is, predicts the display location and the head of prediction word of word Distance between position of the letter in default dummy keyboard is no more than a predetermined threshold value.
Using the embodiment of the present invention, based on position of the initial of identified prediction word in default dummy keyboard, exhibition Prediction word determined by showing, when user selects to input shown prediction word, user may not necessarily be by finger or felt pen etc. Input equipment, is moved to the prediction word display area of the top layer of default dummy keyboard region, then carries out click and choose operation, Directly click can be carried out in default dummy keyboard region choose operation.When user needs input word, can be used to At the initial of the word that the input equipments such as finger or felt pen are moved to the required input of property, now, based on identified Position of the initial of word in default dummy keyboard is predicted, identified prediction word is shown, can be selected more convenient for user The prediction word so that the information that user can efficiently and easily be inputted.Improve Consumer's Experience.
In one implementation, as shown in figure 3, methods described can include step:
S301:Obtain current word;
S302:When receiving word prediction instruction, the history read statement to prestore is obtained;
Above-mentioned S301 is identical with the S201 shown in Fig. 2, and above-mentioned S302 is identical with the S202 shown in Fig. 2.
S303:From the history read statement to prestore, it is determined that the history read statement comprising current word, as the first history Read statement;
S304:From the first history read statement, determine present position after current word and it is nearest with current word Word, as prediction word;
S305:It is pre- determined by displaying based on position of the initial of identified prediction word in default dummy keyboard Survey word.
Above-mentioned S305 is identical with the S204 shown in Fig. 2.
Electronic equipment is from the history read statement to prestore, can be with after determining the history read statement comprising current word Using the above-mentioned history read statement comprising current word as the first history read statement, wherein, above-mentioned first history read statement It can be one or more.Follow-up, can be by present position in every one first history read statement current in a kind of situation Word after word and nearest with current word, as prediction word.For example, when the current word that electronic equipment obtains is " good ", the first history read statement that electronic equipment is determined are " good day " and " good morning " and " what A good day ", can be by " " day " in good day " is used as prediction word, by " " morning " in good morning " As prediction word, by " " day " in what a good day " is as prediction word.Follow-up, electronic equipment can be based on Position of the initial " d " of " day " in default dummy keyboard, shows " day ", and the initial " m " based on " morning " exists Position in default dummy keyboard, shows " morning ".
, can also be all after current word by present position in every one first history read statement in another situation Word, as prediction word.When showing above-mentioned prediction word, can the initial based on the first word in above-mentioned prediction word default virtual Position in keyboard, is shown.
In one implementation, electronic equipment can be provided with a default input frame, and electronic equipment can obtain user The information inputted in default input frame, and perform the displaying flow of follow-up prediction word.User in default input frame, Before the current word of input, may also have input other words, it is also possible to do not input other words, i.e., user in default input frame when Preceding inputted current word, by first word inputted during user this input operation, this is all possible.In order to more The accuracy for the prediction word that good raising is predicted, before current word in default input frame, user's input other also be present During word, electronic equipment can be according to other words before the current word in current word and above-mentioned default input frame, Jin Erjin Row follow-up process.
Wherein, electronic equipment is it is determined that before prediction word, it is also necessary to judges in default input frame before current word, if deposit In other words of user's input.In a kind of situation, electronic equipment is judged in default input frame before current word, defeated in the absence of user Other words entered, now, electronic equipment can be directly by every one first history read statements, and present position is after current word And the word nearest with current word current word, as prediction word.In one implementation, as shown in figure 4, methods described can With including step:
S401:The word that user currently inputs in default input frame is obtained, as current word;
Wherein, above-mentioned S401 is a kind of implementation of above-mentioned acquisition current word.
S402:When receiving word prediction instruction, the history read statement to prestore is obtained;
S403:From the history read statement to prestore, it is determined that the history read statement comprising current word, as the first history Read statement;
Wherein, above-mentioned S402 is identical with the S302 shown in Fig. 3, and above-mentioned S403 is identical with the S303 shown in Fig. 3.
S404:Judge in default input frame, other words inputted before current word with the presence or absence of user;It is default when judging When other words that user is inputted being not present in input frame, before current word, S405 is performed;
S405:From the first history read statement, determine present position after current word and it is nearest with current word Word, as prediction word;
S406:It is pre- determined by displaying based on position of the initial of identified prediction word in default dummy keyboard Survey word.
Wherein, above-mentioned S405 is identical with the S304 shown in Fig. 3, and above-mentioned S406 is identical with the S305 shown in Fig. 3.
In another scenario, in the default input frame of electronic equipment judgement before current word, user's input other be present Word, now, electronic equipment can be according to current word and other above-mentioned words, it is determined that prediction word, is predicted with preferably raising The accuracy of word, it further can preferably improve the probability being easily selected by a user.Wherein, electronic equipment according to current word and on Other words are stated, it is determined that prediction word may have a variety of implementations.In one implementation, as shown in figure 5, methods described can With including step:
S501:The word that user currently inputs in default input frame is obtained, as current word;
S502:When receiving word prediction instruction, the history read statement to prestore is obtained;
S503:From the history read statement to prestore, it is determined that the history read statement comprising current word, as the first history Read statement;
S504:Judge in default input frame, other words inputted before current word with the presence or absence of user;It is default when judging When other words that user is inputted being not present in input frame, before current word, S505 is performed;When judging in default input frame, when When other words that user is inputted be present before preceding word, S507 is performed;
S505:From the first history read statement, determine present position after current word and it is nearest with current word Word, as prediction word;
S506:It is pre- determined by displaying based on position of the initial of identified prediction word in default dummy keyboard Survey word;
Wherein, above-mentioned S501 is identical with the S401 shown in Fig. 4, and above-mentioned S502 is identical with the S402 shown in Fig. 4, above-mentioned S503 is identical with the S403 shown in Fig. 4, and above-mentioned S504 is identical with the S404 shown in Fig. 4, shown in above-mentioned 505 and Fig. 4 S405 is identical, and above-mentioned S506 is identical with the S406 shown in Fig. 4.
S507:It is determined that preset in input frame, other words that existing user is inputted before current word, as reference Word;
S508:From the history read statement to prestore, it is determined that the history read statement comprising reference word, as the second history Read statement;
S509:From the first history read statement, it is determined that identical with the history read statement in the second history read statement History read statement, as the 3rd history read statement;
S510:From the 3rd history read statement, determine present position after current word and it is nearest with current word Word, as prediction word;Perform S506.
In another implementation, as shown in fig. 6, methods described can include step:
S601:The word that user currently inputs in default input frame is obtained, as current word;
S602:When receiving word prediction instruction, the history read statement to prestore is obtained;
S603:From the history read statement to prestore, it is determined that the history read statement comprising current word, as the first history Read statement;
S604:Judge in default input frame, other words inputted before current word with the presence or absence of user;It is default when judging When other words that user is inputted being not present in input frame, before current word, S605 is performed;When judging in default input frame, when When other words that user is inputted be present before preceding word, S607 is performed;
S605:From the first history read statement, determine present position after current word and it is nearest with current word Word, as prediction word;
S606:It is pre- determined by displaying based on position of the initial of identified prediction word in default dummy keyboard Survey word;
Wherein, above-mentioned S601 is identical with the S501 shown in Fig. 5, and above-mentioned S602 is identical with the S502 shown in Fig. 5, above-mentioned S603 is identical with the S503 shown in Fig. 5, and above-mentioned S604 is identical with the S504 shown in Fig. 5, shown in above-mentioned 605 and Fig. 5 S505 is identical, and above-mentioned S606 is identical with the S506 shown in Fig. 5.
S607:It is determined that preset in input frame, other words that existing user is inputted before current word, as reference Word;
S608:From the first history read statement, it is determined that the history read statement comprising reference word, defeated as the 4th history Enter sentence;
S609:From the 4th history read statement, determine present position after current word and it is nearest with current word Word, as prediction word, perform S606.
In one implementation, after electronic equipment determines to predict word, lead-in that can be both based on above-mentioned prediction word Female position in default dummy keyboard, can also be in default dummy keyboard region while showing above-mentioned prediction word Shown in the prediction word display area of top layer.In oneainstance, the prediction word that electronic equipment is determined exist it is multiple, this When, electronic equipment can determine the word frequently used by user from the prediction word determined, i.e., pre- from what is determined Survey in word, the input number corresponding to the history read statement where determining exceedes the prediction word using threshold value.Electronic equipment , more than the default prediction word using threshold value, it can be based on only by the input number corresponding to the history read statement at above-mentioned place Position of its initial in default dummy keyboard is shown.
For example, as shown in Figure 7 A, the prediction word of current word " Good " determination is based on when electronic equipment to be included " morning ", " night ", " day " etc., wherein, the input where " morning " and " day " corresponding to history read statement Number, which exceedes to preset, uses threshold value, and electronic equipment can be based on the initial " m " of " morning " in default dummy keyboard Position, show " morning ", and shown in word display area is predicted, the initial " d " based on " day " is in default virtual key Position in disk, show " day ",
And shown in word display area is predicted, other prediction words " night " etc. can be only in word display area be predicted Displaying.
In another example as shown in Figure 7 B, when the prediction word that electronic equipment is based on current word " do " and reference word " how " determines " you ", " it ", " not ", " the " etc. can be included, wherein, the input number where " you " corresponding to history read statement surpasses Cross to preset and use threshold value, electronic equipment can be based on position of the initial " y " of " you " in default dummy keyboard, displaying " you ", and shown in word display area is predicted, other prediction word " it ", " not ", " the " etc. can be only in prediction word displayings Shown in region.
In one implementation, user is it is possible that repeatedly input a sentence, it is to be understood that user's input one The number of sentence is more, and when the word that user inputs in above-mentioned sentence again, the sentence of the desired input of user is the language The probability of sentence is bigger.The accuracy of the prediction word predicted in order to better improve, it is in one implementation, described to prestore History read statement in each history read statement be:Corresponding input number exceedes the sentence of predetermined input number, often The corresponding input number of one history read statement;
Each history read statement is in the above-mentioned history read statement to prestore:Corresponding input number exceedes predetermined defeated The sentence of indegree, the corresponding input number of each history read statement;
It is above-mentioned from the history read statement to prestore, it is determined that the history read statement comprising current word, as the first history The step of read statement, it can include:
From the history read statement to prestore, it is determined that comprising current word and corresponding input number it is maximum or more than pre- If the history read statement of frequency threshold value, as the first history read statement.
Wherein, above-mentioned predetermined input number can be user pre-sets or electronic equipment default setting, Above-mentioned predetermined input number can be any positive integer.Above-mentioned preset times threshold value can be what user pre-set, can also It is electronic equipment default setting, above-mentioned preset times threshold value can be any positive integer.
The accuracy of the prediction word predicted in order to better improve, electronic equipment can input language from the history to prestore In sentence, the history read statement comprising current word and corresponding input number maximum is determined, language is inputted as the first history Sentence.Or electronic equipment can be determined to include current word and corresponding input number from the history read statement to prestore More than the history read statement of preset times threshold value, as the first history read statement.This is all possible.
In one implementation, the above-mentioned position based on the initial of identified prediction word in default dummy keyboard Put, show identified the step of predicting word, can include:
Based on position of the initial of identified prediction word in default dummy keyboard, it is determined that display area is preset, its In, default display area position includes:Predict position of the initial of word in default dummy keyboard surface, just under Side, left side or right side, preset display area position and predict the initial of word between the position in presetting dummy keyboard Distance, no more than pre-determined distance threshold value;
In identified default display area, identified prediction word is shown.
In the embodiment of the present invention, Consumer's Experience, provides the user easily information input mode in order to better improve, electricity Sub- equipment can will predict word, be showed in the initial of the prediction word near the position in default dummy keyboard, i.e., above-mentioned In default display area.Above-mentioned default display area position is with predicting position of the initial of word in default dummy keyboard The distance between, no more than pre-determined distance threshold value, above-mentioned position can be above-mentioned default display area position, above-mentioned default Distance threshold can be pre-set by user, can also be by electronic equipment default setting.As shown in figures 7 a and 7b, can be pre- The surface for the position surveyed in the default dummy keyboard of the initial of word, displaying prediction word.
In one implementation, in the above-mentioned position based on the initial of identified prediction word in default dummy keyboard Put, after showing identified the step of predicting word, methods described can also include:
After the predetermined registration operation for prediction word is obtained, prediction word is added in default input frame, wherein, predetermined registration operation Including:The duration for touching the initial position of prediction word exceedes the operation of preset duration, or the initial institute from prediction word Start the operation slided along preset direction in position.
Electronic equipment is determined after predicting word, can show identified prediction word, for selection by the user.When user determines In the presence of itself required input word when, user can be directed to the prediction word of its required input shown, perform predetermined registration operation.Electricity After sub- equipment obtains the predetermined registration operation for prediction word, the targeted prediction word of predetermined registration operation can be added to default input Frame, the targeted prediction word of above-mentioned predetermined registration operation is inputted to characterize.
In another implementation, the duration that above-mentioned predetermined registration operation can also include touching prediction word position exceedes The operation of preset duration, or the operation slided since prediction word position along preset direction, this is also possible.
Above-mentioned preset direction can be any direction, such as left and right, up or down.Above-mentioned preset duration can be pre- by user First set, can also by electronic equipment default setting, such as:10 seconds.
Corresponding to above method embodiment, the embodiments of the invention provide a kind of exhibiting device for predicting word, such as Fig. 8 institutes Show, described device can include:
First acquisition module 810, for obtaining current word;
Second acquisition module 820, for when receiving word prediction instruction, obtaining the history read statement to prestore;
First determining module 830, for based on the history read statement to prestore and the current word, it is determined that prediction Word;
Display module 840, for position of the initial based on identified prediction word in default dummy keyboard, displaying Identified prediction word.
Using the embodiment of the present invention, based on position of the initial of identified prediction word in default dummy keyboard, exhibition Prediction word determined by showing, when user selects to input shown prediction word, user may not necessarily be by finger or felt pen etc. Input equipment, is moved to the prediction word display area of the top layer of default dummy keyboard region, then carries out click and choose operation, Directly click can be carried out in default dummy keyboard region choose operation.When user needs input word, can be used to At the initial of the word that the input equipments such as finger or felt pen are moved to the required input of property, now, based on identified Position of the initial of word in default dummy keyboard is predicted, identified prediction word is shown, can be selected more convenient for user The prediction word so that the information that user can efficiently and easily be inputted.Improve Consumer's Experience.
In one implementation, as shown in figure 9, first determining module 830 can include the first determining unit 831 With the second determining unit 832;
First determining unit 831, for from the history read statement to prestore, it is determined that including the current word History read statement, as the first history read statement;
Second determining unit 832, for from the first history read statement, determining that present position is worked as described Word after preceding word and nearest with the current word, as prediction word.
In one implementation, first acquisition module 810, is specifically used for
The word that user currently inputs in default input frame is obtained, as current word;
Based on structure shown in Fig. 9, as shown in Figure 10, first determining module 830 can also include judging unit 833;
The judging unit 833, for from the first history read statement, determining present position described described Word after current word and nearest with the current word, before prediction word, judge in the default input frame, it is described Other words inputted before current word with the presence or absence of the user;
When other words that the user is inputted being not present when judging in the default input frame, before the current word, Trigger second determining unit.
In one implementation, as shown in Figure 10, first determining module 830 can also include the 3rd determining unit 834th, the 4th determining unit 835, the 5th determining unit 836 and the 6th determining unit 837;
3rd determining unit 834, judge for working as in the default input frame, before the current word described in presence During other words that user is inputted, determine in the default input frame, existing user institute is defeated before the current word Other words entered, as reference word;
4th determining unit 835, for from the history read statement to prestore, it is determined that including the reference word History read statement, as the second history read statement;
5th determining unit 836, for from the first history read statement, it is determined that defeated with second history Enter the history read statement identical history read statement in sentence, as the 3rd history read statement;
6th determining unit 837, for from the 3rd history read statement, determining that present position is worked as described Word after preceding word and nearest with the current word, as prediction word.
In one implementation, based on structure shown in Fig. 9, as shown in figure 11, first determining module 830 includes sentencing During disconnected unit 833, first determining module 830 can also include the 7th determining unit 838, the 8th determining unit 839 and the Nine determining units 8310;
7th determining unit 838, judge for working as in the default input frame, before the current word described in presence During other words that user is inputted, determine in the default input frame, existing user institute is defeated before the current word Other words entered, as reference word;
8th determining unit 839, for from the first history read statement, it is determined that including the reference word History read statement, as the 4th history read statement;
9th determining unit 8310, for from the 4th history read statement, determining present position described Word after current word and nearest with the current word, as prediction word.
In one implementation, each history read statement is in the history read statement to prestore:It is corresponding Input the sentence that number exceedes predetermined input number, the corresponding input number of each history read statement;
First determining module 830, is specifically used for
From the history read statement to prestore, it is determined that comprising the current word and corresponding input number it is maximum Or the history read statement more than preset times threshold value, as the first history read statement.
In one implementation, the display module 840, is specifically used for
Based on position of the initial of identified prediction word in default dummy keyboard, it is determined that display area is preset, its In, the default display area position includes:The surface of position of the initial of prediction word in default dummy keyboard, Underface, left side or right side, the default display area position is with the initial for predicting word in default dummy keyboard In the distance between position be no more than pre-determined distance threshold value;
In identified default display area, identified prediction word is shown.
In one implementation, based on structure shown in Fig. 9, as shown in figure 12, described device can also include addition mould Block 850;
The add module 850, in the initial based on identified prediction word in default dummy keyboard Position, show determined by prediction word after, when obtain for it is described prediction word predetermined registration operation after, by it is described prediction word add Add in default input frame, wherein, the predetermined registration operation includes:The duration for touching the initial position of prediction word exceedes in advance If the operation of duration, or the operation slided since the initial position of prediction word along preset direction.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of electronic equipment, as shown in figure 13, including Processor 1310, communication interface 1320, memory 1330 and communication bus 1340, wherein, processor 1310, communication interface 1320, memory 1330 completes mutual communication by communication bus 1340,
Memory 1330, for depositing computer program;
Processor 1310, during for performing the computer program deposited on memory 1330, realize the embodiment of the present invention The methods of exhibiting of any of the above-described prediction word provided, this method can include step:
Obtain current word;
When receiving word prediction instruction, the history read statement to prestore is obtained;
Based on the history read statement to prestore and the current word, it is determined that prediction word;
Based on position of the initial of identified prediction word in default dummy keyboard, identified prediction word is shown.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or EISA (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just Only represented in expression, figure with a thick line, it is not intended that an only bus or a type of bus.
The communication that communication interface is used between above-mentioned electronic equipment and other equipment.
Memory can include random access memory (Random Access Memory, RAM), can also include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is application specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other PLDs, discrete Door or transistor logic, discrete hardware components.
Alternatively, it is described based on the history read statement to prestore and the current word, it is determined that word is predicted, including:
From the history read statement to prestore, it is determined that the history read statement comprising the current word, as first History read statement;
From the first history read statement, determine present position after the current word and with it is described current The nearest word of word, as prediction word.
Alternatively, the acquisition current word, including:
The word that user currently inputs in default input frame is obtained, as current word;
Described from the first history read statement, determine present position after the current word and with institute The nearest word of current word is stated, before prediction word, in addition to:
Judge in the default input frame, other words inputted before the current word with the presence or absence of the user;
When other words that the user is inputted being not present when judging in the default input frame, before the current word, Perform it is described from the first history read statement, determine present position after the current word and with it is described current The nearest word of word, as prediction word.
Alternatively, in addition to:
When judging in the default input frame, when other words that the user is inputted be present before the current word, really Determine in the default input frame, other words that the existing user is inputted before the current word, as reference word;
From the history read statement to prestore, it is determined that the history read statement comprising the reference word, as second History read statement;
From the first history read statement, it is determined that with the history read statement phase in the second history read statement Same history read statement, as the 3rd history read statement;
From the 3rd history read statement, determine present position after the current word and with it is described current The nearest word of word, as prediction word.
Alternatively, in addition to:
When judging in the default input frame, when other words that the user is inputted be present before the current word, really Determine in the default input frame, other words that the existing user is inputted before the current word, as reference word;
From the first history read statement, it is determined that the history read statement comprising the reference word, goes through as the 4th History read statement;
From the 4th history read statement, determine present position after the current word and with it is described current The nearest word of word, as prediction word.
Alternatively, each history read statement is in the history read statement to prestore:Corresponding input number surpasses Cross the sentence of predetermined input number, the corresponding input number of each history read statement;
It is described from the history read statement to prestore, it is determined that the history read statement comprising the current word, as First history read statement, including:
From the history read statement to prestore, it is determined that comprising the current word and corresponding input number it is maximum Or the history read statement more than preset times threshold value, as the first history read statement.
Alternatively, the position based on the initial of identified prediction word in default dummy keyboard, displaying institute is really Fixed prediction word, including:
Based on position of the initial of identified prediction word in default dummy keyboard, it is determined that display area is preset, its In, the default display area position includes:The surface of position of the initial of prediction word in default dummy keyboard, Underface, left side or right side, the default display area position is with the initial for predicting word in default dummy keyboard In the distance between position be no more than pre-determined distance threshold value;
In identified default display area, identified prediction word is shown.
Alternatively, in the position based on the initial of identified prediction word in default dummy keyboard, institute is shown After the prediction word of determination, in addition to:
After the predetermined registration operation for the prediction word is obtained, the prediction word is added in default input frame, wherein, The predetermined registration operation includes:The duration for touching the initial position of prediction word exceedes the operation of preset duration, or from prediction The initial position of word starts the operation slided along preset direction.
Corresponding to above method embodiment, the embodiments of the invention provide a kind of computer-readable recording medium, the meter Calculation machine readable storage medium storing program for executing internal memory contains computer program, realizes that the present invention is implemented when the computer program is executed by processor The methods of exhibiting for any of the above-described prediction word that example is provided, this method can include step:
Obtain current word;
When receiving word prediction instruction, the history read statement to prestore is obtained;
Based on the history read statement to prestore and the current word, it is determined that prediction word;
Based on position of the initial of identified prediction word in default dummy keyboard, identified prediction word is shown.
Alternatively, it is described based on the history read statement to prestore and the current word, it is determined that word is predicted, including:
From the history read statement to prestore, it is determined that the history read statement comprising the current word, as first History read statement;
From the first history read statement, determine present position after the current word and with it is described current The nearest word of word, as prediction word.
Alternatively, the acquisition current word, including:
The word that user currently inputs in default input frame is obtained, as current word;
Described from the first history read statement, determine present position after the current word and with institute The nearest word of current word is stated, before prediction word, in addition to:
Judge in the default input frame, other words inputted before the current word with the presence or absence of the user;
When other words that the user is inputted being not present when judging in the default input frame, before the current word, Perform it is described from the first history read statement, determine present position after the current word and with it is described current The nearest word of word, as prediction word.
Alternatively, in addition to:
When judging in the default input frame, when other words that the user is inputted be present before the current word, really Determine in the default input frame, other words that the existing user is inputted before the current word, as reference word;
From the history read statement to prestore, it is determined that the history read statement comprising the reference word, as second History read statement;
From the first history read statement, it is determined that with the history read statement phase in the second history read statement Same history read statement, as the 3rd history read statement;
From the 3rd history read statement, determine present position after the current word and with it is described current The nearest word of word, as prediction word.
Alternatively, in addition to:
When judging in the default input frame, when other words that the user is inputted be present before the current word, really Determine in the default input frame, other words that the existing user is inputted before the current word, as reference word;
From the first history read statement, it is determined that the history read statement comprising the reference word, goes through as the 4th History read statement;
From the 4th history read statement, determine present position after the current word and with it is described current The nearest word of word, as prediction word.
Alternatively, each history read statement is in the history read statement to prestore:Corresponding input number surpasses Cross the sentence of predetermined input number, the corresponding input number of each history read statement;
It is described from the history read statement to prestore, it is determined that the history read statement comprising the current word, as First history read statement, including:
From the history read statement to prestore, it is determined that comprising the current word and corresponding input number it is maximum Or the history read statement more than preset times threshold value, as the first history read statement.
Alternatively, the position based on the initial of identified prediction word in default dummy keyboard, displaying institute is really Fixed prediction word, including:
Based on position of the initial of identified prediction word in default dummy keyboard, it is determined that display area is preset, its In, the default display area position includes:The surface of position of the initial of prediction word in default dummy keyboard, Underface, left side or right side, the default display area position is with the initial for predicting word in default dummy keyboard In the distance between position be no more than pre-determined distance threshold value;
In identified default display area, identified prediction word is shown.
Alternatively, in the position based on the initial of identified prediction word in default dummy keyboard, institute is shown After the prediction word of determination, in addition to:
After the predetermined registration operation for the prediction word is obtained, the prediction word is added in default input frame, wherein, The predetermined registration operation includes:The duration for touching the initial position of prediction word exceedes the operation of preset duration, or from prediction The initial position of word starts the operation slided along preset direction.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element also be present in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of methods of exhibiting for predicting word, it is characterised in that methods described includes:
Obtain current word;
When receiving word prediction instruction, the history read statement to prestore is obtained;
Based on the history read statement to prestore and the current word, it is determined that prediction word;
Based on position of the initial of identified prediction word in default dummy keyboard, identified prediction word is shown.
2. according to the method for claim 1, it is characterised in that described based on the history read statement to prestore and described Current word, it is determined that the step of prediction word, including:
From the history read statement to prestore, it is determined that the history read statement comprising the current word, as the first history Read statement;
From the first history read statement, determine present position after the current word and with the current word most Near word, as prediction word.
3. according to the method for claim 2, it is characterised in that described the step of obtaining current word, including:
The word that user currently inputs in default input frame is obtained, as current word;
Described from the first history read statement, determine present position after the current word and with it is described work as The nearest word of preceding word, before the step of prediction word, methods described also includes:
Judge in the default input frame, other words inputted before the current word with the presence or absence of the user;
When other words that the user is inputted being not present when judging in the default input frame, before the current word, perform It is described from the first history read statement, determine present position after the current word and with the current word most Near word, as prediction word the step of.
4. according to the method for claim 3, it is characterised in that methods described also includes:
When judging in the default input frame, when other words that the user is inputted be present before the current word, institute is determined State in default input frame, other words that the existing user is inputted before the current word, as reference word;
From the history read statement to prestore, it is determined that the history read statement comprising the reference word, as the second history Read statement;
From the first history read statement, it is determined that with the history read statement identical in the second history read statement History read statement, as the 3rd history read statement;
From the 3rd history read statement, determine present position after the current word and with the current word most Near word, as prediction word.
5. according to the method for claim 3, it is characterised in that methods described also includes:
When judging in the default input frame, when other words that the user is inputted be present before the current word, institute is determined State in default input frame, other words that the existing user is inputted before the current word, as reference word;
From the first history read statement, it is determined that the history read statement comprising the reference word, defeated as the 4th history Enter sentence;
From the 4th history read statement, determine present position after the current word and with the current word most Near word, as prediction word.
6. according to the method for claim 2, it is characterised in that each history input in the history read statement to prestore Sentence is:Corresponding input number exceedes the sentence of predetermined input number, the corresponding input number of each history read statement;
It is described from the history read statement to prestore, it is determined that the history read statement comprising the current word, as first The step of history read statement, including:
From the history read statement to prestore, it is determined that comprising the current word and corresponding input number it is maximum or it is super The history read statement of preset times threshold value is crossed, as the first history read statement.
7. according to the method described in claim any one of 1-6, it is characterised in that the lead-in based on identified prediction word Female position in default dummy keyboard, identified the step of predicting word is shown, including:
Based on position of the initial of identified prediction word in default dummy keyboard, it is determined that display area is preset, wherein, institute Stating default display area position includes:Predict position of the initial of word in default dummy keyboard surface, just under Side, left side or right side, the default display area position is with the initial for predicting word in default dummy keyboard The distance between position is no more than pre-determined distance threshold value;
In identified default display area, identified prediction word is shown.
8. according to the method described in claim any one of 1-6, it is characterised in that in the head based on identified prediction word Position of the letter in default dummy keyboard, after showing identified the step of predicting word, methods described also includes:
After the predetermined registration operation for the prediction word is obtained, the prediction word is added in default input frame, wherein, it is described Predetermined registration operation includes:The duration for touching the initial position of prediction word exceedes the operation of preset duration, or from prediction word Initial position starts the operation slided along preset direction.
9. a kind of exhibiting device for predicting word, it is characterised in that described device includes:
First acquisition module, for obtaining current word;
Second acquisition module, for when receiving word prediction instruction, obtaining the history read statement to prestore;
First determining module, for based on the history read statement to prestore and the current word, it is determined that prediction word;
Display module, for position of the initial based on identified prediction word in default dummy keyboard, displaying is determined Prediction word.
10. device according to claim 9, it is characterised in that first determining module include the first determining unit and Second determining unit;
First determining unit, for from the history read statement to prestore, it is determined that including the history of the current word Read statement, as the first history read statement;
Second determining unit, for from the first history read statement, determine present position the current word it Afterwards and the word nearest with the current word, as prediction word.
CN201710889025.5A 2017-09-27 2017-09-27 Display method and device of predicted words and electronic equipment Pending CN107765979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710889025.5A CN107765979A (en) 2017-09-27 2017-09-27 Display method and device of predicted words and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710889025.5A CN107765979A (en) 2017-09-27 2017-09-27 Display method and device of predicted words and electronic equipment

Publications (1)

Publication Number Publication Date
CN107765979A true CN107765979A (en) 2018-03-06

Family

ID=61267597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710889025.5A Pending CN107765979A (en) 2017-09-27 2017-09-27 Display method and device of predicted words and electronic equipment

Country Status (1)

Country Link
CN (1) CN107765979A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060265653A1 (en) * 2005-05-23 2006-11-23 Juho Paasonen Pocket computer and associated methods
CN101876878A (en) * 2009-04-29 2010-11-03 深圳富泰宏精密工业有限公司 Word prediction input system and method
CN103380407A (en) * 2012-02-24 2013-10-30 捷讯研究有限公司 Touchscreen keyboard providing word predictions in partitions of the touchscreen keyboard in proximate association with candidate letters
CN104007832A (en) * 2013-02-25 2014-08-27 上海触乐信息科技有限公司 Method for continuously inputting texts by sliding, system and equipment
CN104102720A (en) * 2014-07-18 2014-10-15 上海触乐信息科技有限公司 Efficient input prediction method and device
CN104391644A (en) * 2014-11-11 2015-03-04 北京元心科技有限公司 Input method and device
CN105528143A (en) * 2006-04-21 2016-04-27 泰吉克通讯股份有限公司 Contextual prediction of user words and user actions
WO2016161056A1 (en) * 2015-03-31 2016-10-06 Keyless Systems Ltd. Improved data entry systems

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060265653A1 (en) * 2005-05-23 2006-11-23 Juho Paasonen Pocket computer and associated methods
CN105528143A (en) * 2006-04-21 2016-04-27 泰吉克通讯股份有限公司 Contextual prediction of user words and user actions
CN101876878A (en) * 2009-04-29 2010-11-03 深圳富泰宏精密工业有限公司 Word prediction input system and method
CN103380407A (en) * 2012-02-24 2013-10-30 捷讯研究有限公司 Touchscreen keyboard providing word predictions in partitions of the touchscreen keyboard in proximate association with candidate letters
CN104007832A (en) * 2013-02-25 2014-08-27 上海触乐信息科技有限公司 Method for continuously inputting texts by sliding, system and equipment
CN104102720A (en) * 2014-07-18 2014-10-15 上海触乐信息科技有限公司 Efficient input prediction method and device
CN104391644A (en) * 2014-11-11 2015-03-04 北京元心科技有限公司 Input method and device
WO2016161056A1 (en) * 2015-03-31 2016-10-06 Keyless Systems Ltd. Improved data entry systems

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BENSC2003: "iOS8输入法怎么用,iOS8输入预测功能怎么打开", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/3052F5A1D2171997F31F8622.HTML》 *

Similar Documents

Publication Publication Date Title
CN106843739B (en) A kind of display control method and mobile terminal of mobile terminal
CN107466077A (en) A kind of method for switching network and mobile terminal
CN106201321A (en) A kind of application control method and mobile terminal
CN106951141B (en) A kind of processing method and mobile terminal of icon
CN107171874A (en) A kind of speech engine switching method, mobile terminal and server
CN107423018B (en) A kind of multi-screen display method and terminal
CN103324674B (en) Web page contents choosing method and device
CN105893130B (en) A kind of processing method and mobile terminal of application program for mobile terminal
CN107657591A (en) A kind of image processing method and mobile terminal
CN106201196A (en) The method for sorting of a kind of desktop icons and mobile terminal
CN106161811A (en) A kind of reminding method and mobile terminal
CN107643912A (en) A kind of information sharing method and mobile terminal
CN104462496A (en) Search method, device and mobile terminal
CN106993091A (en) A kind of image weakening method and mobile terminal
CN106874046A (en) The operating method and mobile terminal of a kind of application program
CN108279848B (en) Display method and electronic equipment
CN106210231A (en) A kind of method of information processing and mobile terminal
CN107562473A (en) A kind of application program display methods and mobile terminal
CN106231113A (en) A kind of Dialing Method and mobile terminal
CN107329687B (en) A kind of display methods and mobile terminal of virtual input keyboard
CN106208206B (en) A kind of wireless charging method and mobile terminal
CN105955528A (en) Screen unlocking method and mobile terminal
CN106502872B (en) A kind of display methods and terminal of application state information
CN107371202B (en) A kind of method and mobile terminal of mobile terminal gravity treatment LTE cell
CN104272712B (en) Subscriber equipment and method of controlling operation thereof thereof

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: 20180306

RJ01 Rejection of invention patent application after publication