CN109032377A - The method and apparatus of output input method candidate word for electric terminal - Google Patents
The method and apparatus of output input method candidate word for electric terminal Download PDFInfo
- Publication number
- CN109032377A CN109032377A CN201810764924.7A CN201810764924A CN109032377A CN 109032377 A CN109032377 A CN 109032377A CN 201810764924 A CN201810764924 A CN 201810764924A CN 109032377 A CN109032377 A CN 109032377A
- Authority
- CN
- China
- Prior art keywords
- word
- candidate word
- language
- input
- candidate
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 169
- 239000013589 supplement Substances 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 11
- 238000013500 data storage Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 235000004240 Triticum spelta Nutrition 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
- G06F3/0236—Character input methods using selection techniques to select from displayed items
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
- G06F3/0237—Character input methods using prediction or retrieval techniques
Abstract
A kind of method and apparatus of output input method candidate word for electric terminal is provided.The described method includes: (A) receives input operation of the user under input method;(B) candidate word corresponding with the input operation is generated;(C) prompt word of the candidate word generated is obtained;(D) candidate word generated is exported to user;(E) corresponding prompt word is exported to user for the candidate word of output.According to the method and equipment, the prompt word of input method candidate word can be provided a user to prompt user, user is facilitated accurately to select required candidate word content as input from candidate word when user carries out content input using input method.
Description
Technical field
All things considered of the present invention is related to electric terminal field, more particularly, is related to a kind of output for electric terminal
The method and apparatus of input method candidate word.
Background technique
In people's lives, electric terminal is (for example, mobile communication terminal, tablet computer, wearable device, personal meter
Calculation machine etc.) have become indispensable a part.User comes the input content in electric terminal, example usually using input method
Such as, message, editor's text etc. are write, particularly, under the currently used input method of electric terminal, generates and shows and use
The corresponding candidate word of character string that family inputs in spelling region, so that user therefrom selects required candidate word as input
Content.
Summary of the invention
Exemplary embodiment of the present invention is to provide a kind of method of output input method candidate word for electric terminal
And equipment, can user using input method carry out content input when, provide a user the prompt word of input method candidate word with
User is prompted, user is facilitated accurately to select required candidate word content as input from candidate word.
An exemplary embodiment of the present invention provides a kind of side of output input method candidate word for electric terminal
Method, wherein the described method includes: (A) receives input operation of the user under input method;(B) it generates and input operation pair
The candidate word answered;(C) prompt word of the candidate word generated is obtained;(D) candidate word generated is exported to user;(E) for output
Candidate word export corresponding prompt word to user.
Optionally, the prompt word of candidate word is the word in language-specific that the candidate word is translated into, wherein described
Language-specific is different from the language of the candidate word.
Optionally, the language-specific include following language at least one of: the pre-set language of user, electronics
The language of terminal default, user use the language that common language, the input method are defaulted when electric terminal, the input method normal
Used in language, the input method are the last different from the language of the currently used language of the input method, on
Language used in ensuing disclosure.
Optionally, step (C) includes: to obtain the prompt word of the whole candidate words generated;Alternatively, obtaining the time currently exported
Select the prompt word of word;Alternatively, obtaining the prompt word for the candidate word that will be exported;Alternatively, obtaining the candidate word for meeting specified conditions
Prompt word.
Optionally, the specified conditions include at least one among the following conditions: being belonged to for translating into candidate word
Vocabulary in the dictionary of word in the language-specific;More than default grade of difficulty;By user from the candidate word currently exported
In specify;Belong to the vocabulary in the customized dictionary of user.
Optionally, step (C) includes: to obtain mentioning for the candidate word of generation when determining at least one condition of satisfaction or less
Show word: by the way that the character string of the input operation input can constitute a complete word, the candidate word of generation includes
The word of meaning, away from receive for the last time user under the input method input operation time point be more than scheduled duration,
The candidate word of the user's operation, generation that receive the prompt word of the candidate word for exporting the candidate word currently exported, which belongs to, to be used for
Candidate word is translated into the vocabulary in the dictionary of the word in the language-specific, that the candidate word of generation belongs to user is customized
The candidate word of vocabulary, generation in dictionary is more than default grade of difficulty.
Optionally, step (C) include: by following item among at least one of the candidate word of generation is translated into it is described
Word in language-specific: for the dictionary of translation, for the application of translation, context.
Optionally, step (B) includes: and generates and operate with the input under the currently used language of the input method
Corresponding candidate word;The candidate word significant in the currently used language of the input method among the candidate word of generation
When quantity is less than predetermined quantity, obtain that the input method generated when using other language corresponding with the input operation has
The word of meaning;The lexical translation that will acquire will be translated at the word in the currently used language of the input method
Candidate word of the word as supplement.
Optionally, step (C) include: the input method that will acquire generated when using other described language with it is described
Input operates prompt word of the corresponding significant word as the candidate word of supplement.
Optionally, step (C) executes before step (D), and step (D) executes before step (E);Alternatively, step (C)
It is executed before step (D), step (D) and step (E) are performed simultaneously;Alternatively, step (C) executes after step (D), step
(E) it is executed after step (C).
Optionally, the input operation is one of keyboard input operation, voice input operation, handwriting input operation.
Optionally, the method also includes: when receiving the user for being input to the prompt word of output in input frame
When operation, prompt word corresponding with the user's operation is input in input frame.
Optionally, step (D) includes: the candidate word that generation is shown in candidate bar, wherein step (E) includes: to show
Candidate word around show corresponding prompt word.
In accordance with an alternative illustrative embodiment of the present invention, a kind of output input method candidate word for electric terminal is provided
Equipment, wherein the equipment includes: operation receiving unit, for receiving input operation of the user under input method;Candidate word is raw
At unit, for generating candidate word corresponding with the input operation;Prompt word acquiring unit, for obtaining the candidate word generated
Prompt word;Candidate word output unit, for exporting the candidate word generated to user;Prompt word output unit, for for defeated
Candidate word out exports corresponding prompt word to user.
Optionally, the prompt word of candidate word is the word in language-specific that the candidate word is translated into, wherein described
Language-specific is different from the language of the candidate word.
Optionally, the language-specific include following language at least one of: the pre-set language of user, electronics
The language of terminal default, user use the language that common language, the input method are defaulted when electric terminal, the input method normal
Used in language, the input method are the last different from the language of the currently used language of the input method, on
Language used in ensuing disclosure.
Optionally, prompt word acquiring unit obtains the prompt word of the whole candidate words generated;Alternatively, prompt word acquiring unit
Obtain the prompt word of the candidate word currently exported;Alternatively, prompt word acquiring unit obtains the prompt word for the candidate word that will be exported;
Alternatively, prompt word acquiring unit obtains the prompt word for meeting the candidate word of specified conditions.
Optionally, the specified conditions include at least one among the following conditions: being belonged to for translating into candidate word
Vocabulary in the dictionary of word in the language-specific;More than default grade of difficulty;By user from the candidate word currently exported
In specify;Belong to the vocabulary in the customized dictionary of user.
Optionally, when determining at least one condition of satisfaction or less, prompt word acquiring unit obtains the candidate word generated
Prompt word: by the way that the character string of the input operation input can constitute a complete word, the candidate word of generation includes
Significant word away from the time point for receiving input operation of the user under the input method is for the last time more than pre- timing
The user's operation of prompt word, the candidate word of generation long, receive for exporting the candidate word currently exported belong to for that will wait
Word is selected to translate into the vocabulary in the dictionary of the word in the language-specific, the candidate word of generation belongs to the customized dictionary of user
In vocabulary, generation candidate word be more than default grade of difficulty.
Optionally, the candidate word of generation is translated into institute by least one among following item by prompt word acquiring unit
State the word in language-specific: for the dictionary of translation, for the application of translation, context.
Optionally, candidate word generation unit includes: the first generation unit, in the currently used language of the input method
Under speech, candidate word corresponding with the input operation is generated;Second generation unit, the candidate for being generated when the first generation unit
When the quantity of candidate word significant in the currently used language of the input method is less than predetermined quantity among word, institute is obtained
The significant word corresponding with the input operation that input method is generated when using other language is stated, the word that will acquire turns over
The word being translated into the currently used language of the input method, and using the word translated into as the candidate word of supplement.
Optionally, the input method that prompt word acquiring unit will acquire generated when using other described language with institute
It states input and operates prompt word of the corresponding significant word as the candidate word of supplement.
Optionally, the input operation is one of keyboard input operation, voice input operation, handwriting input operation.
Optionally, the equipment further include: input unit, for defeated for the prompt word of output to be input to when receiving
When entering the user's operation in frame, prompt word corresponding with the user's operation is input in input frame.
Optionally, candidate word output unit shows the candidate word of generation in candidate bar, and prompt word output unit is being shown
Candidate word around show corresponding prompt word.
In accordance with an alternative illustrative embodiment of the present invention, a kind of computer-readable storage being stored with computer program is provided
Medium, wherein realize when the computer program is executed by processor and inputted as described above for the output of electric terminal
The method of method candidate word.
In accordance with an alternative illustrative embodiment of the present invention, a kind of electric terminal is provided, wherein the electric terminal includes:
Processor;Memory is stored with computer program, when the computer program is executed by processor, realizes as described above
The method of output input method candidate word for electric terminal.
In the method and apparatus of the output input method candidate word according to an exemplary embodiment of the present invention for electric terminal
In, when user carries out content input using input method, provide a user the prompt word of input method candidate word to prompt user, just
Just user accurately selects required candidate word content as input from candidate word, and the user experience is improved.
Part in following description is illustrated into the other aspect and/or advantage of present general inventive concept, there are also one
Dividing will be apparent by description, or can learn by the implementation of present general inventive concept.
Detailed description of the invention
By below with reference to be exemplarily illustrated embodiment attached drawing carry out description, exemplary embodiment of the present it is upper
Stating will become apparent with other purposes and feature, in which:
Fig. 1 shows the method for the output input method candidate word according to an exemplary embodiment of the present invention for electric terminal
Flow chart;
Fig. 2 to Fig. 6 shows the example of the prompt word of output candidate word according to an exemplary embodiment of the present invention;
Fig. 7 shows the process for the step of generation according to an exemplary embodiment of the present invention operates corresponding candidate word with input
Figure;
Fig. 8 shows the example of the prompt word of the candidate word of output supplement according to an exemplary embodiment of the present invention;
Fig. 9 shows the equipment of the output input method candidate word according to an exemplary embodiment of the present invention for electric terminal
Block diagram.
Specific embodiment
It reference will now be made in detail the embodiment of the present invention, examples of the embodiments are shown in the accompanying drawings, wherein identical mark
Number identical component is referred to always.It will illustrate the embodiment, by referring to accompanying drawing below to explain the present invention.
Fig. 1 shows the method for the output input method candidate word according to an exemplary embodiment of the present invention for electric terminal
Flow chart.The method can be realized by computer program.For example, the method can be defeated in electric terminal by being mounted on
Enter method application to execute, or the function program realized in the operating system for passing through electric terminal executes.As an example, described
Electric terminal can be mobile communication terminal (for example, smart phone), intelligent wearable device (for example, smartwatch), individual
Computer, tablet computer, game machine, digital multimedia player etc. are able to use the electronics end that input method carries out content input
End.
Referring to Fig.1, in step S10, input operation of the user under input method is received.
Particularly, in the case where user carries out content input using input method, for example, inputting text into input frame
Originally, when editing text under the text editing page, input operation of the user under input method is received.Here, described defeated
Entering operation can be for the input operation in spelling region input character sequence, by the input method based on spelling region
Character string can generate corresponding candidate word.As an example, the input operation can be keyboard input operation, voice input
One of operation, handwriting input operation.In addition, the input operation is also possible to other kinds of input operation, the present invention is to this
With no restriction.
In step S20, candidate word corresponding with the input operation is generated.
As an example, time corresponding with the input operation can be generated under the currently used language of the input method
Select word.Particularly, the character string by the input operation input is obtained, and by the input method in the input method
Under currently used language, at least one candidate word corresponding with the character string obtained is generated.
In addition, showing the another exemplary embodiment of step S20 below in conjunction with Fig. 7.
In step S30, the prompt word of the candidate word of generation is obtained.Here, the prompt word of candidate word is for for the time
Word is selected to play the word of suggesting effect.
As an example, the prompt word of candidate word can be the word in the language-specific that the candidate word is translated into, wherein
The language-specific is different from language used in the candidate word.It should be understood that the language-specific may include at least one language
Speech.
As an example, the language-specific may include following language at least one of: the pre-set prompt of user
Language, the language of electric terminal default, user use the language, institute that common language, the input method are defaulted when electric terminal
It is the last used different from the currently used language of the input method to state the common language of input method, the input method
Language, language used in context.For example, at least one language can be preset (for example, Chinese and English in user
Text) it is used as language, whens the language used in the candidate word is Korean, Japanese etc., language-specific can preset for user
Language, that is, Chinese and English.For example, common language when the language of electric terminal default, user are using electric terminal
Speech, the language of input method default or the common language of the input method are usually the mother tongue of user, and user can skillfully slap
It holds, it therefore, can the language of automatic identification electric terminal default, user common language, the input method when using electric terminal
At least one of among the language of default, the common language of the input method, when it is with language difference used in candidate word,
It can be described specific as language-specific, for example, when the language used in the candidate word is not the language of electric terminal default
Language can be the language of electric terminal default.
As an example, when the prompt word of candidate word is the word in language-specific that the candidate word is translated into, step
S30 can include: the candidate word of generation is translated into the word in the language-specific.As an example, among can be by following item
At least one of the candidate word of generation is translated into word in the language-specific: for the dictionary of translation, for translating
Application, context.
As an example, the dictionary for translation, which can be the general dictionary for translation, (translates English dictionary, English in for example,
Translate six grades of middle dictionary, English dictionaries etc.), it is also possible to the customized dictionary for translation of user.It is customized about user
Dictionary, user can add vocabulary to the dictionary according to their own needs, for example, vocabulary, CET Band-4 vocabulary in English-Chinese dictionary,
Six grades of English glossaries, the dedicated vocabulary of business English, other translation tools (for example, application for translation) dictionary in word
It converges, in addition, can also be achieved in the case that the vocabulary in the dictionary by other translation tools is added to user's customized dictionary
Vocabulary in the customized dictionary of the user synchronized update with the update of the vocabulary in the dictionary of the translation tool.In addition,
In the customized dictionary of user, can some words be arranged according to their own needs (for example, work requirements, living habit etc.) in user
The fixed translation of language, for example, the translator of Chinese of English word " DFS " can be fixedly installed as " duty-free shop ", in this way, working as candidate word
For " DFS ", fixed translation " duty-free shop " can be obtained by the customized dictionary of user as its prompt word.
As an example, context can refer to context on the screen (for example, the position of current content to be entered
The context at place), alternatively, when the context in pre-editing is (for example, at the position currently just edited in spelling region
Context).
It should be understood that being directed to a candidate word, one or more prompt words can be obtained, the language of the multiple prompt word can
It can also be language not of the same race, that is, the language-specific includes one or more language for same language.For example, working as candidate word
For " custom ", when language-specific is Chinese, candidate word is being obtained by the dictionary for translation and/or the application for translation
On the basis of the translator of Chinese " customer ", " convention " and " customs " of " custom ", based on context content, can only make " customs "
For the prompt word of " custom ".
In step S40, the candidate word generated is exported to user.
It should be understood that various modes appropriate can be used to export the candidate word generated to user.As an example, can be in candidate
The candidate word of generation is shown in column.It should be understood that can in candidate bar display portion or the candidate word all generated.For example, waiting
It selects every page of column to be only capable of displaying a certain number of candidate words, whole candidate words of generation cannot all be shown in one page,
In this case, it may be in response to the user's operation for candidate bar page turning, lower one page of candidate bar shown to user.
It should be understood that the prompt word of the candidate word of all generations can be obtained in step S30, can also only fetching portion generate
Candidate word prompt word.
As an example, the prompt word of the candidate word of current output (for example, currently showing in candidate bar) can be obtained.It should
Understand, when receiving the user's operation for candidate bar page turning, the candidate word of one page under being shown in candidate bar, that is, current
The candidate word of display has been updated, and correspondingly, obtains the prompt word of updated candidate word.
As another example, the prompt word that will export the candidate word of (for example, will show in candidate bar) can be obtained,
For example, the prompt word of the one page that will be shown or several pages of candidate word can be obtained.
As another example, the prompt word for meeting the candidate word of specified conditions can be obtained.Here, as an example, the spy
Fixed condition may include at least one among the following conditions: belong to for candidate word to be translated into the word in the language-specific
Dictionary in vocabulary;More than default grade of difficulty;By user from the candidate word currently exported (for example, showing in candidate bar
Candidate word) in specify;Belong to the vocabulary in the customized dictionary of user.For example, working as language used in candidate word is English, institute
State default grade of difficulty be English Band grade of difficulty when, if the grade of difficulty of candidate word be more than English Band grade of difficulty,
The prompt word of the candidate word can then be obtained.For example, the customized dictionary of user may include that it wants to know corresponding prompt word
Vocabulary, for example, six grades of vocabulary of English, user job, personalization vocabulary needed for life etc..For example, user is from candidate bar
The operation of specified candidate word can be hovering, long-pressing etc. in the candidate word of display and operate.
As an example, can when by it is described input operation input character string can constitute a complete word when,
Obtain the prompt word of the candidate word generated.Here, complete word is believed that in the currently used language of input method be one
The word of a significant (that is, having the meaning of a word).For example, the currently used language of input method is English, grasped when by the input
When the character string that work inputs is " publi ", since " publi " is not a significant word in English, can recognize
A complete word cannot be constituted for character string currently entered, when user continues to input, is operated by the input defeated
When the character string entered is " public ", since " public " is a significant word in English, accordingly, it can be determined that logical
The character string for crossing the input operation input can constitute a complete word, can trigger and obtain the candidate word generated
Prompt word.
As an example, the prompt word of the candidate word of generation can be obtained when the candidate word of generation includes significant word.
As an example, can ought be more than away from the time point for receiving input operation of the user under the input method for the last time
When scheduled duration, the prompt word of the candidate word of generation is obtained.For example, the scheduled duration can be 0.5 second, when apart from user upper one
When the secondary input under input method was operated more than 0.5 second, it may be determined that user completes input operation, can trigger the time for obtaining and generating
Select the prompt word of word.
It receives as an example, can work as exporting all or part of candidate word currently exported (for example, in candidate bar
All or part of candidate word) prompt word user's operation when, obtain the prompt word of the candidate word of generation.
As an example, can obtain the prompt word of the candidate word of generation when determining at least one condition of satisfaction or less: generate
Candidate word belong to the candidate word of vocabulary in the dictionary for candidate word to be translated into the word in the language-specific, generation
The candidate word of the vocabulary, generation that belong in the customized dictionary of user is more than default grade of difficulty.
In step S50, corresponding prompt word is exported to user for the candidate word of output.It should be understood that can be by various
Mode appropriate to export the prompt word of candidate word to user.As an example, the prompt word of candidate word can be shown to user.
As an example, the prompt word corresponding to it can be shown around the candidate word of display.That is, user passes through candidate bar
The prompt about candidate word can be obtained.As an example, can be used various display modes appropriate (for example, specifically showing position
Set, display font, display color, display number, Show Styles etc.) it is shown around shown candidate word corresponding to it
Prompt word.For example, the multiple prompt word can be directly displayed when obtaining multiple prompt words for a candidate word,
The multiple prompt word can be shown by flexible Show Styles such as scaling lists.
As shown in Fig. 2, its prompt word can be shown at the positions such as the dead astern, back upper place, the back lower place of the candidate word of display,
Here, the language of candidate word is English, and the language-specific is Chinese.As shown in figure 3, word can will be prompted in candidate bar to wait
The form of option is shown, and will be prompted to the rear that the corresponding candidate word of word is shown in the prompt word, and here, input method is current
Used language is Chinese, and correspondingly, the language of candidate word is Chinese, and the language-specific can be context on the screen
Language used in content (that is, " i like ") (that is, English).As shown in figure 4, being obtained when for a candidate word " custom "
When multiple prompt words " customs ", " convention ", " customer ", the multiple prompt can be shown by scaling the display mode of list
Word, as shown in figure 5, may be in response to the scaling list be unfolded, with to user for the user's operation that the scaling list is unfolded
Display is directed to all prompt words of the candidate word, and here, the language of candidate word is English, and the language-specific is Chinese.Such as Fig. 6
Shown, the language of candidate word is English, and the language-specific may include multilingual, for example, Chinese and Korean.
As an example, step S40 and S50 can be performed simultaneously, for example, can show candidate word in candidate bar simultaneously and its mention
Show word, in this case, step S30 needs execute before step S40.In addition, as an example, step S40 can be first carried out,
Then step S50 is executed again, at this point, step S30 can be executed before or after step S40, but step S30 is needed in step
It is executed before S50.
As an example, it can be not necessarily to user's operation, it is automatic to execute step S10, step S20, step S30, step S40 and step
S50.As another example, step S40 output candidate word can be first carried out, is used for output par, c or all current output when receiving
Candidate word prompt word user's operation when, execute step S30, then execute step S50;It can also be before step S40 first
Step S30 is executed, when receiving the user's operation of the prompt word for output par, c or whole candidate words currently exported, directly
It connects and executes step S50.For example, the user's operation of the prompt word for exporting the candidate word all shown in candidate bar can be
The user's operations such as the key for display reminding word for the display that is arranged in candidate bar or suspends are clicked, for exporting single display
The user's operation of prompt word of candidate word can be in the candidate word of display the operation such as hovering or long-pressing.
According to the above exemplary embodiments it is found that the sequence that executes about step S30 to step S50, the present invention and not only
It is limited to successively execute step S30 to step S50.As an example, step S30 can be executed before step S40, step S40 can
It is executed before step S50.As an example, step S30 can be executed before step S40, step S40 and step S50 can be simultaneously
It executes.As an example, step S30 can be executed after the step s 40, step S50 is executed after step S30.
It should be understood that in step S10, input of the lasting reception user under input method is operated, it, will be in step S20
Continue received input and operate and continuous updating candidate word, therefore, step S30 also will persistently obtain updated candidate word
Prompt word, correspondingly, in step S40 and S50, also by update export.
In addition, the method for the output input method candidate word according to an exemplary embodiment of the present invention for electric terminal may be used also
Include: when receiving the user's operation for being input to the prompt word of output in input frame or the text editing page, will be with
The corresponding prompt word of the user's operation is input in input frame or the text editing page.As an example, the user's operation can
Be selection display prompt word operation, for example, clicking or the operation of prompt word that long-pressing is shown.
Fig. 7 shows the step S20's of generation according to an exemplary embodiment of the present invention candidate word corresponding with input operation
Flow chart.
Referring to Fig. 7, in step S201, under the currently used language of the input method, generates and operated with the input
Corresponding candidate word.
In step S202, the time significant in the currently used language of the input method among the candidate word of generation
When selecting the quantity of word less than predetermined quantity, obtain that the input method generated when using other language operates pair with the input
The significant word answered, that is, obtain the input method generated when using other language it is corresponding with the input operation
Significant candidate word.Here, other described language refer to the language different from the currently used language of the input method,
As an example, other described language can be following language at least one of: the pre-set language of user, electric terminal
The language of default, user use the language that common language, the input method are defaulted when electric terminal, the input method common
It is different from language, the context of the currently used language of the input method used in language, the input method are the last
Language used in content.
As an example, can obtain the input method generated when using other multilinguals it is corresponding with the input operation
Candidate word then obtained when the candidate word that the input method is generated when using a certain language includes significant candidate word
Take the significant candidate word, the significant candidate word, that is, input method generated when using other language with it is described defeated
Enter to operate corresponding significant word.
In step S203, the lexical translation that will acquire is incited somebody to action at the word in the currently used language of the input method
Candidate word of the word translated into as supplement.It should be understood that candidate word at this time includes: the input method currently used
Language under candidate word two parts of candidate word and supplement for generating.
Further, as an example, step S30 can include: the input method that will acquire is using other described language
The prompt word of candidate word of the significant word corresponding with the input operation of Shi Shengcheng as supplement.In addition, as showing
Example, can also obtain the time that the input method generates under currently used language according to the associated exemplary embodiment in Fig. 1
Select the prompt word of word.
As shown in figure 8, the currently used language of input method is English, when the character sequence by the input operation input
When being classified as " huaxue ", under the currently used language of the input method, generation it is corresponding with the character string intentionally
The candidate word of justice is less than predetermined quantity, therefore, it is generating when using other language with the character can to obtain the input method
The corresponding significant candidate word of sequence, for example, can obtain the input method it is literary in use when it is generating with the character sequence
Arrange corresponding significant candidate word " skiing " and " chemistry ", and the candidate word " skiing " that will acquire and " chemistry " translate into it is described
Word " ski " and " chemistry " in the currently used language of input method (that is, English), and by " ski " and
" chemistry " as supplement candidate word, correspondingly, can will " skiing " and " chemistry " as supplement candidate word " ski " and
The prompt word of " chemistry ".
In the prior art, when user is inputted in electric terminal using input method, if institute current to input method
The language used is unskilled, for example, not knowing under the language or not knowing how some word is specifically spelt, then possibly can not
Needed for whether candidate word in accurate judgement candidate bar is oneself, alternatively, which candidate word is only oneself institute in candidate bar
It needs, at this moment, user needs to inquire by other query facilities (for example, translation tool etc.), this is just needed current
Input interface and query interface between toggle, and user is needed to input corresponding querying condition on query interface, grasped
Make relatively complicated, user experience is poor.In view of the above-mentioned problems existing in the prior art, an exemplary embodiment of the present invention,
The prompt word of input method candidate word can be provided a user to prompt user, user using other query facilities without additionally carrying out
Inquiry, can accurately select required candidate word, the user experience is improved from candidate word.For example, if user is to English
It cannot skillfully grasp, but very skilled to Chinese, it, can not be accurately from more approximate when inputting English content using input method
Required candidate word is selected in candidate word, an exemplary embodiment of the present invention can export in English candidate word to user
Text translates the meaning of a word to prompt user's candidate word, so that user can easily and accurately select required candidate word.In addition, user
The prompt word of candidate word can also be directly selected as input content.
Fig. 9 shows the equipment of the output input method candidate word according to an exemplary embodiment of the present invention for electric terminal
Block diagram.
As shown in figure 9, the output input method candidate word according to an exemplary embodiment of the present invention for electric terminal is set
Standby includes: to operate receiving unit 10, candidate word generation unit 20, prompt word acquiring unit 30, candidate word output unit 40 and mention
Show word output unit 50.
Particularly, operation receiving unit 10 is used to receive input operation of the user under input method.
Particularly, operation receiving unit 10 is in the case where user carries out content input using input method, for example, to defeated
Enter input text in frame, when editor's text, receive input operation of the user under input method under the text editing page.
Here, the input operation can be for the input operation in spelling region input character sequence, pass through the input method base
Character string in spelling region can generate corresponding candidate word.As an example, the input operation can be keyboard input
One of operation, voice input operation, handwriting input operation.In addition, the input operation is also possible to other kinds of input behaviour
Make, the invention is not limited in this regard.
Candidate word generation unit 20 is for generating candidate word corresponding with the input operation.
As an example, candidate word generation unit 20 can under the currently used language of the input method, generate with it is described
Input operates corresponding candidate word.
Prompt word acquiring unit 30 is used to obtain the prompt word of the candidate word generated.Here, the prompt word of candidate word is to use
In the word for playing suggesting effect for the candidate word.
As an example, the prompt word of candidate word can be the word in the language-specific that the candidate word is translated into, wherein
The language-specific is different from language used in the candidate word.It should be understood that the language-specific may include at least one language
Speech.
As an example, the language-specific may include following language at least one of: the pre-set prompt of user
Language, the language of electric terminal default, user use the language, institute that common language, the input method are defaulted when electric terminal
It is the last used different from the currently used language of the input method to state the common language of input method, the input method
Language, language used in context.
As an example, being prompted when the prompt word of candidate word is the word in language-specific that the candidate word is translated into
The candidate word of generation can be translated into the word in the language-specific by word acquiring unit 30.As an example, prompt word obtains list
The candidate word of generation can be translated into the word in the language-specific by member 30 by least one among following item: be used for
The dictionary of translation, for translation application, context.
As an example, prompt word acquiring unit 30 can obtain the prompt word of whole candidate words of generation;Alternatively, prompt word obtains
Take unit 30 that can obtain the prompt word of the candidate word currently exported;Alternatively, prompt word acquiring unit 30 can be obtained and will be exported
The prompt word of candidate word;Alternatively, prompt word acquiring unit 30 can obtain the prompt word for meeting the candidate word of specified conditions.
As an example, the specified conditions may include at least one among the following conditions: belonging to for turning over candidate word
The vocabulary being translated into the dictionary of the word in the language-specific;More than default grade of difficulty;By user from the time currently exported
It selects in word and specifies;Belong to the vocabulary in the customized dictionary of user.
As an example, when determining that prompt word acquiring unit 30 can obtain the time of generation when meeting at least one following condition
It selects the prompt word of word: the candidate of a complete word, generation can be made up of the character string of the input operation input
Word includes significant word, away from the time point for receiving input operation of the user under the input method is for the last time more than pre-
The user's operation of prompt word, the candidate word of generation that timing is long, receives for exporting the candidate word currently exported, which belong to, to be used for
Candidate word is translated into the vocabulary in the dictionary of the word in the language-specific, that the candidate word of generation belongs to user is customized
The candidate word of vocabulary, generation in dictionary is more than default grade of difficulty.
As another example, candidate word generation unit 20 can include: the first generation unit (not shown) and second generates list
First (not shown).
Particularly, the first generation unit be used under the currently used language of the input method, generate with it is described defeated
Enter and operates corresponding candidate word.Second generation unit is used among the candidate word that the first generation unit generates in the input method
When the quantity of significant candidate word is less than predetermined quantity in currently used language, obtains the input method and using other
The significant word corresponding with the input operation generated when language, the lexical translation that will acquire are current at the input method
Word in used language, and using the word translated into as the candidate word of supplement.
Further, as an example, the input method that can will acquire of prompt word acquiring unit 30 using it is described other
The prompt word of candidate word of the significant word corresponding with the input operation generated when language as supplement.
Candidate word output unit 40 is used to export the candidate word generated to user.It should be understood that candidate word output unit 40
Various modes appropriate can be used to export the candidate word generated to user.As an example, candidate word output unit 40 can be in candidate
The candidate word of generation is shown in column.
Prompt word output unit 50 is used to export corresponding prompt word to user for the candidate word of output.It should be understood that
Prompt word output unit 50 can export the prompt word of candidate word by various modes appropriate to user.As an example, prompt
Word output unit 50 can show the prompt word of candidate word to user.
As an example, prompt word output unit 50 can show corresponding prompt word around the candidate word of display.
As an example, the equipment of the output input method candidate word according to an exemplary embodiment of the present invention for electric terminal
It may also include that input unit (not shown), for working as the user received for being input to the prompt word of output in input frame
When operation, prompt word corresponding with the user's operation is input in input frame.
It should be understood that the equipment of the output input method candidate word according to an exemplary embodiment of the present invention for electric terminal
Specific implementation may be incorporated by reference the related specific implementation that Fig. 1 to Fig. 8 is described to realize, details are not described herein.
Moreover, it should be understood that the output input method candidate word according to an exemplary embodiment of the present invention for electric terminal
Equipment in each unit can be implemented hardware component and/or component software.Those skilled in the art are according to each of restriction
Processing performed by unit, can such as use site programmable gate array (FPGA) or specific integrated circuit (ASIC) realize
Each unit.
The computer readable storage medium of an exemplary embodiment of the present invention, be stored with makes when being executed by a processor
Obtain the computer journey of the method for the output input method candidate word for electric terminal of processor execution the above exemplary embodiments
Sequence.The computer readable storage medium is the arbitrary data storage device that can store the data read by computer system.It calculates
The example of machine readable storage medium storing program for executing includes: read-only memory, random access memory, CD-ROM, tape, floppy disk, light data
Storage device and carrier wave (such as being transmitted through wired or wireless transmission path by the data of internet).
The electric terminal of an exemplary embodiment of the present invention includes: that processor (not shown) and memory (do not show
Out), wherein memory is stored with computer program, when the computer program is executed by processor, realizes such as above-mentioned example
The method of the output input method candidate word for electric terminal of property embodiment.
Although having show and described some exemplary embodiments of the invention, it will be understood by those skilled in the art that
It, can be to these in the case where not departing from the principle and spirit of the invention defined by the claims and their equivalents
Embodiment is modified.
Claims (16)
1. a kind of method of the output input method candidate word for electric terminal, wherein the described method includes:
(A) input operation of the user under input method is received;
(B) candidate word corresponding with the input operation is generated;
(C) prompt word of the candidate word generated is obtained;
(D) candidate word generated is exported to user;
(E) corresponding prompt word is exported to user for the candidate word of output.
2. according to the method described in claim 1, wherein, the prompt word of candidate word is the specific language that the candidate word is translated into
The word called the turn, wherein the language-specific is different from the language of the candidate word.
3. according to the method described in claim 2, wherein, the language-specific include following language at least one of: use
The pre-set language in family, the language of electric terminal default, user use common language, the input method when electric terminal to write from memory
It is current to be different from the input method used in the language recognized, the common language of the input method, the input method are the last
Language used in the language of used language, context.
4. according to the method described in claim 2, wherein, step (C) includes:
Obtain the prompt word of the whole candidate words generated;
Alternatively, obtaining the prompt word of the candidate word currently exported;
Alternatively, obtaining the prompt word for the candidate word that will be exported;
Alternatively, obtaining the prompt word for meeting the candidate word of specified conditions.
5. according to the method described in claim 4, wherein, the specified conditions include at least one among the following conditions: belonging to
Vocabulary in the dictionary for candidate word to be translated into the word in the language-specific;More than default grade of difficulty;By with
It is specified from the candidate word currently exported at family;Belong to the vocabulary in the customized dictionary of user.
6. according to the method described in claim 2, wherein, step (C) includes:
When determining at least one condition of satisfaction or less, the prompt word of the candidate word of generation is obtained: being operated by the input defeated
The character string entered can constitute a complete word, the candidate word of generation includes significant word, away from connecing for the last time
The time point for receiving input operation of the user under the input method is more than scheduled duration, receives and currently export for exporting
The user's operation of the prompt word of candidate word, the candidate word of generation belong to for candidate word to be translated into the word in the language-specific
The candidate word of vocabulary, generation that the candidate word of vocabulary, generation in the dictionary of language belongs in the customized dictionary of user is more than pre-
If grade of difficulty.
7. according to the method described in claim 2, wherein, step (C) includes:
By among following item at least one of the candidate word of generation is translated into word in the language-specific: for turning over
The dictionary translated, for the application of translation, context.
8. according to the method described in claim 1, wherein, step (B) includes:
Under the currently used language of the input method, candidate word corresponding with the input operation is generated;
The quantity of candidate word significant in the currently used language of the input method is less than among the candidate word of generation
When predetermined quantity, the significant word corresponding with the input operation that the input method is generated when using other language is obtained
Language;
The lexical translation that will acquire at the word in the currently used language of the input method, and using the word translated into as
The candidate word of supplement.
9. according to the method described in claim 8, wherein, step (C) includes:
The input method that will acquire generates corresponding significant with the input operation when using other described language
Prompt word of the word as the candidate word of supplement.
10. according to the method described in claim 1, wherein,
Step (C) executes before step (D), and step (D) executes before step (E);
Alternatively, step (C) executes before step (D), step (D) and step (E) are performed simultaneously;
Alternatively, step (C) executes after step (D), step (E) executes after step (C).
11. according to the method described in claim 1, wherein, the input operation be keyboard input operation, voice input operation,
One of handwriting input operation.
12. according to the method described in claim 1, further include:
It, will be corresponding with the user's operation when receiving the user's operation for being input to the prompt word of output in input frame
Prompt word be input in input frame.
13. according to the method described in claim 1, wherein, step (D) includes: the candidate word for showing generation in candidate bar,
Wherein, step (E) includes: that corresponding prompt word is shown around the candidate word of display.
14. a kind of equipment of the output input method candidate word for electric terminal, wherein the equipment includes:
Receiving unit is operated, for receiving input operation of the user under input method;
Candidate word generation unit, for generating candidate word corresponding with the input operation;
Prompt word acquiring unit, for obtaining the prompt word of the candidate word generated;
Candidate word output unit, for exporting the candidate word generated to user;
Prompt word output unit exports corresponding prompt word to user for the candidate word for output.
15. a kind of computer readable storage medium for being stored with computer program, wherein when the computer program is by processor
The side of the output input method candidate word for electric terminal as described in any one in claim 1 to 13 is realized when execution
Method.
16. a kind of electric terminal, wherein the electric terminal includes:
Processor;
Memory is stored with computer program, when the computer program is executed by processor, realize as claim 1 to
Method described in any one in 13 for the output input method candidate word of electric terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810764924.7A CN109032377A (en) | 2018-07-12 | 2018-07-12 | The method and apparatus of output input method candidate word for electric terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810764924.7A CN109032377A (en) | 2018-07-12 | 2018-07-12 | The method and apparatus of output input method candidate word for electric terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109032377A true CN109032377A (en) | 2018-12-18 |
Family
ID=64640998
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810764924.7A Pending CN109032377A (en) | 2018-07-12 | 2018-07-12 | The method and apparatus of output input method candidate word for electric terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109032377A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113039513A (en) * | 2019-03-12 | 2021-06-25 | 华为技术有限公司 | Recommendation method for candidate content of input method and electronic equipment |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101178737A (en) * | 2006-12-12 | 2008-05-14 | 北京搜狗科技发展有限公司 | Method and system for publishing information related to internet key character |
CN101556508A (en) * | 2009-05-08 | 2009-10-14 | 腾讯科技(深圳)有限公司 | Candidate phrase generating method, equipment, system and device in input method |
CN102193643A (en) * | 2010-03-15 | 2011-09-21 | 北京搜狗科技发展有限公司 | Word input method and input method system having translation function |
CN102662490A (en) * | 2012-04-08 | 2012-09-12 | 北京语智云帆科技有限公司 | Inputting method having assistant translation function |
CN103838715A (en) * | 2012-11-26 | 2014-06-04 | 英业达科技有限公司 | Input system with translation prompt function and input method |
CN104133561A (en) * | 2014-07-31 | 2014-11-05 | 百度在线网络技术(北京)有限公司 | Auxiliary information display method and device based on input method |
CN104412203A (en) * | 2012-06-29 | 2015-03-11 | 微软公司 | Cross-lingual input method editor |
CN104424180A (en) * | 2013-09-09 | 2015-03-18 | 佳能株式会社 | Text input method and equipment |
CN105528342A (en) * | 2015-12-29 | 2016-04-27 | 科大讯飞股份有限公司 | Intelligent translation method and system in input method |
CN106598266A (en) * | 2008-05-19 | 2017-04-26 | 上海触乐信息科技有限公司 | Multi-language mixed input method and system |
CN107179837A (en) * | 2017-05-11 | 2017-09-19 | 北京小米移动软件有限公司 | Input method and device |
WO2017181355A1 (en) * | 2016-04-20 | 2017-10-26 | Google Inc. | Automatic translations by keyboard |
US20180060312A1 (en) * | 2016-08-23 | 2018-03-01 | Microsoft Technology Licensing, Llc | Providing ideogram translation |
CN107765888A (en) * | 2017-10-10 | 2018-03-06 | 杭州来布科技有限公司 | A kind of Chinese character input method and terminal |
-
2018
- 2018-07-12 CN CN201810764924.7A patent/CN109032377A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101178737A (en) * | 2006-12-12 | 2008-05-14 | 北京搜狗科技发展有限公司 | Method and system for publishing information related to internet key character |
CN106598266A (en) * | 2008-05-19 | 2017-04-26 | 上海触乐信息科技有限公司 | Multi-language mixed input method and system |
CN101556508A (en) * | 2009-05-08 | 2009-10-14 | 腾讯科技(深圳)有限公司 | Candidate phrase generating method, equipment, system and device in input method |
CN102193643A (en) * | 2010-03-15 | 2011-09-21 | 北京搜狗科技发展有限公司 | Word input method and input method system having translation function |
CN102662490A (en) * | 2012-04-08 | 2012-09-12 | 北京语智云帆科技有限公司 | Inputting method having assistant translation function |
CN104412203A (en) * | 2012-06-29 | 2015-03-11 | 微软公司 | Cross-lingual input method editor |
CN103838715A (en) * | 2012-11-26 | 2014-06-04 | 英业达科技有限公司 | Input system with translation prompt function and input method |
CN104424180A (en) * | 2013-09-09 | 2015-03-18 | 佳能株式会社 | Text input method and equipment |
CN104133561A (en) * | 2014-07-31 | 2014-11-05 | 百度在线网络技术(北京)有限公司 | Auxiliary information display method and device based on input method |
CN105528342A (en) * | 2015-12-29 | 2016-04-27 | 科大讯飞股份有限公司 | Intelligent translation method and system in input method |
WO2017181355A1 (en) * | 2016-04-20 | 2017-10-26 | Google Inc. | Automatic translations by keyboard |
US20180060312A1 (en) * | 2016-08-23 | 2018-03-01 | Microsoft Technology Licensing, Llc | Providing ideogram translation |
CN107179837A (en) * | 2017-05-11 | 2017-09-19 | 北京小米移动软件有限公司 | Input method and device |
CN107765888A (en) * | 2017-10-10 | 2018-03-06 | 杭州来布科技有限公司 | A kind of Chinese character input method and terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113039513A (en) * | 2019-03-12 | 2021-06-25 | 华为技术有限公司 | Recommendation method for candidate content of input method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6517352B2 (en) | Method and system for providing translation information | |
TWI394065B (en) | Multiple predictions in a reduced keyboard disambiguating system | |
US9710452B2 (en) | Input method editor having a secondary language mode | |
TWI470450B (en) | All-in-one chinese character input method and electronic device thereof | |
US20110201387A1 (en) | Real-time typing assistance | |
JP2003223437A (en) | Method of displaying candidate for correct word, method of checking spelling, computer device, and program | |
KR20160065174A (en) | Emoji for text predictions | |
US20110173172A1 (en) | Input method editor integration | |
WO2017098332A2 (en) | Method and system for inputting information | |
TW200900967A (en) | Multi-mode input method editor | |
CN110427627A (en) | Task processing method and device based on semantic expressiveness model | |
CN103914539A (en) | Information search method and device | |
WO2022135474A1 (en) | Information recommendation method and apparatus, and electronic device | |
CN115082602B (en) | Method for generating digital person, training method, training device, training equipment and training medium for model | |
CN108763552A (en) | A kind of learning method and private tutor's machine based on private tutor's machine | |
US11868345B2 (en) | Information processing system, electronic device, information processing method, and recording medium | |
JP6690828B2 (en) | Method and apparatus for keyword-based text search | |
JP6165382B2 (en) | Multilingual translation apparatus and multilingual translation method | |
CN109032377A (en) | The method and apparatus of output input method candidate word for electric terminal | |
CN104484366B (en) | Site information providing method and device based on input method | |
WO2012015021A1 (en) | Stroke and structure input method and system | |
JP7208968B2 (en) | Information processing method, device and storage medium | |
KR101645674B1 (en) | Method for autocomplete candidate word and apparatus thereof | |
CN112181167A (en) | Input method candidate word processing method and electronic equipment | |
JP2008059169A (en) | Chinese example sentence retrieval apparatus and program for process of retrieving chinese example sentence |
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: 20181218 |
|
RJ01 | Rejection of invention patent application after publication |