WO2016119549A1 - Input-based candidate text loading method and apparatus - Google Patents

Input-based candidate text loading method and apparatus Download PDF

Info

Publication number
WO2016119549A1
WO2016119549A1 PCT/CN2015/098987 CN2015098987W WO2016119549A1 WO 2016119549 A1 WO2016119549 A1 WO 2016119549A1 CN 2015098987 W CN2015098987 W CN 2015098987W WO 2016119549 A1 WO2016119549 A1 WO 2016119549A1
Authority
WO
WIPO (PCT)
Prior art keywords
candidate
candidate text
character
english
character string
Prior art date
Application number
PCT/CN2015/098987
Other languages
French (fr)
Chinese (zh)
Inventor
张文旭
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
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 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2016119549A1 publication Critical patent/WO2016119549A1/en

Links

Images

Classifications

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

Definitions

  • the present invention relates to the field of word processing technologies, and in particular, to a loading method based on input candidate text and a loading device based on input candidate text.
  • the text that the user usually needs to input includes Chinese, English, numbers, symbols, etc. If the input method can only provide a single type of candidate, the user needs to frequently switch the input method to complete the text input, which will greatly reduce the text. Input efficiency.
  • the mixing function has become one of the functions necessary for the current input method program.
  • Some input method programs when inputting English and numbers, often need to slide and turn pages to find the input that the user expects, and even can not find the input desired by the user.
  • the user needs to manually input a word or a number, and the operation is troublesome. Input efficiency is very low.
  • the present invention has been made in order to provide an input-based candidate text loading method and a corresponding input-based candidate text loading device that overcomes the above problems or at least partially solves or alleviates the above problems.
  • a loading method based on input candidate text including the steps of:
  • the triggered key When the triggered key is detected, one or more first character strings corresponding to the key are loaded, and the first candidate text corresponding to each first character string; the first candidate text includes Chinese candidate text, English At least one of candidate texts and digital candidate texts;
  • the first target button is an operation button corresponding to a character string of the currently undetermined candidate text
  • the second candidate text includes English candidate texts and digital candidates At least one of the texts.
  • a loading device based on input candidate texts including:
  • a first loading module configured to load, when the triggered button is detected, one or more first character strings corresponding to the button, and a first candidate text corresponding to each first character string; the first candidate The text includes at least one of a Chinese candidate text, an English candidate text, and a digital candidate text;
  • a first determining module configured to determine a first target button when the specified operation event is monitored; the first target button is an operation button corresponding to a character string of the currently undetermined candidate text;
  • a second loading module configured to load one or more second character strings corresponding to the first target button, and second candidate text corresponding to each second character string; the second candidate text includes English candidate texts At least one of the digital candidate texts.
  • a computer program comprising computer readable code, when said computer readable code is run on a computing device, causing said computing device to perform said input based candidate text Load method.
  • a computer readable medium wherein the computer program described above is stored.
  • the embodiment of the present invention loads at least one of the first candidate text including the Chinese candidate text, the English candidate text, and the digital candidate text, and determines the first target button when the specified operation event is monitored.
  • the second candidate text including at least one of the English candidate text and the digital candidate text is loaded, and the second candidate text is filtered by the specified operation event, thereby eliminating a plurality of interferences, and reducing the user sliding candidate region and the sliding auxiliary candidate. Operations such as columns greatly improve the convenience of input, thereby improving the efficiency of input.
  • the first character string, and/or the second character string is used to sort the preceding one or more characters as the second candidate text, and the self-created words are satisfied, which satisfies the requirements of certain inputs and speeds up self-made.
  • the speed and success rate of mixed candidate texts of English candidate texts, digital candidate texts or English candidate texts and digital candidate texts can avoid group words by English words or numbers one by one, further improving the efficiency of input.
  • FIG. 1 is a flow chart showing the steps of Embodiment 1 of a loading method based on input candidate text according to an embodiment of the present invention
  • FIG. 2 is a view schematically showing an example of a nine-square grid keyboard according to an embodiment of the present invention
  • FIG. 3A-3D schematically illustrate an input example interface diagram in accordance with one embodiment of the present invention
  • Embodiment 4 is a flow chart showing the steps of Embodiment 2 of a loading method based on input candidate texts according to an embodiment of the present invention
  • FIG. 5 is a block diagram schematically showing an embodiment of a loading device embodiment based on input candidate texts according to an embodiment of the present invention
  • Figure 6 shows schematically a block diagram of a computing device for performing the method according to the invention
  • Fig. 7 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
  • an input method program realizes the Chinese-English mixed function by adding Chinese-English and Chinese mixed words in the thesaurus, and the binary relationship between Chinese words and English words and Chinese words and numbers.
  • a mixed word that can match the code string can be searched in the vocabulary and displayed through the candidate region. If necessary, the combination candidate with the greatest probability can be calculated by the binary relationship between the words, candidate It may consist of Chinese words and English words, Chinese words and numbers.
  • the user needs to select the desired candidate to complete the input by sliding the candidate area.
  • mixed words There are two sources of mixed words that can be output by the input method program: mixed words that already exist in the thesaurus, and combined words given by dynamic group words.
  • the expected candidate, the input method does not provide a filtering method to help the user quickly find the desired English candidate, digital candidate, usually the user needs to select the desired candidate by sliding the candidate region (or page turning operation), often needs to go down It is possible to find a candidate that meets the expectations, and may even be unable to find the desired English candidate.
  • the input of the word can only be completed by selecting the letter in the word one by one, and the input cost is high.
  • Another input method presets the commonly used Chinese-English mixed words in the thesaurus, and the binary relationship between Chinese words and English words.
  • the input method searches the thesaurus for a mixed word that can match the code string and displays it through the candidate area. If necessary, the combination candidate with the greatest probability is calculated by the binary relationship between words, and the combination candidate may be composed of Chinese words and English words.
  • the user combines the candidates by selecting the candidate segments. If the current candidate segment is Chinese, the candidate segment is directly searched and selected in the candidate column; if the current candidate segment is in English, the user can slide the auxiliary candidate column to the end, and click the "English” button to enter the English mode, at this time, the candidate column only With English candidates left, users can quickly find and select the desired English words.
  • the input method cannot output a mixed number of words, the "English” button is at the end of the auxiliary candidate column, and the user prefers to perform a sliding operation in order to click the button. Moreover, since the number of auxiliary candidates in the auxiliary candidate column is changed, the position of the "English” button will change after the English segment is selected, and the user needs to slide the auxiliary candidate column again, which is very troublesome.
  • FIG. 1 a flow chart of the steps of the loading method of the input method based on the input of the candidate text according to an embodiment of the present invention is shown.
  • Step 101 When the triggered button is detected, loading one or more first character strings corresponding to the button, and the first candidate text corresponding to each first character string;
  • the embodiment of the present invention may be applied to an electronic device having a touch screen or a physical keyboard, and may specifically include a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a laptop computer, etc., and the present invention.
  • the embodiment does not limit this.
  • These electronic terminals can support operating systems including Windows, Android (Android), IOS, Windows Phone, etc., and can usually run applications that are input through a keyboard such as a virtual keyboard or a physical keyboard.
  • a keyboard such as a virtual keyboard or a physical keyboard.
  • the virtual keyboard or the physical keyboard may include a nine-square grid keyboard, a full keyboard (such as a QWERT keyboard), and the like, and the application may include an input method program and the like.
  • the user can trigger a button on the keyboard by touching or clicking a physical button on the touch screen, and the input method can query the corresponding first candidate file, and the first candidate text can include Chinese. At least one of the candidate text, the English candidate text, and the digital candidate text can be visually converted into a Chinese-English number input mode.
  • step 101 may include the following sub-steps:
  • Sub-step S11 extracting one or more first characters associated with each button
  • the first character may include at least one of a Chinese character, an English character, and a numeric character;
  • buttons are generally arranged on the keyboard.
  • a nine-square keyboard generally has at least nine buttons
  • a full keyboard generally has at least 26 buttons.
  • Most of the buttons can be used to input characters, and many buttons are often reused. You can enter different characters, including but not limited to numeric characters, English characters, Chinese characters, and symbol characters.
  • Chinese characters can include pinyin characters and stroke characters.
  • the button 201 is associated with a Chinese character, which may include a pinyin character vowel "a”, an initial “b”, an initial “c”, a stroke character " ⁇ ", and associated numeric characters. "2”, associated English characters “a”, “b”, “c”, "A”, “B”, “C”.
  • buttons 0-9 are generally distributed on different keys, and these keys distribute the more important Chinese characters and English characters at the same time, and the frequency of use is very high. Therefore, for convenience, the following buttons are used.
  • the associated number identifies the button.
  • button 2 can represent the button where the number "2" is located.
  • Sub-step S12 combining one or more first characters associated with each button into one or more first character strings
  • the first character string may include at least one of a Chinese character string, an English character string, and a numeric character string;
  • the character string may include one character (such as a simple spelling input), and may also include multiple characters, which is not limited by the embodiment of the present invention.
  • each key is associated with one or more characters, and the characters associated with the adjacent keys can form a character string.
  • the user triggers the button “47466367587” in the nine-square grid keyboard, and expects to input "iPhone6plus”.
  • the Chinese characters “h” and “g” associated with the button “4" can be composed of Chinese characters, and the Chinese characters “q”, “i”, “n”, “m”, “e” associated with the button “746636” respectively.
  • “n” can form the Chinese string “qinmen”, the character “i”, “P”, “h”, “o”, “n”, “e”, which are associated with the string "4746636”.
  • "6” can be composed of an "iPhone6” mixed with an English string and a numeric string, and the like.
  • Sub-step S13 searching for one or more first candidate texts corresponding to the one or more first character strings in a preset vocabulary
  • the first candidate text may include at least one of a Chinese candidate text, an English candidate text, and a digital candidate text;
  • a mixed candidate text of at least one of commonly used Chinese candidate texts, English candidate texts, and digital candidate texts, and Chinese candidate texts, English candidate texts, and digital candidate texts may be preset in the thesaurus.
  • the mixed candidate text may be extracted as the first candidate text
  • the text corresponding to the first string conforms to the binary relationship, the text can be combined into the first candidate text.
  • the Chinese candidate texts corresponding to the Chinese character strings "h” and “g” are "also", “give”, and the like.
  • the Chinese candidate text corresponding to the Chinese character string "qinmen” is "pro” and the like.
  • the English character string and the numeric character string can be extracted as English candidate texts and digital candidate texts.
  • iPhone6 a mixture of English strings and numeric strings, can be used as "iPhone6" in which English candidate text and digital candidate text are mixed.
  • Sub-step S14 displaying the one or more first character strings in a character string area
  • the character string area may display at least part of the first character string, and the currently displayed first character string may be the first character string with the highest application probability.
  • the first character string "h'qinmen'q'ju's” can be displayed in the character string area 301.
  • Sub-step S15 the one or more first candidate texts in the candidate area.
  • the candidate region may display at least part of the first candidate text, and the currently displayed first candidate text may be the first candidate text with the highest application probability.
  • the first candidate text "Please raise your hand”, “Please raise your hand”, “iPhone6” can be displayed in the candidate area 302. ", "iPhone” and so on.
  • Step 102 When listening to the specified operation event, determining the first target button
  • the current user desires the English candidate text, the digital candidate text, or the mixed candidate text of the English candidate text and the digital candidate text, the current user does not have the user's expectation.
  • the candidate text can perform a specified operation and trigger the specified operation event to filter the candidate candidate text of the English candidate text, the digital candidate text, or the English candidate text and the digital candidate text, and can be visually converted into an English number input mode.
  • the specified operational event may include a trigger event specifying a button.
  • a designated button 202 (“EN" logo) can be provided. If the user clicks the button 202, the trigger event of the designated designated button can be triggered.
  • the designated button can be located on the current interface to prevent the user from turning pages and directly clicking to improve the convenience of input.
  • the embodiment of the present invention may also adopt other specified operation events, for example, a specified gesture slip event, which is not limited by the embodiment of the present invention.
  • the first target button may be determined, and the first target button may be an operation button corresponding to the character string of the currently undetermined candidate text;
  • the first target button may be a partially triggered button, that is, the user may determine part of the candidate text at least once.
  • the user triggers the button "47466367587” in the nine-square grid keyboard, and expects to input "iPhone6plus”, and determines the English candidate text "iPhone”.
  • the user can click The designated button is used to filter the candidate text.
  • the character string corresponding to the English candidate text "iPhone” is “iPhone”
  • the button "474663” corresponding to the character string "iPhone” the first target button is "67587".
  • the first target button may also be a fully triggered button, that is, the user has not previously determined the candidate text.
  • the user triggers the button "43946498269246254" in the nine-square grid keyboard, triggering the desired input "where the 4D theater is.” If the current candidate text does not have "4D”, the user can click the designated button, and the first target button is "43946498269246254". .
  • Step 103 Load one or more second character strings corresponding to the first target button, and second candidate text corresponding to each second character string;
  • the second candidate text may include at least one of an English candidate text and a digital candidate text.
  • the input method program may filter at least one of the English candidate text and the digital candidate text in the candidate text of the second character string to speed up the English mixed input.
  • step 103 may include the following sub-steps:
  • Sub-step S21 extracting each first target button associated with one or more second characters
  • the second character may include at least one of an English character and a numeric character
  • the first target button can care about English characters and numeric characters can be combined, and Chinese characters can be ignored.
  • the button 201 is the first target button, the associated numeric character "2", the associated English characters "a”, “b”, “c", “A”, “B”, “C”, and its associated Chinese characters can be ignored.
  • the Chinese characters can include the pinyin character vowel “a”, the initial “b”, the initial "c", and the stroke character " ⁇ ".
  • Sub-step S22 combining one or more second characters associated with each first target button into one or more second character strings
  • the second character string may include at least one of a Chinese-English string and a numeric string
  • Sub-step S23 searching for one or more second candidate texts corresponding to the one or more second character strings in a preset vocabulary
  • the second candidate text may include at least one of an English candidate text and a digital candidate text
  • Sub-step S24 displaying the one or more second character strings in a character string area
  • Sub-step S25 displaying the one or more second candidate texts in the candidate area.
  • a mixed candidate text of at least one of commonly used Chinese candidate texts, English candidate texts, and digital candidate texts, and binary of any two of Chinese candidate texts, English candidate texts, and digital candidate texts may be preset. Relationships to provide commonly used mixed word candidates and mixed dynamic group word candidates.
  • the mixed candidate text may be extracted as the second candidate text
  • the text corresponding to the first character string conforms to the binary relationship between the English candidate text and the digital candidate text, the text may be combined into the second candidate text.
  • the English character string and the numeric character string can be extracted as English candidate texts and digital candidate texts.
  • step 103 may include the following sub-steps:
  • Sub-step S31 extracting each first target button associated with one or more second characters
  • the second character may include at least one of an English character and a numeric character
  • Sub-step S32 combining one or more second characters associated with each first target button into one or more second character strings
  • the second character string may include at least one of a Chinese-English string and a numeric string
  • Sub-step S33 extracting the one or more second character strings, and/or sorting the first one or more characters in the one or more second character strings to obtain a second candidate text;
  • the second candidate text includes at least one of an English candidate text and a digital candidate text
  • Sub-step S34 displaying the one or more second character strings in a character string area
  • Sub-step S35 displaying the one or more second candidate texts in the candidate area.
  • a manner of quickly creating a mixed candidate text of an English candidate text, a digital candidate text, or an English candidate text or a digital candidate text may be provided.
  • candidate texts of the same length as the second character string may be provided, and several shorter second string prefixes (such as 1-4 characters) may be provided as candidate texts, which will speed up the user's self-created process.
  • the second character string "6" corresponding to the second target button “6” can be loaded in the form of self-created words.
  • the input method program can be in the thesaurus.
  • the string "plus” in which the button “7587” is found matches the preset English candidate text "plus”, and is loaded in the candidate area.
  • the input of "iPhone6plus” can be completed.
  • the character string "16012345678" which is the same length as the mobile phone number can quickly select the digital candidate text "16012345678", and some users are accustomed to the 3-4 digits as a whole input, then 16012345678 can Split into “160", "1234", "5678" input.
  • the second string prefix may be used as a candidate text for quick input.
  • the first character string, and/or the second character string is used to sort the preceding one or more characters as the second candidate text, and the self-created words are satisfied, which satisfies the requirements of certain inputs and speeds up self-made.
  • the speed and success rate of mixed candidate texts of English candidate texts, digital candidate texts or English candidate texts and digital candidate texts can avoid group words by English words or numbers one by one, further improving the efficiency of input.
  • step 103 may further include the following sub-steps:
  • Sub-step S41 the second candidate text is sorted according to word length and/or word frequency.
  • the word frequency may be set in the vocabulary, and the word frequency may be the word frequency of the collecting group user, or may be the word frequency used by the current user.
  • the second candidate text with longer word length and higher word frequency can be ranked higher in order to facilitate user selection.
  • the word frequency of "plus” is higher than the word frequency of "7587”, then the position of "plus” is ranked before “7587”, and the word length of "7587” is longer than “758”. , then the position of "7587” can be ranked before "758".
  • the frequency of users using Chinese is generally greater than that of English and numbers.
  • the area for displaying candidate texts is very limited. Therefore, the frequency is preferred to display the most. It may meet several user-predicted candidate texts to meet the needs of most users. This results in candidate texts such as English and numbers, which are often buried in deep positions, many of which are not displayed. Users need to slide candidate areas and so on. Finding the desired candidate text is cumbersome. This feature is especially noticeable in mobile devices. When a user clicks on a button, it may cause irreparable damage to the input, such as selecting an unwanted candidate text, or deleting it. A selected candidate text.
  • the embodiment of the present invention loads at least one of the first candidate text including the Chinese candidate text, the English candidate text, and the digital candidate text, and determines the first target button when the specified operation event is monitored.
  • the second candidate text including at least one of the English candidate text and the digital candidate text is loaded, and the second candidate text is filtered by the specified operation event, thereby eliminating a plurality of interferences, and reducing the user sliding candidate region and the sliding auxiliary candidate. Operations such as columns greatly improve the convenience of input, thereby improving the efficiency of input.
  • Embodiment 2 of the loading method based on the input candidate text according to an embodiment of the present invention is shown. Specifically, the method may include the following steps:
  • Step 401 When the triggered button is detected, loading one or more first character strings corresponding to the button, and first candidate text corresponding to each first character string; the first candidate text includes a Chinese candidate At least one of text, English candidate text, and digital candidate text;
  • Step 402 When the confirmation operation is detected, move the first candidate text corresponding to the confirmation indication into the character string area.
  • the user can trigger the confirmation operation by touching the touch, moving the focus to the first candidate text, and pressing the confirmation key, and the first candidate text corresponding to the input method can be moved to A string area to prompt the user that the first candidate text has been selected.
  • the user can touch the first candidate text "iPhone” by touch, and as shown in FIG. 3B, the first candidate text "iPhone” is moved into the character string area.
  • the first candidate text corresponding to the confirmation indication may be the candidate text corresponding to the character string of all the triggered keys, that is, the first candidate text may include the complete text that the user desires to input.
  • Step 403 when the specified operation event is monitored, determining a first target button;
  • the first target button is an operation button corresponding to a character string of the currently undetermined candidate text;
  • Step 404 Load one or more second character strings corresponding to the first target button, and second candidate text corresponding to each second character string; the second candidate text includes English candidate text and digital candidate text. At least one of them.
  • Step 405 When the specified operation event is monitored, determining a second target button; the second target button is an operation button corresponding to a character string of the currently undetermined candidate text;
  • Step 406 Load one or more third character strings corresponding to the second target button, and a third candidate text corresponding to each third character string;
  • the third candidate text may include at least one of a Chinese candidate text, an English candidate text, and a digital candidate text.
  • the specified operation can be performed again, and the mode is switched to the Chinese-English number input mode.
  • step 406 may include the following sub-steps:
  • Sub-step S51 extracting each second target button associated with one or more third characters
  • the third character may include at least one of a Chinese character, an English character, and a numeric character;
  • Sub-step S52 combining one or more third characters associated with each second target button into one or more third character strings
  • the third character string may include at least one of a Chinese character string, an English character string, and a numeric character string;
  • Sub-step S53 searching for one or more third candidate texts corresponding to the one or more third character strings in a preset vocabulary
  • the third candidate text may include Chinese candidate text, English candidate text, and number. At least one of the candidate texts;
  • Sub-step S54 displaying the one or more third character strings in a character string area
  • Sub-step S55 the one or more third candidate texts in the candidate area.
  • the description is relatively simple, and the relevant part can be referred to the sub-step S11 - the description of the sub-step S15.
  • the embodiments of the present invention are not described in detail herein.
  • FIG. 5 a structural block diagram of an embodiment of a loading device based on input candidate texts according to an embodiment of the present invention is shown. Specifically, the following modules may be included:
  • the first loading module 501 is configured to: when detecting the triggered button, load one or more first character strings corresponding to the button, and first candidate text corresponding to each first character string;
  • the candidate text includes at least one of a Chinese candidate text, an English candidate text, and a digital candidate text;
  • the first determining module 502 is configured to determine a first target button when the specified operation event is monitored; the first target button is an operation button corresponding to a character string of the currently undetermined candidate text;
  • a second loading module 503 configured to load one or more second character strings corresponding to the first target button, and second candidate text corresponding to each second character string; the second candidate text includes an English candidate At least one of text, digital candidate text.
  • the first loading module 501 is further adapted to:
  • the first character includes at least one of a Chinese character, an English character, and a numeric character;
  • the first character string includes at least one of a Chinese character string, an English character string, and a numeric character string;
  • the one or more first candidate texts in the candidate region are the same or more first candidate texts in the candidate region.
  • the specified operation event may include specifying The trigger event of the button.
  • the second loading module 503 is further adapted to:
  • the second character string includes at least one of a Chinese-English character string and a numeric character string;
  • the second candidate text includes at least one of an English candidate text and a digital candidate text;
  • the one or more second candidate texts are displayed in the candidate area.
  • the second loading module 503 is further adapted to:
  • the second character string includes at least one of a Chinese-English character string and a numeric character string;
  • the second candidate text Including at least one of an English candidate text and a numerical candidate text;
  • the one or more second candidate texts are displayed in the candidate area.
  • the second loading module 503 is further adapted to:
  • the second candidate text is sorted by word length and/or word frequency.
  • the device may further comprise the following modules:
  • a moving module configured to move the first candidate text corresponding to the confirmation indication into the character string area when the confirmation operation is monitored.
  • the device may further comprise the following modules:
  • a second determining module configured to determine a second target button when the specified operation event is monitored; and the second target button is an operation button corresponding to the character string of the currently undetermined candidate text;
  • a third loading module configured to load one or more third character strings corresponding to the second target button, and third candidate text corresponding to each third character string; the third candidate text includes Chinese candidate text At least one of an English candidate text and a digital candidate text.
  • the third loading module may be further adapted to:
  • Extracting each second target button associated with one or more third characters includes At least one of a character character, an English character, and a numeric character;
  • the third string includes at least one of a Chinese character string, an English character string, and a numeric character string ;
  • the third candidate text includes at least one of Chinese candidate text, English candidate text, and digital candidate text One;
  • the one or more third candidate texts in the candidate region are the one or more third candidate texts in the candidate region.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of some or all of the components of the input-based candidate text loading device in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 6 illustrates a load computing device, such as an application server, that can implement input-based candidate text in accordance with the present invention.
  • the computing device conventionally includes a processor 610 and a computer program product or computer readable medium in the form of a memory 620.
  • the memory 620 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 620 has a memory space 630 for program code 631 for performing any of the method steps described above.
  • storage space 630 for program code may include various program code 631 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 620 in the computing device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 631', i.e., may be, for example, by 610.
  • a code read by a processor such as when executed by a computing device, causes the computing device to perform various steps in the methods described above.

Abstract

Disclosed are an input-based candidate text loading method and apparatus, the method comprising: when a triggered key is detected, loading one or more first character strings corresponding to the key and a first candidate text corresponding to each first character string (101); when a specified operation event is monitored, determining a first target key (102), wherein the first target key is an operation key corresponding to character strings with currently undetermined candidate texts; loading one or more second character strings corresponding to the first target key and a second candidate text corresponding to each second character string (103). The above mentioned method and apparatus eliminate many disturbances, reduce the operations like sliding of a candidate area and sliding of an auxiliary candidate field by a user et al., and greatly improve the input convenience and therefore the input efficiency.

Description

一种基于输入的候选文本的加载方法和装置Method and device for loading candidate text based on input 技术领域Technical field
本发明涉及文字处理技术领域,尤其涉及一种基于输入的候选文本的加载方法和一种基于输入的候选文本的加载装置。The present invention relates to the field of word processing technologies, and in particular, to a loading method based on input candidate text and a loading device based on input candidate text.
背景技术Background technique
随着科技的迅猛发展,人们使用电子设备的频率越来越高,在人们使用电子设备过程中很多时候都需要进行信息输入,例如发邮件、上网搜索资料、发微博等等。With the rapid development of technology, people use electronic devices more and more frequently. In people's use of electronic devices, information input is often required, such as sending emails, searching for information on the Internet, and sending Weibo.
在输入场景中,用户通常需要输入的文本包括中文,英文,数字,符号等,如果输入法只能提供单一类型的候选,则用户需要频繁切换输入法才能完成文本的输入,这将极大地降低输入效率。In the input scene, the text that the user usually needs to input includes Chinese, English, numbers, symbols, etc. If the input method can only provide a single type of candidate, the user needs to frequently switch the input method to complete the text input, which will greatly reduce the text. Input efficiency.
为了提升用户的输入体验,混输功能成为了当前输入法程序必备的功能之一。In order to enhance the user's input experience, the mixing function has become one of the functions necessary for the current input method program.
现在用户使用英文、数字输入的情景越来越多,如一些国际化科技产品的名称往往是英文数字组合。Nowadays, users are using English and digital input more and more scenes. For example, the names of some international technology products are often English and digital combinations.
一些输入法程序,在输入英文、数字时,往往需要滑动、翻页操作,才可以找到用户期望的输入,甚至无法找到用户期望的输入,用户需要手动一个单词或一个数字进行输入,操作麻烦,输入效率很低。Some input method programs, when inputting English and numbers, often need to slide and turn pages to find the input that the user expects, and even can not find the input desired by the user. The user needs to manually input a word or a number, and the operation is troublesome. Input efficiency is very low.
发明内容Summary of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决或减缓上述问题的一种基于输入的候选文本的加载方法和相应的一种基于输入的候选文本的加载装置。In view of the above problems, the present invention has been made in order to provide an input-based candidate text loading method and a corresponding input-based candidate text loading device that overcomes the above problems or at least partially solves or alleviates the above problems.
根据本发明的一个方面,提供了一种基于输入的候选文本的加载方法,包括步骤:According to an aspect of the present invention, a loading method based on input candidate text is provided, including the steps of:
当检测到触发的按键时,加载所述按键对应的一个或多个第一字符串,与,每个第一字符串对应的第一候选文本;所述第一候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者;When the triggered key is detected, one or more first character strings corresponding to the key are loaded, and the first candidate text corresponding to each first character string; the first candidate text includes Chinese candidate text, English At least one of candidate texts and digital candidate texts;
当监听到指定的操作事件时,确定第一目标按键;所述第一目标按键为当前未确定候选文本的字符串对应的操作按键;Determining a first target button when the specified operation event is detected; the first target button is an operation button corresponding to a character string of the currently undetermined candidate text;
加载所述第一目标按键对应的一个或多个第二字符串,与,每个第二字符串对应的第二候选文本;所述第二候选文本包括英文候选文本、数字候选 文本中的至少一者。Loading one or more second character strings corresponding to the first target button, and second candidate text corresponding to each second character string; the second candidate text includes English candidate texts and digital candidates At least one of the texts.
根据本发明的另一方面,提供了一种基于输入的候选文本的加载装置,包括:According to another aspect of the present invention, a loading device based on input candidate texts is provided, including:
第一加载模块,适于在检测到触发的按键时,加载所述按键对应的一个或多个第一字符串,与,每个第一字符串对应的第一候选文本;所述第一候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者;a first loading module, configured to load, when the triggered button is detected, one or more first character strings corresponding to the button, and a first candidate text corresponding to each first character string; the first candidate The text includes at least one of a Chinese candidate text, an English candidate text, and a digital candidate text;
第一确定模块,适于在监听到指定的操作事件时,确定第一目标按键;所述第一目标按键为当前未确定候选文本的字符串对应的操作按键;a first determining module, configured to determine a first target button when the specified operation event is monitored; the first target button is an operation button corresponding to a character string of the currently undetermined candidate text;
第二加载模块,适于加载所述第一目标按键对应的一个或多个第二字符串,与,每个第二字符串对应的第二候选文本;所述第二候选文本包括英文候选文本、数字候选文本中的至少一者。a second loading module, configured to load one or more second character strings corresponding to the first target button, and second candidate text corresponding to each second character string; the second candidate text includes English candidate texts At least one of the digital candidate texts.
根据本发明的又一个方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行上述的基于输入的候选文本的加载方法。According to still another aspect of the present invention, a computer program is provided, comprising computer readable code, when said computer readable code is run on a computing device, causing said computing device to perform said input based candidate text Load method.
根据本发明的再一个方面,提供了一种计算机可读介质,其中存储了上述的计算机程序。According to still another aspect of the present invention, a computer readable medium is provided, wherein the computer program described above is stored.
本发明的有益效果为:The beneficial effects of the invention are:
本发明实施例在检测到触发的按键时,加载包括中文候选文本、英文候选文本、数字候选文本中的至少一者第一候选文本,在监听到指定的操作事件时,确定第一目标按键,以加载包括英文候选文本、数字候选文本中的至少一者的第二候选文本,通过指定的操作事件进行第二候选文本的筛选,排除了众多的干扰,减少了用户滑动候选区域、滑动辅助候选栏等操作,大大提高了输入的便捷性,进而提高了输入的效率。When detecting the triggered key, the embodiment of the present invention loads at least one of the first candidate text including the Chinese candidate text, the English candidate text, and the digital candidate text, and determines the first target button when the specified operation event is monitored. The second candidate text including at least one of the English candidate text and the digital candidate text is loaded, and the second candidate text is filtered by the specified operation event, thereby eliminating a plurality of interferences, and reducing the user sliding candidate region and the sliding auxiliary candidate. Operations such as columns greatly improve the convenience of input, thereby improving the efficiency of input.
本发明实施例以第二字符串,和/或,第二字符串中排序在前的一个或多个字符作为第二候选文本,进行自造词,满足了某些输入的需求,加快自造英文候选文本、数字候选文本或者英文候选文本、数字候选文本的混合候选文本的速度和成功率,避免逐个英文单词或逐个数字进行组词,进一步提高了输入的效率。In the embodiment of the present invention, the first character string, and/or the second character string is used to sort the preceding one or more characters as the second candidate text, and the self-created words are satisfied, which satisfies the requirements of certain inputs and speeds up self-made. The speed and success rate of mixed candidate texts of English candidate texts, digital candidate texts or English candidate texts and digital candidate texts can avoid group words by English words or numbers one by one, further improving the efficiency of input.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.
附图说明 DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1示意性地示出了根据本发明一个实施例的一种基于输入的候选文本的加载方法实施例1的步骤流程图;FIG. 1 is a flow chart showing the steps of Embodiment 1 of a loading method based on input candidate text according to an embodiment of the present invention; FIG.
图2示意性地示出了根据本发明一个实施例的一种九宫格键盘的示例图;FIG. 2 is a view schematically showing an example of a nine-square grid keyboard according to an embodiment of the present invention; FIG.
图3A-图3D示意性地示出了根据本发明一个实施例的一种输入示例界面图;3A-3D schematically illustrate an input example interface diagram in accordance with one embodiment of the present invention;
图4示意性地示出了根据本发明一个实施例的一种基于输入的候选文本的加载方法实施例2的步骤流程图;以及4 is a flow chart showing the steps of Embodiment 2 of a loading method based on input candidate texts according to an embodiment of the present invention;
图5示意性地示出了根据本发明一个实施例的一种基于输入的候选文本的加载装置实施例的结构框图;FIG. 5 is a block diagram schematically showing an embodiment of a loading device embodiment based on input candidate texts according to an embodiment of the present invention; FIG.
图6示意性地示出了用于执行根据本发明的方法的计算设备的框图;以及Figure 6 shows schematically a block diagram of a computing device for performing the method according to the invention;
图7示意性地示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。Fig. 7 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
具体实施例Specific embodiment
下面结合附图和具体的实施方式对本发明作进一步的描述。The invention is further described below in conjunction with the drawings and specific embodiments.
针对用户混输的需求,某个输入法程序通过在词库中增加中英、中数混合词,以及,中文词与英文单词、中文词与数字的二元关系实现中英数混输功能。For the user's mixed demand, an input method program realizes the Chinese-English mixed function by adding Chinese-English and Chinese mixed words in the thesaurus, and the binary relationship between Chinese words and English words and Chinese words and numbers.
对于用户输入编码串,可以在词库中搜索能够与编码串匹配的混合词,并通过候选区域展示出来,如果需要,可以通过词语之间的二元关系,计算出概率最大的组合候选,候选可能由中文词与英文单词、中文词与数字组成。For the user input code string, a mixed word that can match the code string can be searched in the vocabulary and displayed through the candidate region. If necessary, the combination candidate with the greatest probability can be calculated by the binary relationship between the words, candidate It may consist of Chinese words and English words, Chinese words and numbers.
如果无法给出用户期望的混合词,用户需要通过滑动候选区域,从中选择期望的候选以完成输入。If the mixed words desired by the user cannot be given, the user needs to select the desired candidate to complete the input by sliding the candidate area.
该输入法程序能输出的混合词有两种来源:词库中已存在的混合词、动态组词给出的组合词。There are two sources of mixed words that can be output by the input method program: mixed words that already exist in the thesaurus, and combined words given by dynamic group words.
当用户期望的混合词没有出现在候选中时,用户无法通过该输入法程序快速地选中期望的英文或者数字。When the user's desired mixed word does not appear in the candidate, the user cannot quickly select the desired English or number through the input method program.
用户只能在混杂着中文候选、英文候选、数字候选的候选区域中寻找符 合期望的候选,该输入法程序没有提供过滤方式帮助用户快速地找到期望的英文候选、数字候选,通常用户需要通过滑动候选区域(或翻页操作),从中选择期望的候选,往往需要往下翻数页,才有可能找到符合期望的候选,甚至有可能无法找到期望的英文候选,此时只能通过一个一个选择单词中的字母才能完成单词的输入,输入成本很高。Users can only search for candidates in candidate regions that are mixed with Chinese candidates, English candidates, and digital candidates. The expected candidate, the input method does not provide a filtering method to help the user quickly find the desired English candidate, digital candidate, usually the user needs to select the desired candidate by sliding the candidate region (or page turning operation), often needs to go down It is possible to find a candidate that meets the expectations, and may even be unable to find the desired English candidate. In this case, the input of the word can only be completed by selecting the letter in the word one by one, and the input cost is high.
针对用户混输的需求,另一个输入法在词库中预置常用的中英混合词,以及中文词与英文单词的二元关系。For the user's mixed demand, another input method presets the commonly used Chinese-English mixed words in the thesaurus, and the binary relationship between Chinese words and English words.
对于用户输入编码串,该输入法程序在词库中搜索能够与编码串匹配的混合词,并通过候选区域展示出来。如果需要,通过词语之间的二元关系,计算出概率最大的组合候选,组合候选可能由中文词与英文单词组成。For the user input code string, the input method searches the thesaurus for a mixed word that can match the code string and displays it through the candidate area. If necessary, the combination candidate with the greatest probability is calculated by the binary relationship between words, and the combination candidate may be composed of Chinese words and English words.
如果无法给出用户期望的混合词,用户通过选择候选片段组合出候选。如果当前候选片段是中文,则直接在候选栏中查找并选择候选片段;如果当前候选片段时英文,用户可以滑动辅助候选栏到最后,点击“英文”按钮进入英文模式,此时候选栏中只剩下英文候选,用户可快速找到并选择期望的英文单词。If the mixed words desired by the user cannot be given, the user combines the candidates by selecting the candidate segments. If the current candidate segment is Chinese, the candidate segment is directly searched and selected in the candidate column; if the current candidate segment is in English, the user can slide the auxiliary candidate column to the end, and click the "English" button to enter the English mode, at this time, the candidate column only With English candidates left, users can quickly find and select the desired English words.
但是,该输入法不能输出中数混合词,“英文”按钮处在辅助候选栏的最后,用户首选需要做滑动操作,才能点击按钮。并且,由于辅助候选栏中辅助候选的数量是变化的,因此“英文”按钮的位置将在选择英文片段后发生变化,用户需要再次滑动辅助候选栏,操作十分麻烦。However, the input method cannot output a mixed number of words, the "English" button is at the end of the auxiliary candidate column, and the user prefers to perform a sliding operation in order to click the button. Moreover, since the number of auxiliary candidates in the auxiliary candidate column is changed, the position of the "English" button will change after the English segment is selected, and the user needs to slide the auxiliary candidate column again, which is very troublesome.
参照图1,示出了根据本发明一个实施例的一种基于输入的候选文本的加载方法实施例1的步骤流程图,具体可以包括如下步骤:Referring to FIG. 1 , a flow chart of the steps of the loading method of the input method based on the input of the candidate text according to an embodiment of the present invention is shown.
步骤101,当检测到触发的按键时,加载所述按键对应的一个或多个第一字符串,与,每个第一字符串对应的第一候选文本;Step 101: When the triggered button is detected, loading one or more first character strings corresponding to the button, and the first candidate text corresponding to each first character string;
需要说明的是,本发明实施例可以应用于具有触摸屏或物理键盘的电子设备中,具体可以包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、膝上型计算机等等,本发明实施例对此不加以限制。It should be noted that the embodiment of the present invention may be applied to an electronic device having a touch screen or a physical keyboard, and may specifically include a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a laptop computer, etc., and the present invention. The embodiment does not limit this.
这些电子终端可以支持包括Windows、Android(安卓)、IOS、WindowsPhone等操作系统,通常可以运行通过键盘(如虚拟键盘或物理键盘)进行输入的应用程序。其中,该虚拟键盘或物理键盘可以包括九宫格键盘、全键盘(如QWERT键盘)等,该应用程序可以包括输入法程序等。These electronic terminals can support operating systems including Windows, Android (Android), IOS, Windows Phone, etc., and can usually run applications that are input through a keyboard such as a virtual keyboard or a physical keyboard. The virtual keyboard or the physical keyboard may include a nine-square grid keyboard, a full keyboard (such as a QWERT keyboard), and the like, and the application may include an input method program and the like.
在本发明实施例中,用户可以通过在触摸屏上触控点击或者按下物理按键等方式,触发键盘上的按键,输入法程序可以查询相应的第一候选文件,该第一候选文本可以包括中文候选文本、英文候选文本、数字候选文本中的至少一者,可以形象地成为中英数输入模式。 In the embodiment of the present invention, the user can trigger a button on the keyboard by touching or clicking a physical button on the touch screen, and the input method can query the corresponding first candidate file, and the first candidate text can include Chinese. At least one of the candidate text, the English candidate text, and the digital candidate text can be visually converted into a Chinese-English number input mode.
在本发明的一种可选实施例中,步骤101可以包括如下子步骤:In an optional embodiment of the present invention, step 101 may include the following sub-steps:
子步骤S11,提取每个按键关联一个或多个第一字符;Sub-step S11, extracting one or more first characters associated with each button;
其中,所述第一字符可以包括中文字符、英文字符、数字字符中的至少一者;The first character may include at least one of a Chinese character, an English character, and a numeric character;
在实际应用中,键盘上一般布置一个或多个按键,如九宫格键盘一般至少布置有9个按键,全键盘一般至少布置26个按键,大部分按键可以用于输入字符,许多按键经常被复用,可以输入不同的字符,可以包括但不限于数字字符、英文字符、中文字符、符号字符。In practical applications, one or more buttons are generally arranged on the keyboard. For example, a nine-square keyboard generally has at least nine buttons, and a full keyboard generally has at least 26 buttons. Most of the buttons can be used to input characters, and many buttons are often reused. You can enter different characters, including but not limited to numeric characters, English characters, Chinese characters, and symbol characters.
其中,中文字符可以包括拼音字符和笔画字符。Among them, Chinese characters can include pinyin characters and stroke characters.
例如,在如图2所示的九宫格键盘中,按键201关联中文字符,该中文字符可以包括拼音字符韵母“a”、声母“b”、声母“c”,笔画字符“丨”,关联数字字符“2”、关联英文字符“a”、“b”、“c”、“A”、“B”、“C”。For example, in the nine-square grid keyboard shown in FIG. 2, the button 201 is associated with a Chinese character, which may include a pinyin character vowel "a", an initial "b", an initial "c", a stroke character "丨", and associated numeric characters. "2", associated English characters "a", "b", "c", "A", "B", "C".
为使本领域技术人员更好地理解本发明实施例,在本说明书中,将九宫格键盘作为键盘计算的一种示例进行说明。In order to enable those skilled in the art to better understand the embodiments of the present invention, in the present specification, a nine-square grid keyboard is described as an example of keyboard calculation.
在九宫格键盘中,0-9这10个数字一般会分布在不同的按键上,并且,这些按键同时分布比较重要的中文字符和英文字符,使用频率很高,因此,为方便表述,以下以按键所关联的数字标识该按键。例如,按键2可以表示数字“2”所在的按键。In the Jiugongge keyboard, the 10 numbers of 0-9 are generally distributed on different keys, and these keys distribute the more important Chinese characters and English characters at the same time, and the frequency of use is very high. Therefore, for convenience, the following buttons are used. The associated number identifies the button. For example, button 2 can represent the button where the number "2" is located.
子步骤S12,将每个按键关联的一个或多个第一字符组合成为一个或多个第一字符串;Sub-step S12, combining one or more first characters associated with each button into one or more first character strings;
其中,所述第一字符串可以包括中文字符串、英文字符串、数字字符串中的至少一者;The first character string may include at least one of a Chinese character string, an English character string, and a numeric character string;
需要说明的是,字符串中可以包括一个字符(如进行简拼输入),也可以包括多个字符,本发明实施例对此不加以限制。It should be noted that the character string may include one character (such as a simple spelling input), and may also include multiple characters, which is not limited by the embodiment of the present invention.
在输入的场景中,不少用户习惯进行长词输入,使得触发的按键长度较长,每个按键关联一个或多个字符,相邻的几个按键所关联的字符可以组成字符串。In the input scene, many users are accustomed to long word input, so that the triggered key length is long, each key is associated with one or more characters, and the characters associated with the adjacent keys can form a character string.
例如,用户在九宫格键盘中触发了按键“47466367587”,期望输入“iPhone6plus”。For example, the user triggers the button "47466367587" in the nine-square grid keyboard, and expects to input "iPhone6plus".
按键“4”关联的中文字符“h”和“g”可以单独组成中文字符串,按键“746636”分别关联的中文字符“q”、“i”、“n”、“m”、“e”、“n”可以组成中文字符串“qinmen”,字符串“4746636”关联的字符英文字和数字字符“i”、“P”、“h”、“o”、“n”、“e”、“6”可以组成英文字符串和数字字符串混合的“iPhone6”等等。 The Chinese characters "h" and "g" associated with the button "4" can be composed of Chinese characters, and the Chinese characters "q", "i", "n", "m", "e" associated with the button "746636" respectively. "n" can form the Chinese string "qinmen", the character "i", "P", "h", "o", "n", "e", which are associated with the string "4746636". "6" can be composed of an "iPhone6" mixed with an English string and a numeric string, and the like.
子步骤S13,在预置的词库中查找所述一个或多个第一字符串对应的一个或多个第一候选文本;Sub-step S13, searching for one or more first candidate texts corresponding to the one or more first character strings in a preset vocabulary;
其中,所述第一候选文本可以包括中文候选文本、英文候选文本、数字候选文本中的至少一者;The first candidate text may include at least one of a Chinese candidate text, an English candidate text, and a digital candidate text;
在本发明实施例中,在词库中可以预置常用的中文候选文本、英文候选文本、数字候选文本中的至少一者的混合候选文本,以及中文候选文本、英文候选文本、数字候选文本之间任意二者的二元关系,以提供常用的混合词候选和混合动态组词候选。In the embodiment of the present invention, a mixed candidate text of at least one of commonly used Chinese candidate texts, English candidate texts, and digital candidate texts, and Chinese candidate texts, English candidate texts, and digital candidate texts may be preset in the thesaurus. The binary relationship between any two to provide commonly used mixed word candidates and mixed dynamic group word candidates.
若第一字符串对应的文本符合混合候选文本,则可以提取该混合候选文本为第一候选文本;If the text corresponding to the first string matches the mixed candidate text, the mixed candidate text may be extracted as the first candidate text;
若第一字符串对应的文本符合二元关系,则可以将该文本组合为第一候选文本。If the text corresponding to the first string conforms to the binary relationship, the text can be combined into the first candidate text.
对于中文字符串,可以通过查找拼音为该中文字符串的中文作为中文候选文本;For a Chinese character string, you can find the Chinese character of the Chinese string as a Chinese candidate text by pinyin;
例如,中文字符串“h”和“g”对应的中文候选文本为“还”、“给”等。For example, the Chinese candidate texts corresponding to the Chinese character strings "h" and "g" are "also", "give", and the like.
又例如,中文字符串“qinmen”对应的中文候选文本为“亲们”等。For another example, the Chinese candidate text corresponding to the Chinese character string "qinmen" is "pro" and the like.
对于英文字符串、数字字符串,可以通过提取该英文字符串、数字字符串作为英文候选文本、数字候选文本。For English strings and numeric strings, the English character string and the numeric character string can be extracted as English candidate texts and digital candidate texts.
例如,英文字符串和数字字符串混合的“iPhone6”可以作为英文候选文本和数字候选文本混合的“iPhone6”。For example, "iPhone6", a mixture of English strings and numeric strings, can be used as "iPhone6" in which English candidate text and digital candidate text are mixed.
子步骤S14,在字符串区域中显示所述一个或多个第一字符串;Sub-step S14, displaying the one or more first character strings in a character string area;
在实际应用中,字符串区域可以显示至少部分第一字符串,当前显示的第一字符串可以是应用概率最高的第一字符串。In an actual application, the character string area may display at least part of the first character string, and the currently displayed first character string may be the first character string with the highest application probability.
如图3A所示,用户在九宫格键盘中触发了按键“47466367587”,则可以在字符串区域301中显示第一字符串“h’qinmen’q’ju’s”。As shown in FIG. 3A, when the user triggers the button "47466367587" in the nine-square grid, the first character string "h'qinmen'q'ju's" can be displayed in the character string area 301.
子步骤S15,在候选区域中所述一个或多个第一候选文本。Sub-step S15, the one or more first candidate texts in the candidate area.
在实际应用中,候选区域可以显示至少部分第一候选文本,当前显示的第一候选文本可以是应用概率最高的第一候选文本。In an actual application, the candidate region may display at least part of the first candidate text, and the currently displayed first candidate text may be the first candidate text with the highest application probability.
如图3A所示,用户在九宫格键盘中触发了按键“47466367587”,则可以在候选区域302中显示第一候选文本“还亲们请举手”、“给亲们请举手”、“iPhone6”、“iPhone”等等。As shown in FIG. 3A, when the user triggers the button "47466367587" in the nine-square grid keyboard, the first candidate text "Please raise your hand", "Please raise your hand", "iPhone6" can be displayed in the candidate area 302. ", "iPhone" and so on.
步骤102,当监听到指定的操作事件时,确定第一目标按键;Step 102: When listening to the specified operation event, determining the first target button;
在本发明实施例中,若当前用户期望英文候选文本、数字候选文本或英文候选文本、数字候选文本的混合候选文本,而当前不具有符合用户期望的 候选文本,则可以进行指定的操作,触发指定的操作事件,以进行英文候选文本、数字候选文本或英文候选文本、数字候选文本的混合候选文本的筛选,可以形象地成为英数输入模式。In the embodiment of the present invention, if the current user desires the English candidate text, the digital candidate text, or the mixed candidate text of the English candidate text and the digital candidate text, the current user does not have the user's expectation. The candidate text can perform a specified operation and trigger the specified operation event to filter the candidate candidate text of the English candidate text, the digital candidate text, or the English candidate text and the digital candidate text, and can be visually converted into an English number input mode.
在本发明实施例的一种可选示例中,所述指定的操作事件可以包括指定按键的触发事件。In an optional example of an embodiment of the present invention, the specified operational event may include a trigger event specifying a button.
如图2所示,在输入法程序中,可以提供一个指定按键202(“EN”标识),若用户点击该按键202,则可以触发指定的指定按键的触发事件。As shown in FIG. 2, in the input method program, a designated button 202 ("EN" logo) can be provided. If the user clicks the button 202, the trigger event of the designated designated button can be triggered.
该指定按键可以位于当前界面,避免用户进行翻页操作,直接点击,提高输入的便捷性。The designated button can be located on the current interface to prevent the user from turning pages and directly clicking to improve the convenience of input.
当然,本发明实施例还可以采用其他指定的操作事件,例如,指定的手势滑动事件,本发明实施例对此不加以限制。Certainly, the embodiment of the present invention may also adopt other specified operation events, for example, a specified gesture slip event, which is not limited by the embodiment of the present invention.
若监测到指定的操作事件,则可以确定第一目标按键,所述第一目标按键可以为当前未确定候选文本的字符串对应的操作按键;If the specified operation event is detected, the first target button may be determined, and the first target button may be an operation button corresponding to the character string of the currently undetermined candidate text;
需要说明的是,第一目标按键可以为部分触发的按键,即用户在先可以至少一次确定了部分候选文本。It should be noted that the first target button may be a partially triggered button, that is, the user may determine part of the candidate text at least once.
例如,用户在九宫格键盘中触发了按键“47466367587”,以期望输入“iPhone6plus”,确定了英文候选文本“iPhone”,如图3B所示,当前的候选文本不符合用户的期望,则用户可以点击指定按键进行候选文本的筛选,英文候选文本“iPhone”所对应的字符串为“iPhone”,该字符串“iPhone”对应的按键“474663”,则第一目标按键为“67587”。For example, the user triggers the button "47466367587" in the nine-square grid keyboard, and expects to input "iPhone6plus", and determines the English candidate text "iPhone". As shown in FIG. 3B, if the current candidate text does not meet the user's expectation, the user can click The designated button is used to filter the candidate text. The character string corresponding to the English candidate text "iPhone" is "iPhone", and the button "474663" corresponding to the character string "iPhone", the first target button is "67587".
第一目标按键也可以为全部触发的按键,即用户在先未确定候选文本。The first target button may also be a fully triggered button, that is, the user has not previously determined the candidate text.
例如,用户在九宫格键盘中触发了按键“43946498269246254”,触发期望输入“4D影院在哪里”,若当前的候选文本没有“4D”,则用户可以点击指定按键,则第一目标按键为“43946498269246254”。For example, the user triggers the button "43946498269246254" in the nine-square grid keyboard, triggering the desired input "where the 4D theater is." If the current candidate text does not have "4D", the user can click the designated button, and the first target button is "43946498269246254". .
步骤103,加载所述第一目标按键对应的一个或多个第二字符串,与,每个第二字符串对应的第二候选文本;Step 103: Load one or more second character strings corresponding to the first target button, and second candidate text corresponding to each second character string;
其中,所述第二候选文本可以包括英文候选文本、数字候选文本中的至少一者。The second candidate text may include at least one of an English candidate text and a digital candidate text.
在本发明实施例中,输入法程序可以对第二字符串的候选文本中,筛选出英文候选文本、数字候选文本中的至少一者,以加快英数混合输入。In the embodiment of the present invention, the input method program may filter at least one of the English candidate text and the digital candidate text in the candidate text of the second character string to speed up the English mixed input.
在本发明的一种可选实施例中,步骤103可以包括如下子步骤:In an optional embodiment of the present invention, step 103 may include the following sub-steps:
子步骤S21,提取每个第一目标按键关联一个或多个第二字符;Sub-step S21, extracting each first target button associated with one or more second characters;
其中,所述第二字符可以包括英文字符、数字字符中的至少一者;The second character may include at least one of an English character and a numeric character;
需要说明的是,当监听到指定的操作事件时,第一目标按键可以关心关 联英文字符、数字字符,而可以忽略中文字符。It should be noted that when the specified operation event is monitored, the first target button can care about English characters and numeric characters can be combined, and Chinese characters can be ignored.
例如,在如图2所示的九宫格键盘中,若按键201为第一目标按键,则可以提起其关联的数字字符“2”、关联的英文字符“a”、“b”、“c”、“A”、“B”、“C”,而可以忽略其关联的中文字符,该中文字符可以包括拼音字符韵母“a”、声母“b”、声母“c”,笔画字符“丨”。For example, in the nine-square grid keyboard shown in FIG. 2, if the button 201 is the first target button, the associated numeric character "2", the associated English characters "a", "b", "c", "A", "B", "C", and its associated Chinese characters can be ignored. The Chinese characters can include the pinyin character vowel "a", the initial "b", the initial "c", and the stroke character "丨".
子步骤S22,将每个第一目标按键关联的一个或多个第二字符组合成为一个或多个第二字符串;Sub-step S22, combining one or more second characters associated with each first target button into one or more second character strings;
其中,所述第二字符串可以包括中英文字符串、数字字符串中的至少一者;The second character string may include at least one of a Chinese-English string and a numeric string;
子步骤S23,在预置的词库中查找所述一个或多个第二字符串对应的一个或多个第二候选文本;Sub-step S23, searching for one or more second candidate texts corresponding to the one or more second character strings in a preset vocabulary;
其中,所述第二候选文本可以包括英文候选文本、数字候选文本中的至少一者;The second candidate text may include at least one of an English candidate text and a digital candidate text;
子步骤S24,在字符串区域中显示所述一个或多个第二字符串;Sub-step S24, displaying the one or more second character strings in a character string area;
子步骤S25,在候选区域中显示所述一个或多个第二候选文本。Sub-step S25, displaying the one or more second candidate texts in the candidate area.
在词库中可以预置常用的中文候选文本、英文候选文本、数字候选文本中的至少一者的混合候选文本,以及中文候选文本、英文候选文本、数字候选文本之间任意二者的二元关系,以提供常用的混合词候选和混合动态组词候选。In the thesaurus, a mixed candidate text of at least one of commonly used Chinese candidate texts, English candidate texts, and digital candidate texts, and binary of any two of Chinese candidate texts, English candidate texts, and digital candidate texts may be preset. Relationships to provide commonly used mixed word candidates and mixed dynamic group word candidates.
在本发明实施例中,若第二字符串对应的文本符合英文候选文本、数字候选文本中的至少一者的混合候选文本,则可以提取该混合候选文本为第二候选文本;In the embodiment of the present invention, if the text corresponding to the second character string meets the mixed candidate text of at least one of the English candidate text and the digital candidate text, the mixed candidate text may be extracted as the second candidate text;
若第一字符串对应的文本符合英文候选文本、数字候选文本之间的二元关系,则可以将该文本组合为第二候选文本。If the text corresponding to the first character string conforms to the binary relationship between the English candidate text and the digital candidate text, the text may be combined into the second candidate text.
对于英文字符串、数字字符串,可以通过提取该英文字符串、数字字符串作为英文候选文本、数字候选文本。For English strings and numeric strings, the English character string and the numeric character string can be extracted as English candidate texts and digital candidate texts.
例如,如图3C所示,第二目标按键“67”对应的英文字符串“OS”与词库预置的英文候选文本“OS”匹配,则可以提取“OS”作为第二候选文本。For example, as shown in FIG. 3C, if the English character string "OS" corresponding to the second target button "67" matches the English candidate text "OS" preset by the thesaurus, "OS" may be extracted as the second candidate text.
在本发明的一种可选实施例中,步骤103可以包括如下子步骤:In an optional embodiment of the present invention, step 103 may include the following sub-steps:
子步骤S31,提取每个第一目标按键关联一个或多个第二字符;Sub-step S31, extracting each first target button associated with one or more second characters;
其中,所述第二字符可以包括英文字符、数字字符中的至少一者;The second character may include at least one of an English character and a numeric character;
子步骤S32,将每个第一目标按键关联的一个或多个第二字符组合成为一个或多个第二字符串; Sub-step S32, combining one or more second characters associated with each first target button into one or more second character strings;
其中,所述第二字符串可以包括中英文字符串、数字字符串中的至少一者;The second character string may include at least one of a Chinese-English string and a numeric string;
子步骤S33,提取所述一个或多个第二字符串,和/或,所述一个或多个第二字符串中排序在前的一个或多个字符,以获得第二候选文本;Sub-step S33, extracting the one or more second character strings, and/or sorting the first one or more characters in the one or more second character strings to obtain a second candidate text;
其中,所述第二候选文本包括英文候选文本、数字候选文本中的至少一者;The second candidate text includes at least one of an English candidate text and a digital candidate text;
子步骤S34,在字符串区域中显示所述一个或多个第二字符串;Sub-step S34, displaying the one or more second character strings in a character string area;
子步骤S35,在候选区域中显示所述一个或多个第二候选文本。Sub-step S35, displaying the one or more second candidate texts in the candidate area.
本发明实施例中,可以提供一种快速自造英文候选文本、数字候选文本或者英文候选文本、数字候选文本的混合候选文本的方式。In the embodiment of the present invention, a manner of quickly creating a mixed candidate text of an English candidate text, a digital candidate text, or an English candidate text or a digital candidate text may be provided.
具体而言,可以提供与第二字符串等长的候选文本,也可以提供几个较短的第二字符串前缀(如1-4个字符)作为候选文本,将加快用户的自造过程。Specifically, candidate texts of the same length as the second character string may be provided, and several shorter second string prefixes (such as 1-4 characters) may be provided as candidate texts, which will speed up the user's self-created process.
如图3C所示,第二目标按键“6”对应的第二字符串“6”可以以自造词的形式进行加载,用户点击之后,则如图3D所示,输入法程序可以在词库中查找到按键“7587”的字符串“plus”与预置的英文候选文本“plus”匹配,在候选区域中进行加载,用户选择“plus”后,可以完成“iPhone6plus”的输入。As shown in FIG. 3C, the second character string "6" corresponding to the second target button "6" can be loaded in the form of self-created words. After the user clicks, as shown in FIG. 3D, the input method program can be in the thesaurus. The string "plus" in which the button "7587" is found matches the preset English candidate text "plus", and is loaded in the candidate area. After the user selects "plus", the input of "iPhone6plus" can be completed.
这些方式可以满足用户某些特殊的输入,加快自造英文候选文本、数字候选文本或者英文候选文本、数字候选文本的混合候选文本的速度,提高用户体验。These methods can satisfy some special input of the user, speed up the speed of self-created English candidate texts, digital candidate texts or mixed candidate texts of English candidate texts and digital candidate texts, and improve the user experience.
例如,在输入手机号码16012345678时,与该手机号码等长的字符串“16012345678”可以快速选择数字候选文本“16012345678”,而某些用户习惯分词3-4个数字作为一个整体输入,则16012345678可以拆分成“160”、“1234”、“5678”输入。For example, when the mobile phone number 16012345678 is input, the character string "16012345678" which is the same length as the mobile phone number can quickly select the digital candidate text "16012345678", and some users are accustomed to the 3-4 digits as a whole input, then 16012345678 can Split into "160", "1234", "5678" input.
又例如,某些生僻的英文简称可能没有收入词库中,则可以通过第二字符串前缀作为候选文本快速输入。For another example, some unfamiliar English abbreviations may not be included in the income vocabulary, and the second string prefix may be used as a candidate text for quick input.
本发明实施例以第二字符串,和/或,第二字符串中排序在前的一个或多个字符作为第二候选文本,进行自造词,满足了某些输入的需求,加快自造英文候选文本、数字候选文本或者英文候选文本、数字候选文本的混合候选文本的速度和成功率,避免逐个英文单词或逐个数字进行组词,进一步提高了输入的效率。In the embodiment of the present invention, the first character string, and/or the second character string is used to sort the preceding one or more characters as the second candidate text, and the self-created words are satisfied, which satisfies the requirements of certain inputs and speeds up self-made. The speed and success rate of mixed candidate texts of English candidate texts, digital candidate texts or English candidate texts and digital candidate texts can avoid group words by English words or numbers one by one, further improving the efficiency of input.
在本发明的一种可选实施例中,在子步骤S25、子步骤S35之前,步骤103还可以包括如下子步骤: In an optional embodiment of the present invention, before sub-step S25, sub-step S35, step 103 may further include the following sub-steps:
子步骤S41,按照词长和/或词频对所述第二候选文本进行排序。Sub-step S41, the second candidate text is sorted according to word length and/or word frequency.
在本发明实施例中,可以在词库中设置词频,该词频可以是采集群体用户的词频,也可以是当前用户使用的词频,In the embodiment of the present invention, the word frequency may be set in the vocabulary, and the word frequency may be the word frequency of the collecting group user, or may be the word frequency used by the current user.
词长越长、词频越高的第二候选文本,排序可以越靠前,以方便用户选择。The second candidate text with longer word length and higher word frequency can be ranked higher in order to facilitate user selection.
例如,如图3D所示,“plus”的词频比“7587”的词频要高,则“plus”排序的位置比“7587”要前,而“7587”的词长要比“758”要长,则“7587”排序的位置可以比“758”要前。For example, as shown in FIG. 3D, the word frequency of "plus" is higher than the word frequency of "7587", then the position of "plus" is ranked before "7587", and the word length of "7587" is longer than "758". , then the position of "7587" can be ranked before "758".
在实际中,用户使用中文的频率要一般都会大于英文、数字,在输入场景中,尤其是手机等移动设备,显示候选文本的区域是十分有限的,因此,往往会按照频率来优先展示最有可能符合用户预期的几个候选文本,以满足大部分用户的需求,这就造成了英文、数字等候选文本,往往埋藏在很深的位置,很多都没有进行展示,用户需要滑动候选区域等去寻找期望的候选文本,操作繁琐,这个特点在移动设备中尤为明显,用户误点击了某个按键,就可能对输入造成不可挽回的破坏,例如选择了某个不需要的候选文本,或者删除了某个已选择的候选文本。In practice, the frequency of users using Chinese is generally greater than that of English and numbers. In the input scene, especially for mobile devices such as mobile phones, the area for displaying candidate texts is very limited. Therefore, the frequency is preferred to display the most. It may meet several user-predicted candidate texts to meet the needs of most users. This results in candidate texts such as English and numbers, which are often buried in deep positions, many of which are not displayed. Users need to slide candidate areas and so on. Finding the desired candidate text is cumbersome. This feature is especially noticeable in mobile devices. When a user clicks on a button, it may cause irreparable damage to the input, such as selecting an unwanted candidate text, or deleting it. A selected candidate text.
本发明实施例在检测到触发的按键时,加载包括中文候选文本、英文候选文本、数字候选文本中的至少一者第一候选文本,在监听到指定的操作事件时,确定第一目标按键,以加载包括英文候选文本、数字候选文本中的至少一者的第二候选文本,通过指定的操作事件进行第二候选文本的筛选,排除了众多的干扰,减少了用户滑动候选区域、滑动辅助候选栏等操作,大大提高了输入的便捷性,进而提高了输入的效率。When detecting the triggered key, the embodiment of the present invention loads at least one of the first candidate text including the Chinese candidate text, the English candidate text, and the digital candidate text, and determines the first target button when the specified operation event is monitored. The second candidate text including at least one of the English candidate text and the digital candidate text is loaded, and the second candidate text is filtered by the specified operation event, thereby eliminating a plurality of interferences, and reducing the user sliding candidate region and the sliding auxiliary candidate. Operations such as columns greatly improve the convenience of input, thereby improving the efficiency of input.
参照图4,示出了根据本发明一个实施例的一种基于输入的候选文本的加载方法实施例2的步骤流程图,具体可以包括如下步骤:Referring to FIG. 4, a flow chart of the steps of Embodiment 2 of the loading method based on the input candidate text according to an embodiment of the present invention is shown. Specifically, the method may include the following steps:
步骤401,当检测到触发的按键时,加载所述按键对应的一个或多个第一字符串,与,每个第一字符串对应的第一候选文本;所述第一候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者;Step 401: When the triggered button is detected, loading one or more first character strings corresponding to the button, and first candidate text corresponding to each first character string; the first candidate text includes a Chinese candidate At least one of text, English candidate text, and digital candidate text;
步骤402,当监测到确认操作时,将所述确认指示对应的第一候选文本移至字符串区域中。Step 402: When the confirmation operation is detected, move the first candidate text corresponding to the confirmation indication into the character string area.
若第一候选文本包括用户期望的输入,用户可以通过触控点击、将焦点移至该第一候选文本时按下确认键等方式触发确认操作,输入法程序可以对应的第一候选文本移至字符串区域,以提示用户已选择该第一候选文本。If the first candidate text includes an input desired by the user, the user can trigger the confirmation operation by touching the touch, moving the focus to the first candidate text, and pressing the confirmation key, and the first candidate text corresponding to the input method can be moved to A string area to prompt the user that the first candidate text has been selected.
例如,如图3A所示,若第一候选文本“iPhone”为用户期望的输入, 用户可以触控点击该第一候选文本“iPhone”,如图3B所示,第一候选文本“iPhone”移至字符串区域中。For example, as shown in FIG. 3A, if the first candidate text "iPhone" is an input desired by the user, The user can touch the first candidate text "iPhone" by touch, and as shown in FIG. 3B, the first candidate text "iPhone" is moved into the character string area.
需要说明的是,确认指示对应的第一候选文本可以为全部触发的按键的字符串所对应的候选文本,即第一候选文本可以包括用户期望输入的完整文本。It should be noted that the first candidate text corresponding to the confirmation indication may be the candidate text corresponding to the character string of all the triggered keys, that is, the first candidate text may include the complete text that the user desires to input.
步骤403,当监听到指定的操作事件时,确定第一目标按键;所述第一目标按键为当前未确定候选文本的字符串对应的操作按键; Step 403, when the specified operation event is monitored, determining a first target button; the first target button is an operation button corresponding to a character string of the currently undetermined candidate text;
步骤404,加载所述第一目标按键对应的一个或多个第二字符串,与,每个第二字符串对应的第二候选文本;所述第二候选文本包括英文候选文本、数字候选文本中的至少一者。Step 404: Load one or more second character strings corresponding to the first target button, and second candidate text corresponding to each second character string; the second candidate text includes English candidate text and digital candidate text. At least one of them.
步骤405,当监听到指定的操作事件时,确定第二目标按键;所述第二目标按键为当前未确定候选文本的字符串对应的操作按键;Step 405: When the specified operation event is monitored, determining a second target button; the second target button is an operation button corresponding to a character string of the currently undetermined candidate text;
步骤406,加载所述第二目标按键对应的一个或多个第三字符串,与,每个第三字符串对应的第三候选文本;Step 406: Load one or more third character strings corresponding to the second target button, and a third candidate text corresponding to each third character string;
其中,所述第三候选文本可以包括中文候选文本、英文候选文本、数字候选文本中的至少一者。The third candidate text may include at least one of a Chinese candidate text, an English candidate text, and a digital candidate text.
本发明实施例中,用户在完成输入英文、数字或英文数字的混合文本后,若需要进行包括中文的输入时,可以再次执行指定的操作,切换至中英数输入模式。In the embodiment of the present invention, after the user inputs the mixed text of English, numbers or English numbers, if the input including Chinese is needed, the specified operation can be performed again, and the mode is switched to the Chinese-English number input mode.
例如,用户期望输入“我在14A栋大厦8层的301室”,则可以在完成输入“我在”之后,切换至英数输入模式,以完成“14A”的输入,再切换至中英数输入模式,以输入“栋大厦”,用户可以通过来回切换直至完成“我在14A栋大厦8层的301室”的输入。For example, if the user wants to enter "I am in Room 301 on the 8th floor of Building 14A", you can switch to the English input mode after completing the input "I am" to complete the input of "14A" and then switch to the Chinese and English numbers. Enter the mode to enter the “Building Building”, and the user can switch back and forth until the “I am in Room 301 on the 8th floor of Building 14A” is completed.
在本发明的一种可选实施例中,步骤406可以包括如下子步骤:In an alternative embodiment of the invention, step 406 may include the following sub-steps:
子步骤S51,提取每个第二目标按键关联一个或多个第三字符;Sub-step S51, extracting each second target button associated with one or more third characters;
其中,所述第三字符可以包括中文字符、英文字符、数字字符中的至少一者;The third character may include at least one of a Chinese character, an English character, and a numeric character;
子步骤S52,将每个第二目标按键关联的一个或多个第三字符组合成为一个或多个第三字符串;Sub-step S52, combining one or more third characters associated with each second target button into one or more third character strings;
其中,所述第三字符串可以包括中文字符串、英文字符串、数字字符串中的至少一者;The third character string may include at least one of a Chinese character string, an English character string, and a numeric character string;
子步骤S53,在预置的词库中查找所述一个或多个第三字符串对应的一个或多个第三候选文本;Sub-step S53, searching for one or more third candidate texts corresponding to the one or more third character strings in a preset vocabulary;
其中,所述第三候选文本可以包括中文候选文本、英文候选文本、数字 候选文本中的至少一者;The third candidate text may include Chinese candidate text, English candidate text, and number. At least one of the candidate texts;
子步骤S54,在字符串区域中显示所述一个或多个第三字符串;Sub-step S54, displaying the one or more third character strings in a character string area;
子步骤S55,在候选区域中所述一个或多个第三候选文本。Sub-step S55, the one or more third candidate texts in the candidate area.
在本发明实施例中,由于子步骤S51-子步骤S55与子步骤S11-子步骤S15的应用基本相似,所以描述的比较简单,相关之处参见子步骤S11-子步骤S15的部分说明即可,本发明实施例在此不加以详述。In the embodiment of the present invention, since the application of the sub-step S51-sub-step S55 is substantially similar to the application of the sub-step S11-sub-step S15, the description is relatively simple, and the relevant part can be referred to the sub-step S11 - the description of the sub-step S15. The embodiments of the present invention are not described in detail herein.
对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。For the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the embodiments of the present invention are not limited by the described action sequence, because the embodiment according to the present invention Some steps can be performed in other orders or at the same time. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
参照图5,示出了根据本发明一个实施例的一种基于输入的候选文本的加载装置实施例的结构框图,具体可以包括如下模块:Referring to FIG. 5, a structural block diagram of an embodiment of a loading device based on input candidate texts according to an embodiment of the present invention is shown. Specifically, the following modules may be included:
第一加载模块501,适于在检测到触发的按键时,加载所述按键对应的一个或多个第一字符串,与,每个第一字符串对应的第一候选文本;所述第一候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者;The first loading module 501 is configured to: when detecting the triggered button, load one or more first character strings corresponding to the button, and first candidate text corresponding to each first character string; The candidate text includes at least one of a Chinese candidate text, an English candidate text, and a digital candidate text;
第一确定模块502,适于在监听到指定的操作事件时,确定第一目标按键;所述第一目标按键为当前未确定候选文本的字符串对应的操作按键;The first determining module 502 is configured to determine a first target button when the specified operation event is monitored; the first target button is an operation button corresponding to a character string of the currently undetermined candidate text;
第二加载模块503,适于加载所述第一目标按键对应的一个或多个第二字符串,与,每个第二字符串对应的第二候选文本;所述第二候选文本包括英文候选文本、数字候选文本中的至少一者。a second loading module 503, configured to load one or more second character strings corresponding to the first target button, and second candidate text corresponding to each second character string; the second candidate text includes an English candidate At least one of text, digital candidate text.
在本发明的一种可选实施例中,所述第一加载模块501还可以适于:In an optional embodiment of the present invention, the first loading module 501 is further adapted to:
提取每个按键关联一个或多个第一字符;所述第一字符包括中文字符、英文字符、数字字符中的至少一者;Extracting each button associated with one or more first characters; the first character includes at least one of a Chinese character, an English character, and a numeric character;
将每个按键关联的一个或多个第一字符组合成为一个或多个第一字符串;所述第一字符串包括中文字符串、英文字符串、数字字符串中的至少一者;Combining one or more first characters associated with each key into one or more first character strings; the first character string includes at least one of a Chinese character string, an English character string, and a numeric character string;
在预置的词库中查找所述一个或多个第一字符串对应的一个或多个第一候选文本;所述第一候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者;Locating one or more first candidate texts corresponding to the one or more first character strings in a preset vocabulary; the first candidate text includes at least one of Chinese candidate text, English candidate text, and digital candidate text One;
在字符串区域中显示所述一个或多个第一字符串;Displaying the one or more first strings in a string region;
在候选区域中所述一个或多个第一候选文本。The one or more first candidate texts in the candidate region.
在本发明实施例的一种可选示例中,所述指定的操作事件可以包括指定 按键的触发事件。In an optional example of the embodiment of the present invention, the specified operation event may include specifying The trigger event of the button.
在本发明的一种可选实施例中,所述第二加载模块503还可以适于:In an optional embodiment of the present invention, the second loading module 503 is further adapted to:
提取每个第一目标按键关联一个或多个第二字符;所述第二字符包括英文字符、数字字符中的至少一者;Extracting each first target button associated with one or more second characters; the second character includes at least one of an English character and a numeric character;
将每个第一目标按键关联的一个或多个第二字符组合成为一个或多个第二字符串;所述第二字符串包括中英文字符串、数字字符串中的至少一者;Combining one or more second characters associated with each of the first target keys into one or more second character strings; the second character string includes at least one of a Chinese-English character string and a numeric character string;
在预置的词库中查找所述一个或多个第二字符串对应的一个或多个第二候选文本;所述第二候选文本包括英文候选文本、数字候选文本中的至少一者;Searching, in a preset vocabulary, one or more second candidate texts corresponding to the one or more second character strings; the second candidate text includes at least one of an English candidate text and a digital candidate text;
在字符串区域中显示所述一个或多个第二字符串;Displaying the one or more second strings in a string region;
在候选区域中显示所述一个或多个第二候选文本。The one or more second candidate texts are displayed in the candidate area.
在本发明的一种可选实施例中,所述第二加载模块503还可以适于:In an optional embodiment of the present invention, the second loading module 503 is further adapted to:
提取每个第一目标按键关联一个或多个第二字符;所述第二字符包括英文字符、数字字符中的至少一者;Extracting each first target button associated with one or more second characters; the second character includes at least one of an English character and a numeric character;
将每个第一目标按键关联的一个或多个第二字符组合成为一个或多个第二字符串;所述第二字符串包括中英文字符串、数字字符串中的至少一者;Combining one or more second characters associated with each of the first target keys into one or more second character strings; the second character string includes at least one of a Chinese-English character string and a numeric character string;
提取所述一个或多个第二字符串,和/或,所述一个或多个第二字符串中排序在前的一个或多个字符,以获得第二候选文本;所述第二候选文本包括英文候选文本、数字候选文本中的至少一者;Extracting the one or more second strings, and/or sorting the first one or more characters in the one or more second strings to obtain a second candidate text; the second candidate text Including at least one of an English candidate text and a numerical candidate text;
在字符串区域中显示所述一个或多个第二字符串;Displaying the one or more second strings in a string region;
在候选区域中显示所述一个或多个第二候选文本。The one or more second candidate texts are displayed in the candidate area.
在本发明的一种可选实施例中,所述第二加载模块503还可以适于:In an optional embodiment of the present invention, the second loading module 503 is further adapted to:
按照词长和/或词频对所述第二候选文本进行排序。The second candidate text is sorted by word length and/or word frequency.
在本发明的一种可选实施例中,所述装置还可以包括如下模块:In an optional embodiment of the invention, the device may further comprise the following modules:
移动模块,适于在监测到确认操作时,将所述确认指示对应的第一候选文本移至字符串区域中。And a moving module, configured to move the first candidate text corresponding to the confirmation indication into the character string area when the confirmation operation is monitored.
在本发明的一种可选实施例中,所述装置还可以包括如下模块:In an optional embodiment of the invention, the device may further comprise the following modules:
第二确定模块,适于在监听到指定的操作事件时,确定第二目标按键;所述第二目标按键为当前未确定候选文本的字符串对应的操作按键;a second determining module, configured to determine a second target button when the specified operation event is monitored; and the second target button is an operation button corresponding to the character string of the currently undetermined candidate text;
第三加载模块,适于加载所述第二目标按键对应的一个或多个第三字符串,与,每个第三字符串对应的第三候选文本;所述第三候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者。a third loading module, configured to load one or more third character strings corresponding to the second target button, and third candidate text corresponding to each third character string; the third candidate text includes Chinese candidate text At least one of an English candidate text and a digital candidate text.
在本发明的一种可选实施例中,所述第三加载模块还可以适于:In an optional embodiment of the present invention, the third loading module may be further adapted to:
提取每个第二目标按键关联一个或多个第三字符;所述第三字符包括中 文字符、英文字符、数字字符中的至少一者;Extracting each second target button associated with one or more third characters; the third character includes At least one of a character character, an English character, and a numeric character;
将每个第二目标按键关联的一个或多个第三字符组合成为一个或多个第三字符串;所述第三字符串包括中文字符串、英文字符串、数字字符串中的至少一者;Combining one or more third characters associated with each second target button into one or more third strings; the third string includes at least one of a Chinese character string, an English character string, and a numeric character string ;
在预置的词库中查找所述一个或多个第三字符串对应的一个或多个第三候选文本;所述第三候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者;Searching, in a preset vocabulary, one or more third candidate texts corresponding to the one or more third character strings; the third candidate text includes at least one of Chinese candidate text, English candidate text, and digital candidate text One;
在字符串区域中显示所述一个或多个第三字符串;Displaying the one or more third strings in a string region;
在候选区域中所述一个或多个第三候选文本。The one or more third candidate texts in the candidate region.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的基于输入的候选文本的加载设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of some or all of the components of the input-based candidate text loading device in accordance with embodiments of the present invention. Features. The invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
例如,图6示出了可以实现根据本发明的基于输入的候选文本的加载计算设备,例如应用服务器。该计算设备传统上包括处理器610和以存储器620形式的计算机程序产品或者计算机可读介质。存储器620可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器620具有用于执行上述方法中的任何方法步骤的程序代码631的存储空间630。例如,用于程序代码的存储空间630可以包括分别用于实现上面的方法中的各种步骤的各个程序代码631。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图7所述的便携式或者固定存储单元。该存储单元可以具有与图6的计算设备中的存储器620类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码631’,即可以由例如诸如610 之类的处理器读取的代码,这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。For example, Figure 6 illustrates a load computing device, such as an application server, that can implement input-based candidate text in accordance with the present invention. The computing device conventionally includes a processor 610 and a computer program product or computer readable medium in the form of a memory 620. The memory 620 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM. Memory 620 has a memory space 630 for program code 631 for performing any of the method steps described above. For example, storage space 630 for program code may include various program code 631 for implementing various steps in the above methods, respectively. The program code can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG. The storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 620 in the computing device of FIG. The program code can be compressed, for example, in an appropriate form. Typically, the storage unit includes computer readable code 631', i.e., may be, for example, by 610. A code read by a processor, such as when executed by a computing device, causes the computing device to perform various steps in the methods described above.
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。"an embodiment," or "an embodiment," or "an embodiment," In addition, it is noted that the phrase "in one embodiment" is not necessarily referring to the same embodiment.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It is to be noted that the above-described embodiments are illustrative of the invention and are not intended to be limiting, and that the invention may be devised without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as a limitation. The word "comprising" does not exclude the presence of the elements or steps that are not recited in the claims. The word "a" or "an" The invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item. The use of the words first, second, and third does not indicate any order. These words can be interpreted as names.
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。 In addition, it should be noted that the language used in the specification has been selected for the purpose of readability and teaching, and is not intended to be construed or limited. Therefore, many modifications and changes will be apparent to those skilled in the art without departing from the scope of the invention. The disclosure of the present invention is intended to be illustrative, and not restrictive, and the scope of the invention is defined by the appended claims.

Claims (20)

  1. 一种基于输入的候选文本的加载方法,包括步骤:A loading method based on input candidate text, comprising the steps of:
    当检测到触发的按键时,加载所述按键对应的一个或多个第一字符串,与,每个第一字符串对应的第一候选文本;所述第一候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者;When the triggered key is detected, one or more first character strings corresponding to the key are loaded, and the first candidate text corresponding to each first character string; the first candidate text includes Chinese candidate text, English At least one of candidate texts and digital candidate texts;
    当监听到指定的操作事件时,确定第一目标按键;所述第一目标按键为当前未确定候选文本的字符串对应的操作按键;Determining a first target button when the specified operation event is detected; the first target button is an operation button corresponding to a character string of the currently undetermined candidate text;
    加载所述第一目标按键对应的一个或多个第二字符串,与,每个第二字符串对应的第二候选文本;所述第二候选文本包括英文候选文本、数字候选文本中的至少一者。Loading one or more second character strings corresponding to the first target button, and second candidate text corresponding to each second character string; the second candidate text includes at least one of English candidate text and digital candidate text One.
  2. 如权利要求1所述的方法,所述加载所述按键对应的一个或多个第一字符串,与,每个第一字符串对应的第一候选文本的步骤包括:The method of claim 1, the step of loading the one or more first character strings corresponding to the button, and the first candidate text corresponding to each of the first character strings comprises:
    提取每个按键关联一个或多个第一字符;所述第一字符包括中文字符、英文字符、数字字符中的至少一者;Extracting each button associated with one or more first characters; the first character includes at least one of a Chinese character, an English character, and a numeric character;
    将每个按键关联的一个或多个第一字符组合成为一个或多个第一字符串;所述第一字符串包括中文字符串、英文字符串、数字字符串中的至少一者;Combining one or more first characters associated with each key into one or more first character strings; the first character string includes at least one of a Chinese character string, an English character string, and a numeric character string;
    在预置的词库中查找所述一个或多个第一字符串对应的一个或多个第一候选文本;所述第一候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者;Locating one or more first candidate texts corresponding to the one or more first character strings in a preset vocabulary; the first candidate text includes at least one of Chinese candidate text, English candidate text, and digital candidate text One;
    在字符串区域中显示所述一个或多个第一字符串;Displaying the one or more first strings in a string region;
    在候选区域中所述一个或多个第一候选文本。The one or more first candidate texts in the candidate region.
  3. 如权利要求1或2所述的方法,所述指定的操作事件包括指定按键的触发事件。The method of claim 1 or 2, wherein the specified operational event comprises a trigger event specifying a button.
  4. 如权利要求1所述的方法,所述加载所述第一目标按键对应的一个或多个第二字符串,与,每个第二字符串对应的第二候选文本的步骤包括:The method of claim 1, the step of loading the one or more second character strings corresponding to the first target button, and the second candidate text corresponding to each second character string comprises:
    提取每个第一目标按键关联一个或多个第二字符;所述第二字符包括英文字符、数字字符中的至少一者;Extracting each first target button associated with one or more second characters; the second character includes at least one of an English character and a numeric character;
    将每个第一目标按键关联的一个或多个第二字符组合成为一个或多个第二字符串;所述第二字符串包括中英文字符串、数字字符串中的至少一者;Combining one or more second characters associated with each of the first target keys into one or more second character strings; the second character string includes at least one of a Chinese-English character string and a numeric character string;
    在预置的词库中查找所述一个或多个第二字符串对应的一个或多个第二候选文本;所述第二候选文本包括英文候选文本、数字候选文本中的至少一者;Searching, in a preset vocabulary, one or more second candidate texts corresponding to the one or more second character strings; the second candidate text includes at least one of an English candidate text and a digital candidate text;
    在字符串区域中显示所述一个或多个第二字符串; Displaying the one or more second strings in a string region;
    在候选区域中显示所述一个或多个第二候选文本。The one or more second candidate texts are displayed in the candidate area.
  5. 如权利要求1所述的方法,所述加载所述第一目标按键对应的一个或多个第二字符串,与,每个第二字符串对应的第二候选文本的步骤包括:The method of claim 1, the step of loading the one or more second character strings corresponding to the first target button, and the second candidate text corresponding to each second character string comprises:
    提取每个第一目标按键关联一个或多个第二字符;所述第二字符包括英文字符、数字字符中的至少一者;Extracting each first target button associated with one or more second characters; the second character includes at least one of an English character and a numeric character;
    将每个第一目标按键关联的一个或多个第二字符组合成为一个或多个第二字符串;所述第二字符串包括中英文字符串、数字字符串中的至少一者;Combining one or more second characters associated with each of the first target keys into one or more second character strings; the second character string includes at least one of a Chinese-English character string and a numeric character string;
    提取所述一个或多个第二字符串,和/或,所述一个或多个第二字符串中排序在前的一个或多个字符,以获得第二候选文本;所述第二候选文本包括英文候选文本、数字候选文本中的至少一者;Extracting the one or more second strings, and/or sorting the first one or more characters in the one or more second strings to obtain a second candidate text; the second candidate text Including at least one of an English candidate text and a numerical candidate text;
    在字符串区域中显示所述一个或多个第二字符串;Displaying the one or more second strings in a string region;
    在候选区域中显示所述一个或多个第二候选文本。The one or more second candidate texts are displayed in the candidate area.
  6. 如权利要求4或5所述的方法,所述加载所述第一目标按键对应的一个或多个第二候选文本的步骤还包括:The method of claim 4 or 5, the step of loading the one or more second candidate texts corresponding to the first target button further comprises:
    按照词长和/或词频对所述第二候选文本进行排序。The second candidate text is sorted by word length and/or word frequency.
  7. 如权利要求1所述的方法,在所述当接收到指定的操作事件时,确定当前的第一目标按键的步骤之前,所述方法还包括步骤:The method of claim 1, before the step of determining a current first target button when the specified operational event is received, the method further comprising the steps of:
    当监测到确认操作时,将所述确认指示对应的第一候选文本移至字符串区域中。When the confirmation operation is detected, the first candidate text corresponding to the confirmation indication is moved into the character string area.
  8. 如权利要求1或2或4或5或7所述的方法,在所述当接收到指定的操作事件时,确定当前的第一目标按键的步骤之后,所述方法还包括:The method of claim 1 or 2 or 4 or 5 or 7, after the step of determining the current first target button when the specified operational event is received, the method further comprising:
    当监听到指定的操作事件时,确定第二目标按键;所述第二目标按键为当前未确定候选文本的字符串对应的操作按键;Determining a second target button when the specified operation event is detected; the second target button is an operation button corresponding to a character string of the currently undetermined candidate text;
    加载所述第二目标按键对应的一个或多个第三字符串,与,每个第三字符串对应的第三候选文本;所述第三候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者。Loading one or more third character strings corresponding to the second target button, and third candidate text corresponding to each third character string; the third candidate text includes Chinese candidate text, English candidate text, and digital candidate At least one of the texts.
  9. 如权利要求8所述的方法,所述加载所述第二目标按键对应的一个或多个第三字符串,与,每个第三字符串对应的第三候选文本的步骤包括:The method of claim 8, the step of loading the one or more third character strings corresponding to the second target button, and the third candidate text corresponding to each third character string comprises:
    提取每个第二目标按键关联一个或多个第三字符;所述第三字符包括中文字符、英文字符、数字字符中的至少一者;Extracting each second target button to associate one or more third characters; the third character includes at least one of a Chinese character, an English character, and a numeric character;
    将每个第二目标按键关联的一个或多个第三字符组合成为一个或多个第三字符串;所述第三字符串包括中文字符串、英文字符串、数字字符串中的至少一者;Combining one or more third characters associated with each second target button into one or more third strings; the third string includes at least one of a Chinese character string, an English character string, and a numeric character string ;
    在预置的词库中查找所述一个或多个第三字符串对应的一个或多个第 三候选文本;所述第三候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者;Finding one or more corresponding to the one or more third strings in a preset vocabulary a third candidate text; the third candidate text includes at least one of a Chinese candidate text, an English candidate text, and a digital candidate text;
    在字符串区域中显示所述一个或多个第三字符串;Displaying the one or more third strings in a string region;
    在候选区域中所述一个或多个第三候选文本。The one or more third candidate texts in the candidate region.
  10. 一种基于输入的候选文本的加载装置,包括:A loading device based on input candidate text, comprising:
    第一加载模块,适于在检测到触发的按键时,加载所述按键对应的一个或多个第一字符串,与,每个第一字符串对应的第一候选文本;所述第一候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者;a first loading module, configured to load, when the triggered button is detected, one or more first character strings corresponding to the button, and a first candidate text corresponding to each first character string; the first candidate The text includes at least one of a Chinese candidate text, an English candidate text, and a digital candidate text;
    第一确定模块,适于在监听到指定的操作事件时,确定第一目标按键;所述第一目标按键为当前未确定候选文本的字符串对应的操作按键;a first determining module, configured to determine a first target button when the specified operation event is monitored; the first target button is an operation button corresponding to a character string of the currently undetermined candidate text;
    第二加载模块,适于加载所述第一目标按键对应的一个或多个第二字符串,与,每个第二字符串对应的第二候选文本;所述第二候选文本包括英文候选文本、数字候选文本中的至少一者。a second loading module, configured to load one or more second character strings corresponding to the first target button, and second candidate text corresponding to each second character string; the second candidate text includes English candidate texts At least one of the digital candidate texts.
  11. 如权利要求10所述的装置,所述第一加载模块还适于:The apparatus of claim 10, the first loading module is further adapted to:
    提取每个按键关联一个或多个第一字符;所述第一字符包括中文字符、英文字符、数字字符中的至少一者;Extracting each button associated with one or more first characters; the first character includes at least one of a Chinese character, an English character, and a numeric character;
    将每个按键关联的一个或多个第一字符组合成为一个或多个第一字符串;所述第一字符串包括中文字符串、英文字符串、数字字符串中的至少一者;Combining one or more first characters associated with each key into one or more first character strings; the first character string includes at least one of a Chinese character string, an English character string, and a numeric character string;
    在预置的词库中查找所述一个或多个第一字符串对应的一个或多个第一候选文本;所述第一候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者;Locating one or more first candidate texts corresponding to the one or more first character strings in a preset vocabulary; the first candidate text includes at least one of Chinese candidate text, English candidate text, and digital candidate text One;
    在字符串区域中显示所述一个或多个第一字符串;Displaying the one or more first strings in a string region;
    在候选区域中所述一个或多个第一候选文本。The one or more first candidate texts in the candidate region.
  12. 如权利要求10或11所述的装置,所述指定的操作事件包括指定按键的触发事件。The apparatus of claim 10 or 11, the specified operational event comprising a trigger event specifying a button.
  13. 如权利要求10所述的装置,所述第二加载模块还适于:The apparatus of claim 10, wherein the second loading module is further adapted to:
    提取每个第一目标按键关联一个或多个第二字符;所述第二字符包括英文字符、数字字符中的至少一者;Extracting each first target button associated with one or more second characters; the second character includes at least one of an English character and a numeric character;
    将每个第一目标按键关联的一个或多个第二字符组合成为一个或多个第二字符串;所述第二字符串包括中英文字符串、数字字符串中的至少一者;Combining one or more second characters associated with each of the first target keys into one or more second character strings; the second character string includes at least one of a Chinese-English character string and a numeric character string;
    在预置的词库中查找所述一个或多个第二字符串对应的一个或多个第二候选文本;所述第二候选文本包括英文候选文本、数字候选文本中的至少 一者;Searching, in a preset vocabulary, one or more second candidate texts corresponding to the one or more second character strings; the second candidate text includes at least one of an English candidate text and a digital candidate text One;
    在字符串区域中显示所述一个或多个第二字符串;Displaying the one or more second strings in a string region;
    在候选区域中显示所述一个或多个第二候选文本。The one or more second candidate texts are displayed in the candidate area.
  14. 如权利要求10所述的装置,所述第二加载模块还适于:The apparatus of claim 10, wherein the second loading module is further adapted to:
    提取每个第一目标按键关联一个或多个第二字符;所述第二字符包括英文字符、数字字符中的至少一者;Extracting each first target button associated with one or more second characters; the second character includes at least one of an English character and a numeric character;
    将每个第一目标按键关联的一个或多个第二字符组合成为一个或多个第二字符串;所述第二字符串包括中英文字符串、数字字符串中的至少一者;Combining one or more second characters associated with each of the first target keys into one or more second character strings; the second character string includes at least one of a Chinese-English character string and a numeric character string;
    提取所述一个或多个第二字符串,和/或,所述一个或多个第二字符串中排序在前的一个或多个字符,以获得第二候选文本;所述第二候选文本包括英文候选文本、数字候选文本中的至少一者;Extracting the one or more second strings, and/or sorting the first one or more characters in the one or more second strings to obtain a second candidate text; the second candidate text Including at least one of an English candidate text and a numerical candidate text;
    在字符串区域中显示所述一个或多个第二字符串;Displaying the one or more second strings in a string region;
    在候选区域中显示所述一个或多个第二候选文本。The one or more second candidate texts are displayed in the candidate area.
  15. 如权利要求13或14所述的装置,所述第二加载模块还适于:The apparatus according to claim 13 or 14, wherein the second loading module is further adapted to:
    按照词长和/或词频对所述第二候选文本进行排序。The second candidate text is sorted by word length and/or word frequency.
  16. 如权利要求10所述的装置,还包括:The apparatus of claim 10 further comprising:
    移动模块,适于在监测到确认操作时,将所述确认指示对应的第一候选文本移至字符串区域中。And a moving module, configured to move the first candidate text corresponding to the confirmation indication into the character string area when the confirmation operation is monitored.
  17. 如权利要求10或11或13或14或16所述的装置,还包括:The apparatus of claim 10 or 11 or 13 or 14 or 16, further comprising:
    第二确定模块,适于在监听到指定的操作事件时,确定第二目标按键;所述第二目标按键为当前未确定候选文本的字符串对应的操作按键;a second determining module, configured to determine a second target button when the specified operation event is monitored; and the second target button is an operation button corresponding to the character string of the currently undetermined candidate text;
    第三加载模块,适于加载所述第二目标按键对应的一个或多个第三字符串,与,每个第三字符串对应的第三候选文本;所述第三候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者。a third loading module, configured to load one or more third character strings corresponding to the second target button, and third candidate text corresponding to each third character string; the third candidate text includes Chinese candidate text At least one of an English candidate text and a digital candidate text.
  18. 如权利要求17所述的装置,所述第三加载模块还适于:The apparatus of claim 17, the third loading module is further adapted to:
    提取每个第二目标按键关联一个或多个第三字符;所述第三字符包括中文字符、英文字符、数字字符中的至少一者;Extracting each second target button to associate one or more third characters; the third character includes at least one of a Chinese character, an English character, and a numeric character;
    将每个第二目标按键关联的一个或多个第三字符组合成为一个或多个第三字符串;所述第三字符串包括中文字符串、英文字符串、数字字符串中的至少一者;Combining one or more third characters associated with each second target button into one or more third strings; the third string includes at least one of a Chinese character string, an English character string, and a numeric character string ;
    在预置的词库中查找所述一个或多个第三字符串对应的一个或多个第三候选文本;所述第三候选文本包括中文候选文本、英文候选文本、数字候选文本中的至少一者;Searching, in a preset vocabulary, one or more third candidate texts corresponding to the one or more third character strings; the third candidate text includes at least one of Chinese candidate text, English candidate text, and digital candidate text One;
    在字符串区域中显示所述一个或多个第三字符串; Displaying the one or more third strings in a string region;
    在候选区域中所述一个或多个第三候选文本。The one or more third candidate texts in the candidate region.
  19. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求1-9中的任一个所述的基于输入的候选文本的加载方法。A computer program comprising computer readable code, when said computer readable code is run on a computing device, causing said computing device to perform input based candidate text according to any of claims 1-9 Load method.
  20. 一种计算机可读介质,其中存储了如权利要求19所述的计算机程序。 A computer readable medium storing the computer program of claim 19.
PCT/CN2015/098987 2015-01-27 2015-12-25 Input-based candidate text loading method and apparatus WO2016119549A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510041208.2 2015-01-27
CN201510041208.2A CN104615268B (en) 2015-01-27 2015-01-27 A kind of loading method and device of candidate's text based on input

Publications (1)

Publication Number Publication Date
WO2016119549A1 true WO2016119549A1 (en) 2016-08-04

Family

ID=53149752

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/098987 WO2016119549A1 (en) 2015-01-27 2015-12-25 Input-based candidate text loading method and apparatus

Country Status (2)

Country Link
CN (1) CN104615268B (en)
WO (1) WO2016119549A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9889428B2 (en) 2011-07-14 2018-02-13 Treibacher Industrie Ag Ceria zirconia alumina composition with enhanced thermal stability
CN114860147A (en) * 2021-02-04 2022-08-05 Oppo广东移动通信有限公司 Input method, input device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615268B (en) * 2015-01-27 2018-05-04 北京奇虎科技有限公司 A kind of loading method and device of candidate's text based on input

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1854998A (en) * 2005-04-18 2006-11-01 诺基亚公司 Hybrid inputting method and device for various characters
CN101261545A (en) * 2008-04-25 2008-09-10 中兴通讯股份有限公司 Terminal equipment and its input method
CN101359257A (en) * 2008-07-09 2009-02-04 北京搜狗科技发展有限公司 Method and apparatus for inputting words by numeric keyboard
CN101943952A (en) * 2010-01-27 2011-01-12 北京搜狗科技发展有限公司 Mixed input method of at least two languages and input method system
WO2012036480A2 (en) * 2010-09-17 2012-03-22 Shin Boo-Yong Multilingual text input and output device using hangul
CN102566772A (en) * 2010-12-26 2012-07-11 上海量明科技发展有限公司 Method and system for implementation of character hybrid input
CN104615268A (en) * 2015-01-27 2015-05-13 北京奇虎科技有限公司 Input-based candidate text loading method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1834865B (en) * 2005-03-18 2010-04-28 马贤亮 Multi-character continuous inputting method of Chinese phonetic and notional phonetic alphabet with digitally coded on keypad
CN101398715B (en) * 2007-09-24 2010-06-02 普天信息技术研究院有限公司 Multi-type character mixing input method
CN101587471A (en) * 2008-05-19 2009-11-25 黄晓凤 Multi-language hybrid input method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1854998A (en) * 2005-04-18 2006-11-01 诺基亚公司 Hybrid inputting method and device for various characters
CN101261545A (en) * 2008-04-25 2008-09-10 中兴通讯股份有限公司 Terminal equipment and its input method
CN101359257A (en) * 2008-07-09 2009-02-04 北京搜狗科技发展有限公司 Method and apparatus for inputting words by numeric keyboard
CN101943952A (en) * 2010-01-27 2011-01-12 北京搜狗科技发展有限公司 Mixed input method of at least two languages and input method system
WO2012036480A2 (en) * 2010-09-17 2012-03-22 Shin Boo-Yong Multilingual text input and output device using hangul
CN102566772A (en) * 2010-12-26 2012-07-11 上海量明科技发展有限公司 Method and system for implementation of character hybrid input
CN104615268A (en) * 2015-01-27 2015-05-13 北京奇虎科技有限公司 Input-based candidate text loading method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9889428B2 (en) 2011-07-14 2018-02-13 Treibacher Industrie Ag Ceria zirconia alumina composition with enhanced thermal stability
US11135569B2 (en) 2011-07-14 2021-10-05 Treibacher Industrie Ag Ceria zirconia alumina composition with enhanced thermal stability
CN114860147A (en) * 2021-02-04 2022-08-05 Oppo广东移动通信有限公司 Input method, input device, electronic equipment and storage medium
CN114860147B (en) * 2021-02-04 2023-09-08 Oppo广东移动通信有限公司 Input method, input device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104615268B (en) 2018-05-04
CN104615268A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
US9400775B2 (en) Document data entry suggestions
US7414615B2 (en) System and method for inputting characters using a directional pad
US11150739B2 (en) Chinese character entry via a Pinyin input method
KR102399588B1 (en) Apparatus AND method for DISPLAYING application
WO2016095689A1 (en) Recognition and searching method and system based on repeated touch-control operations on terminal interface
US20160062625A1 (en) Computing device and method for classifying and displaying icons
US20120089632A1 (en) Information terminal apparatus, character input method, and computer-readable medium storing character input program
WO2016091095A1 (en) Searching method and system based on touch operation on terminal interface
US20130050098A1 (en) User input of diacritical characters
CN105094603B (en) Method and device for associated input
CN104598507A (en) Information searching method and device
WO2016119549A1 (en) Input-based candidate text loading method and apparatus
JP5963291B2 (en) Method and apparatus for inputting symbols from a touch sensitive screen
JP5980173B2 (en) Information processing apparatus and information processing method
US20040075648A1 (en) System and method for inputting special characters
WO2016188203A1 (en) Character input method and apparatus, and computer storage medium
US20150029114A1 (en) Electronic device and human-computer interaction method for same
CN107133308B (en) Singing list generation method and mobile terminal
CN112698734A (en) Candidate word display method and device and electronic equipment
US20150347004A1 (en) Indic language keyboard interface
KR100862242B1 (en) Words retrieving method
CN105718427B (en) Information processing method and electronic equipment
KR102042140B1 (en) Method, terminal and computer readable storage medium for enabling convenient special character input
US20220261092A1 (en) Method and device for inputting text on a keyboard
KR102250609B1 (en) Method, user terminal and computer program for providing chinese character list priority setting function

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15879747

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15879747

Country of ref document: EP

Kind code of ref document: A1