CN107665046B - Input method and device and input device - Google Patents

Input method and device and input device Download PDF

Info

Publication number
CN107665046B
CN107665046B CN201610616927.7A CN201610616927A CN107665046B CN 107665046 B CN107665046 B CN 107665046B CN 201610616927 A CN201610616927 A CN 201610616927A CN 107665046 B CN107665046 B CN 107665046B
Authority
CN
China
Prior art keywords
input string
input
candidate item
control instruction
string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610616927.7A
Other languages
Chinese (zh)
Other versions
CN107665046A (en
Inventor
左艳波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201610616927.7A priority Critical patent/CN107665046B/en
Publication of CN107665046A publication Critical patent/CN107665046A/en
Application granted granted Critical
Publication of CN107665046B publication Critical patent/CN107665046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The embodiment of the invention provides an input method, an input device and a device for input, wherein the method specifically comprises the following steps: receiving an input string of a user; the input string includes: a first input string and a second input string, the second input string being a character string located between a start identifier and an end identifier, the first input string being a character string of the input string other than the second input string, the start identifier and the end identifier; converting the first input string to obtain a first candidate item corresponding to a first language; and performing preset processing on the second input string to obtain a corresponding processing result. The embodiment of the invention can realize the preset processing of the second input string under the condition of not influencing the conversion processing of the first input string; particularly, the hybrid input can be realized without switching the input mode, the input continuity in the hybrid input process is enhanced, and the input efficiency is further improved.

Description

Input method and device and input device
Technical Field
The present invention relates to the field of information input technology, and in particular, to an input method and apparatus, and an apparatus for input.
Background
The input method refers to a coding method adopted for inputting various characters into a computer or other equipment (such as a mobile phone and a tablet computer). For users in languages of chinese, japanese, korean, etc., it is generally necessary to interact with computers or other devices through input method programs.
In practical application, when a user inputs contents through an input method program, the user often needs to input mixed contents of Chinese and English or digital, and the existing input method program mainly realizes mixed input through two modes:
mode 1, mixed content can be set in the input method program in advance as a custom phrase. For example, a mapping relationship between a custom string and a custom phrase may be extracted and set, and a candidate corresponding to the custom phrase may be obtained when the custom string is in use.
Mode 2, chinese, english or numeral can be displayed on the screen step by switching Chinese and English input modes to realize mixed input. For example, the Shift key may be used to switch between chinese/english modes. In the English mode, the input method program can directly display the letters corresponding to the keys on the screen.
However, the user-defined phrases extracted and set in the above mode 1 are often not comprehensive enough, and cannot meet the mixed input requirement of real-time and personalized mixed content. The mode 2 requires frequent switching of input modes, and not only operation is complex, but also continuity of input is easily affected, and finally input efficiency is affected.
In addition, the font information of the characters input by the current input method program is determined by the host program hosted by the input method program. Taking the host program such as OFFICE, QQ, etc. as an example, the user can set font information such as font size, font color, etc. through the interface provided by the host program, and the input method program can display the inputted characters according to the set font information. However, the above-mentioned setting method can only obtain the character font consistent with the set font information, and if the user is not satisfied with the font information, the user needs to select the corresponding character and perform the corresponding editing, and the above-mentioned editing obviously consumes a certain operation cost, which affects the input efficiency.
Disclosure of Invention
In view of the above problems, embodiments of the present invention have been made in order to provide an input method, an input apparatus, and an apparatus for input that overcome or at least partially solve the above problems, and can implement a preset process for a second input string without affecting a conversion process of a first input string. Particularly, the hybrid input can be realized without switching the input mode, the input continuity in the hybrid input process is enhanced, and the input efficiency is further improved.
In order to solve the above problems, the present invention discloses an input method, comprising:
receiving an input string of a user; the input string includes: a first input string and a second input string, the second input string being a character string located between a start identifier and an end identifier, the first input string being a character string of the input string other than the second input string, the start identifier, and the end identifier;
converting the first input string to obtain a first candidate item corresponding to a first language;
and performing preset processing on the second input string to obtain a corresponding processing result.
Optionally, the step of performing preset processing on the second input string includes:
obtaining a second candidate item corresponding to a second language according to the second input string;
the method further comprises the following steps:
combining the first candidate item and the second candidate item to obtain a combined candidate item;
and presenting the combination candidate.
Optionally, the step of combining the first candidate item and the second candidate item includes:
and combining the first candidate item and the second candidate item according to a combination rule corresponding to the preset processing to obtain a combined candidate item.
Optionally, the step of performing preset processing on the second input string includes:
searching in a mapping relation between a preset character string and a preset control instruction according to the second input string to obtain a target control instruction corresponding to the second input string;
and executing the target control instruction.
Optionally, the target control instruction includes: a target control instruction for font information, the step of executing the target control instruction comprising:
responding to a screen-on instruction aiming at the first candidate item, and screen-on the first candidate item according to a target control instruction of the font information.
Optionally, the target control instruction includes: a target control instruction in a first language writing mode, said step of executing said target control instruction comprising:
and displaying the first candidate item according to a target control instruction of a first language writing mode.
Optionally, the target control instruction includes: the step of executing the target control instruction comprises:
and translating the first candidate item into a third candidate item corresponding to the target language.
Optionally, the target control instruction includes: the step of executing the target control instruction comprises the following steps:
and searching in the target searching program according to the first candidate item, and taking a corresponding searching result as a fourth candidate item.
Optionally, the start identifier and the end identifier comprise: characters other than alphabetic characters and numeric characters.
In another aspect, the present invention discloses an input device, comprising:
the system comprises an interface module, a main processing module and an auxiliary processing module;
the interface module is used for receiving an input string of a user; the input string includes: a first input string and a second input string, the second input string being a character string located between a start identifier and an end identifier, the first input string being a character string of the input string other than the second input string, the start identifier and the end identifier;
the main processing module is used for performing conversion processing on the first input string to obtain a corresponding first candidate item;
and the auxiliary processing module is used for performing preset processing on the second input string to obtain a corresponding processing result.
In yet another aspect, an apparatus for input is disclosed that includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the one or more processors to include instructions for:
receiving an input string of a user; the input string includes: a first input string and a second input string, the second input string being a character string located between a start identifier and an end identifier, the first input string being a character string of the input string other than the second input string, the start identifier and the end identifier;
converting the first input string to obtain a first candidate item corresponding to a first language;
and performing preset processing on the second input string to obtain a corresponding processing result.
The embodiment of the invention has the following advantages:
in the input process, the character string between the start identifier and the end identifier which appear in pairs is recognized as the second input string, the character strings except the second input string, the start identifier and the end identifier are recognized as the first input string, and the first input string and the second input string are processed independently, so that the preset processing of the second input string can be realized under the condition that the conversion processing of the first input string is not influenced.
Moreover, the preset processing of the embodiment of the present invention may be used to implement any auxiliary function other than the conversion processing function, for example, the preset processing specifically may include: the non-conversion processing may directly obtain a second candidate corresponding to a second language according to the second input string, where the second language specifically may include: english and/or numeral, because the non-conversion processing of the second input string and the conversion processing of the first input string are independently carried out, the mixed input can be realized under the condition of not switching the input mode, the input continuity in the mixed input process is enhanced, and the input efficiency is further improved.
In addition, the preset processing may specifically include: and processing the control instruction, so that the second input string can be analyzed into a corresponding target control instruction, such as a target control instruction of font information, and the like, so that a text font consistent with the target control instruction of the font information can be obtained for each input process, that is, the text font of each input process can be inconsistent with a font set by a user through a host program such as OFFICE, QQ, and the like, for example, the font set by the host program is a normal font, and the text font of one input process can be a bold font or an underline font, and the like, so that not only can the operation cost corresponding to the subsequent editing operation of the user be saved, but also the flexibility of font setting can be improved.
Drawings
FIG. 1 is a flow chart of the steps of a first embodiment of an input method of the present invention;
FIG. 2 is a flowchart illustrating steps of a second embodiment of an input method;
FIGS. 3 (a), 3 (b), and 3 (c) are schematic diagrams of a candidate window, another candidate window, and another candidate window, respectively, according to the present invention;
FIG. 4 is a flowchart of the steps of a third embodiment of an input method of the present invention;
FIG. 5 is a schematic illustration of yet another candidate window of the present invention;
FIG. 6 is a block diagram of an input device according to the present invention;
FIG. 7 is a block diagram of an apparatus 900 for input of the present invention; and
fig. 8 is a schematic diagram of a server according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Method embodiment one
Referring to fig. 1, a flowchart illustrating steps of a first embodiment of an input method according to the present invention is shown, which may specifically include the following steps:
step 101, receiving an input string of a user; the input string may specifically include: a first input string and a second input string, the second input string may be a character string located between a start identifier and an end identifier, the first input string may be a character string of the input string other than the second input string, the start identifier and the end identifier;
102, converting the first input string to obtain a first candidate item corresponding to a first language;
and 103, performing preset processing on the second input string to obtain a corresponding processing result.
The embodiment of the present invention may be applied to input method programs of various input modes, for example, the input modes may specifically include input modes such as keyboard symbols, handwritten information, voice input, and the like, that is, a user may input on-screen content by encoding a character string, handwriting input information, voice input information, and the like. In the following, only the input method of the code string (hereinafter, simply referred to as an input string) will be described as an example, and other input methods may be referred to each other.
The input method provided by the embodiment of the invention can be applied to the application environment corresponding to the client and the server of the input method program, wherein the client and the server of the input method program can be positioned in a wired or wireless network, and the client and the server perform data interaction through the wired or wireless network.
Specifically, a client of the input method program can run on the intelligent terminal, and the client can capture an input string of the user in the input process. The intelligent terminal may specifically include but is not limited to: smart phones, tablet computers, e-book readers, MP3 (moving Picture Experts Group Audio Layer III) players, MP4 (moving Picture Experts Group Audio Layer IV) players, laptop portable computers, car-mounted computers, desktop computers, set-top boxes, smart televisions, wearable devices, and the like.
In the input process, the input string is identified through the paired start identifier and end identifier, wherein the character string between the start identifier and the end identifier can be the second input string, the character strings except the second input string, the start identifier and the end identifier can be the first input string, and the processing between the first input string and the second input string can be relatively independent, so that the preset processing for the second input string can be realized.
In order to avoid that the start identifier and the end identifier affect the normal input process, that is, the start identifier and the end identifier should be different from the characters of the second input string to be input, in an alternative embodiment of the present invention, the start identifier and the end identifier may specifically include: characters other than alphabetic characters and numeric characters. Wherein the start identifier and the end identifier may be the same or different. For example, it is possible that both the start identifier and the end identifier are "/", or it is also possible that the start identifier is "/", and the end identifier is ". It is to be understood that the input method program may provide a corresponding first interface to the user, so that the user may set the start identifier and the end identifier through the first interface, and it is to be understood that the embodiment of the present invention is not limited to specific start identifiers and end identifiers and specific setting manners thereof.
In practical application, after receiving an input string, an input method program may detect whether a start identifier exists in the input string, and if not, may output a character string in the input string, except for a second input string, the start identifier, and an end identifier, as a first input string to step 102; if so, the character string following the start identifier may be output to step 103 as a second input string. Optionally, when there is a start identifier in the input string, it may be continuously detected whether there is an end identifier corresponding to the start identifier in the input string.
It should be noted that the user may continue to type the character or character string after the ending identifier, for example, the user's input string "zhongguolilianhang/kn 5517/qifei" may further include the character string "qifei" after the ending identifier, so that the first input string of the input string may be "zhongguolilianhang qifei" and the second input string may be "kn5517".
In addition, there may be at least one pair of a start identifier and an end identifier in an input string. For example, the user's input string "nikeyixuannze/km 5512/huo/km5541/hangban" includes two pairs of start and end identifiers, the final first input string may be "nikeyixuanzehuohangban", and the final second input string may be "km5512" and "km5541". Alternatively, in the case where there may be at least one pair of start identifier and end identifier in an input string, it is possible to continue to detect whether there is a next start identifier in the string following the last end identifier, and further, after detecting the next start identifier, it is possible to detect a next end identifier paired with the next start identifier.
It should be noted that the above-mentioned "zhongguolianhangqifei" and "nikeyixuanzehuohangban" describe the separated parts of the first input string as a whole, so that the whole is continuously processed by the step 102. Optionally, it may also be described as several parts, so that step 102 processes each part separately, and it is understood that the specific description and conversion process of the first input string are not limited by the embodiment of the present invention.
In an alternative embodiment of the present invention, step 102 may be performed by a main processing module of the input method program, and the main processing module may perform conversion processing on the first input string to obtain a first candidate item corresponding to the first language. The first language may be a language requiring coded conversion, such as chinese that can be converted by syllable conversion or shape code conversion, japanese that usually employs syllable conversion, korean that usually employs shape code conversion, and the like. In practical application, the conversion processing may convert the first input string into a matching sequence, and then query the lexicon according to the matching sequence to obtain a first candidate corresponding to the first language.
In another optional embodiment of the present invention, when the first candidate item meets the preset condition, the first input string and the second input string may be subjected to an exchange process, that is, the original second input string may be used as the new first input string, and the original first input string may be used as the new second input string. The exchange processing can improve the quality of the first candidate. The preset conditions may specifically include: the first candidate is not ideal or does not conform to the conventional grammar rule, and the like, and optionally, the occurrence number of the first candidate in the internet corpus may be searched for all or part of the first candidate ranked in the top N bits, and if the occurrence number is smaller than a number threshold (e.g. a number of 1, and the like), the first candidate may be considered as not ideal.
Alternatively, if the first input string is a pinyin string, the corresponding matching sequence may be a pinyin syllable. There are about four hundred or so syllables (without regard to tone) in Chinese, and the pinyin string is parsed according to a certain rule to obtain a possible pinyin syllable sequence. For example, the first input string is "fangan" and will be parsed into two different syllable sequences: [ fan ] [ gan ] and [ fang ] [ an ]. Using these two syllable sequences for querying separately, two (or more) Chinese words "dislike" and "solution" can be obtained. However, many full pinyin input strings have only a unique way of parsing. For example, "buguo" may be parsed as [ bu ] [ guo ] to get the Chinese word "not over".
Or, if the first input string is a character string corresponding to a glyph (such as a stroke sequence, a five-stroke sequence, etc.), in the input process, the first input string input by the user is firstly analyzed into a possible five-stroke code (one of a shape code sequence), and then the five-stroke code is utilized to query the word stock to obtain corresponding candidate items, and the candidate items are displayed to the user. The shape code sequence of the embodiment of the invention can comprise basic units such as strokes, glyphs, etymons and the like. For example, korean may also be a homomorphic sequence as a matching sequence.
It is to be understood that the above conversion process is only an alternative embodiment, and in fact, the embodiment of the present invention does not limit the specific conversion process.
In another optional embodiment of the present invention, step 103 may be performed by an auxiliary processing module of the input method program, where the auxiliary processing module may process the second input string to obtain a corresponding processing result, and a processing procedure of the auxiliary processing module is relatively independent from a processing procedure of the main processing module. Optionally, after detecting the start identifier, the auxiliary processing module may be started to process the second input string; further, the secondary processing module may be terminated upon detection of an end identifier occurring after the start identifier.
In the embodiment of the present invention, the preset processing of step 103 for the second input string may be used to implement an auxiliary function other than the conversion processing function, which may be preset by a person skilled in the art or a user. Optionally, the preset processing specifically may include: non-conversion processing, step 103 may directly take the second input string as a second candidate corresponding to a second language, where the second language specifically may include: in addition, since the non-conversion processing of the second input string and the conversion processing of the first input string are performed independently, it is possible to realize the hybrid input without switching the input mode, thereby enhancing the input consistency during the hybrid input and further improving the input efficiency.
Optionally, the preset processing specifically may include: and processing the control instruction, so that the second input string can be analyzed into a corresponding target control instruction, such as a target control instruction of font information, and thus a text font consistent with the target control instruction of the font information can be obtained for each input process, that is, the text font of each input process can be inconsistent with a font set by a user through a host program such as OFFICE, QQ, and the like, for example, the font set by the host program is a normal font, and the text font of one input process can be a bolded font or underlined font, and therefore, not only can the operation cost corresponding to the subsequent editing operation of the user be saved, but also the flexibility of font setting can be improved.
In summary, in the input process, the embodiment of the present invention recognizes a character string located between a start identifier and an end identifier appearing in pairs as a second input string, recognizes a character string other than the second input string, the start identifier and the end identifier as a first input string, and performs relatively independent processing on the first input string and the second input string, thereby implementing preset processing on the second input string without affecting conversion processing of the first input string.
Method embodiment two
Referring to fig. 2, a flowchart of steps of a second embodiment of an input method according to the present invention is shown, which specifically includes the following steps:
step 201, receiving an input string of a user; the input string may specifically include: a first input string and a second input string, the second input string may be a character string located between a start identifier and an end identifier, the first input string may be a character string of the input string other than the second input string, the start identifier and the end identifier;
step 202, performing conversion processing on the first input string to obtain a first candidate item corresponding to a first language;
step 203, obtaining a second candidate item corresponding to a second language according to the second input string;
step 204, combining the first candidate item and the second candidate item to obtain a combined candidate item;
and step 205, presenting the combination candidate.
In this embodiment and an optional embodiment of the first method embodiment, on the basis of the first method embodiment, the corresponding preset processing procedure may specifically include: and obtaining a second candidate corresponding to the second language according to the second input string, wherein the second candidate can be obtained based on a non-conversion processing mode, and because the non-conversion processing of the second input string and the conversion processing of the first input string are independently performed, mixed input can be realized without switching input modes, the input continuity in the mixed input process is enhanced, and the input efficiency is further improved.
In practical applications, in the above step 203, the second input string may be directly used as the second candidate corresponding to the second language, or the second candidate corresponding to the second input string may be obtained by directly querying the word stock in the second language (such as english). The second language may be a language directly matched without conversion processing, such as english, french, german, symbolic words, numbers, and the like, and the specific second language is not limited by the embodiment of the present invention.
The step 204 may combine the first candidate and the second candidate to obtain a combined candidate. Alternatively, the combination of the first candidate and the second candidate may be performed according to the positions of the first candidate and the second candidate in the input string.
Example 1 of an input method is provided herein, where example 1 may specifically include the following steps:
step S1, receiving an input string (pinyin string) of a user, such as 'zhonggulianhang';
s2, detecting whether an initial identifier exists in the input string, if so, executing a step S4, otherwise, executing a step S3;
in practical applications, the user may insert the start identifier where english or numbers need to be entered, such as including the start identifier "/" in the input string "zhonggulianhang/".
S3, taking character strings in the input string except the second input string, the starting identifier and the ending identifier as a first input string, and performing conversion processing on the first input string through a main processing module to obtain a first candidate item corresponding to a first language (such as Chinese);
step S4, taking the character string behind the initial identifier as a second input string, starting an auxiliary processing module, and performing non-conversion processing on the second input string through the auxiliary processing module to obtain a second candidate item corresponding to a second language (such as English and/or numbers);
after detecting the start identifier, the input method program will start a new auxiliary processing module and the main processing module may pause. Also, the user may enter english letters, numbers, or other characters (e.g., other symbols such as punctuation) after the start identifier, such as including the second input string "kn5517" in the input string "zhonggulianhang/kn 5517".
Step S5, detecting whether an ending identifier corresponding to the starting identifier exists in the input string, if so, executing step S6, otherwise, returning to step S4;
and step S6, ending the auxiliary processing module, receiving characters appearing after the ending identifier, and returning to execute the step S2.
Referring to fig. 3 (a), fig. 3 (b), and fig. 3 (c), respectively, schematic diagrams of a candidate window, another candidate window, and yet another candidate window of the present invention are shown, where in fig. 3 (a), the input method program may recognize the input string "zhongguolianhang" as the first input string, and perform a conversion process on the first input string "zhongguolianhang" through the main processing module to obtain the first candidate in fig. 3 (a); further, in fig. 3 (b), the input method program may recognize the character "kn5517" following the start identifier "/" in the input string "zhong guoliianhang/kn 5517" as a second input string, and perform non-conversion processing on the second input string "kn5517" through the auxiliary processing module to obtain a second candidate "kn5517", and may combine the first candidate and the second candidate to obtain a combined candidate "china joint kn5517" in fig. 3 (b); further, the user may also continue to type characters after the ending identifier corresponding to the starting identifier, and then may identify the characters appearing after the ending identifier, and determine to output the characters to the main processing module for processing according to the identification result, or output the characters to a new auxiliary processing module for processing, and if the characters appearing after the ending identifier in fig. 3 (c) are "qifei", the main processing module may continue to perform conversion processing on the "qifei" to obtain the final combination candidate items "chinese joint voyage KN5517", "chinese joint voyage KN5517 taken off", and the like.
In an optional embodiment of the present invention, before receiving the ending identifier corresponding to the starting identifier, it indicates that the user has not completed inputting the second language, in this case, to avoid the user's screen-on mistake, the current candidate item may be displayed in gray, and the gray display may be used to prompt that the screen is not closed properly currently. Accordingly, after receiving the ending identifier corresponding to the starting identifier, the current candidate item may be displayed normally to prompt the user that the screen may be displayed at present.
In the existing scheme, the input method program may support the on-screen function of the numeric keys, that is, pressing the numeric keys will screen the current candidate items, for example, the numeric keys "1", "2", "3", etc. are used to screen the candidates ranked at 1 st, 2 nd and 3 rd. In order to avoid the conflict between the screen-up function of the numeric keys and the input function of the digital content, the screen-up function of the numeric keys can be shielded before the ending identifier corresponding to the starting identifier is received in the embodiment of the present invention, so that the conflict between the screen-up function of the numeric keys and the input function of the digital content can be effectively avoided.
Besides the combination of the first candidate and the second candidate according to the positions of the first candidate and the second candidate in the input string, those skilled in the art may adopt other combination ways of the first candidate and the second candidate according to the practical application requirements. For example, in another alternative embodiment of the present invention, the step of combining the first candidate item and the second candidate item includes: and combining the first candidate item and the second candidate item according to a combination rule corresponding to the preset processing to obtain a combined candidate item.
Wherein, the above combination rule can be determined by those skilled in the art or users according to the actual application requirements. Alternatively, the characters in the second candidate may be bracketed and then combined with the first candidate. The first candidate item and the second candidate item may be respectively segmented, and cross-combined according to a position sequence corresponding to a segmentation result. Taking the input string "tianqihao/re si le/" as an example, wherein a first candidate item corresponding to the first input string "tianqihao" includes "weather is good", and a second candidate item corresponding to the second input string "re si le" includes "re si le", then the second candidate item may be segmented with a space as a boundary, and a segmentation result is added with a bracket, and finally: (re) (s i) (le), similarly, the first candidate may be subdivided into: "day", "qi" and "good", and finally, according to the position sequence corresponding to the segmentation result, the following combination candidates are obtained through cross combination: tian (re) Qi (si) is good (le). It should be understood that the combination rule is only used as an alternative embodiment, and the parentheses and the segmentation manner in the combination rule can be replaced by other manners, and the embodiment of the present invention does not limit the specific combination rule.
To sum up, the embodiment of the present invention obtains a second candidate corresponding to a second language according to the second input string, where the second candidate may be obtained based on a non-conversion processing manner; since the non-conversion processing of the second input string and the conversion processing of the first input string are performed independently, it is possible to realize the hybrid input without switching the input mode, enhance the input consistency in the hybrid input process, and further improve the input efficiency.
Method embodiment three
Referring to fig. 4, a flowchart illustrating steps of a third embodiment of an input method according to the present invention is shown, which may specifically include the following steps:
step 401, receiving an input string of a user; the input string may specifically include: a first input string and a second input string, the second input string may be a character string located between a start identifier and an end identifier, the first input string may be a character string of the input string other than the second input string, the start identifier and the end identifier;
step 402, performing conversion processing on the first input string to obtain a first candidate item corresponding to a first language;
step 403, according to the second input string, searching in a mapping relation between a preset character string and a preset control instruction to obtain a target control instruction corresponding to the second input string;
and step 404, executing the target control instruction.
In this embodiment and an optional embodiment of the first method embodiment, on the basis of the first method embodiment, the corresponding preset processing procedure may specifically include: and processing the control instruction, so that the second input string can be analyzed into a corresponding target control instruction, and a corresponding control function can be realized through the target control instruction.
In practical applications, the mapping relationship between the preset character string and the preset control command can be preset by a person skilled in the art or a user. For example, a preset category of the control instruction may be determined in advance, and then the setting of the preset control instruction may be performed according to the preset category. For example, the preset category may specifically include: font type, writing mode type, translation type, search type, etc., it is understood that any operable preset type (e.g., input mode type of simple spelling, full spelling, or double spelling) is within the scope of the embodiments of the present invention.
In an optional embodiment of the present invention, for the font type, the target control instruction may specifically include: the target control instruction of the font information, the step 404 of executing the target control instruction may specifically include: responding to a screen-on instruction aiming at the first candidate item, and screen-on the first candidate item according to a target control instruction of the font information. The above-mentioned screen-loading instruction may be used to input the characters in the candidate region into the current host program environment, and in this optional embodiment, the first candidate item may be loaded on the screen according to the target control instruction of the font information. In this way, the font of the text that is consistent with the target control instruction of the font information can be obtained for each input process, that is, the font of the text for each input process may not be consistent with the font set by the user through the host program such as OFFICE, QQ, and the like. For example, the font set by the host program is a normal font, and the font of the character in one input process can be a bold font or an underline font, so that the operation cost corresponding to the subsequent editing operation of the user can be saved, and the flexibility of the font setting can be improved.
In practical applications, the font information may specifically include: font size, font name, font color, font format (e.g., whether bolded, italicized, underlined, etc.). Here, examples of the preset character strings corresponding to the font information are respectively increased:
example 1, the input string is "tianqihao/18/", and the preset string is "18", which can be used to resize the font size of the candidate corresponding to "tianqihao" to 18.
Example 2, the input string is "tianqihao/tier 00ff00/", and the preset string is "tier 00ff00", which may be used to control the font color of the candidate corresponding to "tianqihao".
Example 3, the input string is "tianqihao/songti/", and the preset string is "songti", which can be used to control the font name of the candidate item corresponding to "tianqihao", and the font name is controlled to song.
Example 4, the input string is "tianqihao/b/", "tianqihao/u/" or "tianqihao/i/", respectively, and the corresponding preset string is "b", "u" or "i", respectively, which can be used to control the font format of the corresponding candidate of "tianqihao": whether bold, underlined, or italicized.
It can be understood that the preset character strings and the target control instructions of the font information are only used as optional embodiments, and actually, a person skilled in the art or a user may flexibly set the corresponding preset character strings according to the target control instructions of the font information.
It should be noted that, for an input string, at least one preset string may be included, for example, the input string "tianqihao/18/qinlang/20/" may respectively adjust the fonts of the candidates corresponding to "tianqihao" and "qinlang" to 18 and 20, or the input string "tianqihao/18/qinlang/b/" may adjust the font of the candidate corresponding to "tianqihao" to 18, and boldfish the font of the candidate corresponding to "qinlang".
In another optional embodiment of the present invention, for the writing mode category, the target control instruction may specifically include: if the target control instruction in the first language writing mode is executed, the step 404 of executing the target control instruction may specifically include: and displaying the first candidate item according to a target control instruction of a first language writing mode. For example, the "j" or "f" in the input string "tianqihao/j/" or "tianqihao/f/" may be used to define whether the first candidate is simplified or traditional chinese, respectively. In practical applications, step 402 may directly perform the processing of the first input string according to the target control instruction of the first language writing mode to obtain the corresponding first candidate. Alternatively, step 402 may process the first input string in the default writing mode to obtain a first candidate in the default writing mode, and step 404 may first convert the first candidate from the default writing mode to the first language writing mode and then perform a presentation of the first candidate.
In yet another optional embodiment of the present invention, for the translation category, the target control instruction may specifically include: if the translation instruction corresponds to the target language, the step 404 of executing the target control instruction may specifically include: and translating the first candidate item into a third candidate item corresponding to the target language. The target language may be set by a user, for example, when the first language is chinese, the target language may be english, korean, or the like. Referring to fig. 5, a schematic diagram of another candidate window of the present invention is shown, in which besides the first candidate item, the english translation result "Good Weather" of the first candidate item of the 1 st digit may be presented, so that the user may be provided with richer information through the input method program.
In yet another optional embodiment of the present invention, for the search category, the target control instruction may specifically include: if the search instruction corresponds to the target search program, the step 404 of executing the target control instruction may specifically include: and searching in the target searching program according to the first candidate item, and taking a corresponding searching result as a fourth candidate item. In practical applications, the input method program may obtain a search result corresponding to the first candidate item by accessing the target search program, where the search result may be in the form of a picture, audio, video, text, or the like, so that richer information may be provided to the user through the input method program.
To sum up, the preset processing of the embodiment of the present invention may specifically include: and processing the control instruction, so that the second input string can be analyzed into a corresponding target control instruction, and a corresponding control function can be realized through the target control instruction. For example, the font adjustment of the text on the screen may be realized through a target control instruction of the font information, and for example, a translation result of the first candidate item may be provided to the user through a translation instruction corresponding to the target language, or a search result of the first candidate item may be provided to the user through a search instruction corresponding to the target search program.
In the existing scheme, operations such as adjusting the font of characters on the screen, and acquiring the translation result or the search result require a user to access a special application program through manual operation, so that the embodiment of the invention utilizes an input method program which is an indispensable tool in the daily life of the user, takes the input method program as a medium of the operations, and automatically provides the result of the operations for the user through the input method program.
It should be noted that, for simplicity of description, the method embodiments are described as a series of motion combinations, but those skilled in the art should understand that the present invention is not limited by the described motion sequences, because some steps may be performed in other sequences or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no moving act is required as an embodiment of the invention.
Apparatus embodiment
Referring to fig. 6, a block diagram of an embodiment of an input device according to the present invention is shown, which may specifically include: an interface module 601, a main processing module 602, and an auxiliary processing module 603;
the interface module 601 is configured to receive an input string of a user; the input string may specifically include: a first input string and a second input string, the second input string may be a character string located between a start identifier and an end identifier, the first input string may be a character string of the input string other than the second input string, the start identifier and the end identifier;
the main processing module 602 is configured to perform conversion processing on the first input string to obtain a corresponding first candidate item;
the auxiliary processing module 603 may be configured to perform preset processing on the second input string to obtain a corresponding processing result.
In practical applications, the input device may be integrated as a functional device into an input method program, and the specific application environment of the input device is not limited in the embodiments of the present invention. Alternatively, the number of the auxiliary processing modules 603 may be one or more, and in practical applications, after detecting the start identifier, a new auxiliary processing module 603 may be started, and after detecting the end identifier corresponding to the start identifier, the auxiliary processing module 603 may be ended. Further, a new secondary processing module 603 may be restarted after subsequent detection of the start identifier.
Optionally, the start identifier and the end identifier may specifically include: characters other than alphabetic characters and numeric characters.
In an optional embodiment of the present invention, the auxiliary processing module 603 may specifically include:
the second candidate obtaining sub-module is used for obtaining a second candidate item corresponding to a second language according to the second input string;
the apparatus may further include:
the combination module is used for combining the first candidate item and the second candidate item to obtain a combined candidate item;
and the display module is used for displaying the combined candidate item.
In another optional embodiment of the present invention, the combination module may specifically include:
and the combining sub-module is used for combining the first candidate item and the second candidate item according to a combining rule corresponding to the preset processing to obtain a combined candidate item.
In yet another optional embodiment of the present invention, the auxiliary processing module 603 may specifically include:
the instruction searching submodule is used for searching in the mapping relation between the preset character string and the preset control instruction according to the second input string so as to obtain a target control instruction corresponding to the second input string; and
and the instruction execution submodule is used for executing the target control instruction.
In yet another optional embodiment of the invention, the target control instruction comprises: the target control instruction of the font information, the instruction execution sub-module may specifically include:
and the screen-on unit is used for responding to a screen-on instruction aiming at the first candidate item and screen-on the first candidate item according to the target control instruction of the font information.
In an optional embodiment of the invention, the target control instruction comprises: the target control instruction in the first language writing mode, the instruction execution sub-module may specifically include:
and the candidate display unit is used for displaying the first candidate according to a target control instruction of a first language writing mode.
In another optional embodiment of the present invention, the target control instruction may specifically include: the instruction execution submodule may specifically include:
and the candidate translation unit is used for translating the first candidate into a third candidate corresponding to the target language.
In yet another optional embodiment of the present invention, the target control instruction may specifically include: the instruction execution sub-module may specifically include:
and the search processing unit is used for searching in the target search program according to the first candidate item and taking a corresponding search result as a fourth candidate item.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 7 is a block diagram illustrating an apparatus 900 for input in accordance with an example embodiment. For example, the apparatus 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls overall operation of the device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 906 provides power to the various components of the device 900. The power components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.
The multimedia component 908 comprises a screen providing an output interface between the device 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide motion action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when apparatus 900 is in an operating mode, such as a call mode, a record mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 further includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status assessment of various aspects of the apparatus 900. For example, the sensor component 914 may detect an open/closed state of the device 900, the relative positioning of components, such as a display and keypad of the apparatus 900, the sensor component 914 may also detect a change in position of the apparatus 900 or a component of the apparatus 900, the presence or absence of user contact with the apparatus 900, orientation or acceleration/deceleration of the apparatus 900, and a change in temperature of the apparatus 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communications between the apparatus 900 and other devices in a wired or wireless manner. The apparatus 900 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 904 comprising instructions, executable by the processor 920 of the apparatus 900 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a smart terminal, enable the smart terminal to perform an input method, the method comprising: receiving an input string of a user; the input string includes: a first input string and a second input string, the second input string being a character string located between a start identifier and an end identifier, the first input string being a character string of the input string other than the second input string, the start identifier, and the end identifier; converting the first input string to obtain a first candidate item corresponding to a first language; and performing preset processing on the second input string to obtain a corresponding processing result.
Fig. 8 is a schematic structural diagram of a server in an embodiment of the present invention. The server 1900 may vary widely by configuration or performance and may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) storing applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input-output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is only limited by the appended claims
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
The present invention provides an input method, an input device and a device for inputting, which are described in detail above, and the principle and the implementation of the present invention are explained herein by applying specific examples, and the description of the above examples is only used to help understand the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (22)

1. An input method, comprising:
receiving and displaying an input string of a user under the condition of not switching an input mode; the input string includes: a first input string and a second input string, the second input string being a character string located between a start identifier and an end identifier, the first input string being a character string of the input string other than the second input string, the start identifier, and the end identifier; shielding the screen-up function of the numeric keys before receiving the ending identifier corresponding to the starting identifier;
converting the first input string to obtain a first candidate item corresponding to a first language;
after the starting identifier is detected, the second input string is subjected to preset processing, and after the ending identifier is detected, the preset processing is ended to obtain a corresponding processing result;
the preset processing of the second input string includes:
searching in a mapping relation between a preset character string and a preset control instruction according to the second input string to obtain a target control instruction corresponding to the second input string; the preset control instruction comprises the following steps: the method comprises the following steps that control instructions of font information, control instructions of a first language writing mode and search instructions corresponding to a target search program are carried out; different preset character strings correspond to different preset control instructions;
and executing the target control instruction.
2. The method of claim 1, wherein the step of performing the preset process on the second input string further comprises:
obtaining a second candidate item corresponding to a second language according to the second input string;
the method further comprises the following steps:
combining the first candidate item and the second candidate item to obtain a combined candidate item;
and presenting the combination candidate.
3. The method of claim 2 wherein said step of combining said first candidate item and said second candidate item comprises:
and combining the first candidate item and the second candidate item according to a combination rule corresponding to the preset processing to obtain a combined candidate item.
4. The method of claim 1, wherein the target control instruction comprises: a target control instruction for font information, the step of executing the target control instruction comprising:
responding to a screen-on instruction aiming at the first candidate item, and screen-on the first candidate item according to a target control instruction of the font information.
5. The method of claim 1, wherein the target control instruction comprises: a target control instruction in a first language writing mode, the step of executing the target control instruction comprising:
and displaying the first candidate item according to a target control instruction of a first language writing mode.
6. The method of claim 1, wherein the target control instruction comprises: the step of executing the target control instruction comprises the following steps:
and searching in the target search program according to the first candidate item, and taking a corresponding search result as a fourth candidate item.
7. The method of any of claims 1 to 6, wherein the start and end identifiers comprise: characters other than alphabetic characters and numeric characters.
8. An input device, comprising: the system comprises an interface module, a main processing module and an auxiliary processing module;
the interface module is used for receiving and displaying an input string of a user under the condition of not switching an input mode; the input string includes: a first input string and a second input string, the second input string being a character string located between a start identifier and an end identifier, the first input string being a character string of the input string other than the second input string, the start identifier, and the end identifier; shielding the screen-up function of the numeric keys before receiving the ending identifier corresponding to the starting identifier;
the main processing module is used for performing conversion processing on the first input string to obtain a corresponding first candidate item;
the auxiliary processing module is used for performing preset processing on the second input string after the start identifier is detected, and finishing the preset processing after the end identifier is detected to obtain a corresponding processing result;
the auxiliary processing module comprises:
the instruction searching submodule is used for searching in the mapping relation between the preset character string and the preset control instruction according to the second input string so as to obtain a target control instruction corresponding to the second input string; the preset control instruction comprises the following steps: the method comprises the following steps that control instructions of font information, control instructions of a first language writing mode and search instructions corresponding to a target search program are carried out; different preset character strings correspond to different preset control instructions;
and
and the instruction execution submodule is used for executing the target control instruction.
9. The apparatus of claim 8, wherein the auxiliary processing module comprises:
the second candidate obtaining sub-module is used for obtaining a second candidate item corresponding to a second language according to the second input string;
the device further comprises:
the combination module is used for combining the first candidate item and the second candidate item to obtain a combined candidate item;
and the display module is used for displaying the combined candidate item.
10. The apparatus of claim 9, wherein the combining module comprises:
and the combining sub-module is used for combining the first candidate item and the second candidate item according to a combining rule corresponding to the preset processing to obtain a combined candidate item.
11. The apparatus of claim 8, wherein the target control instruction comprises: the target control instruction of the font information, the instruction execution submodule comprises:
and the screen-on unit is used for responding to a screen-on instruction aiming at the first candidate item and screen-on the first candidate item according to the target control instruction of the font information.
12. The apparatus of claim 8, wherein the target control instruction comprises: a target control instruction in a first language writing mode, the instruction execution submodule comprising:
and the candidate display unit is used for displaying the first candidate according to a target control instruction of a first language writing mode.
13. The apparatus of claim 8, wherein the target control instruction comprises: the search instruction corresponding to the target search program, the instruction execution submodule comprises:
and the search processing unit is used for searching in the target search program according to the first candidate item and taking a corresponding search result as a fourth candidate item.
14. The apparatus of any of claims 8-13, wherein the start and end identifiers comprise: characters other than alphabetic characters and numeric characters.
15. An apparatus for input, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for:
receiving and displaying an input string of a user under the condition of not switching an input mode; the input string includes: a first input string and a second input string, the second input string being a character string located between a start identifier and an end identifier, the first input string being a character string of the input string other than the second input string, the start identifier and the end identifier; shielding the screen-up function of the numeric keys before receiving the ending identifier corresponding to the starting identifier;
performing conversion processing on the first input string to obtain a first candidate item corresponding to a first language;
after the starting identifier is detected, the second input string is subjected to preset processing, and after the ending identifier is detected, the preset processing is ended to obtain a corresponding processing result;
the preset processing of the second input string includes:
searching in a mapping relation between a preset character string and a preset control instruction according to the second input string to obtain a target control instruction corresponding to the second input string; the preset control instruction comprises the following steps: the method comprises the following steps that control instructions of font information, control instructions of a first language writing mode and search instructions corresponding to a target search program are carried out; different preset character strings correspond to different preset control instructions;
and executing the target control instruction.
16. The apparatus of claim 15, wherein the pre-setting the second input string comprises:
obtaining a second candidate item corresponding to a second language according to the second input string;
the device further comprises:
combining the first candidate item and the second candidate item to obtain a combined candidate item;
and presenting the combination candidate.
17. The apparatus of claim 16, wherein said combining the first candidate item and the second candidate item comprises:
and combining the first candidate item and the second candidate item according to a combination rule corresponding to the preset processing to obtain a combined candidate item.
18. The apparatus of claim 15, wherein the target control instruction comprises: the target control instruction of the font information, the executing the target control instruction, includes:
responding to a screen-on instruction aiming at the first candidate item, and screen-on the first candidate item according to a target control instruction of the font information.
19. The apparatus of claim 15, wherein the target control instruction comprises: target control instructions in a first language writing mode, the executing the target control instructions comprising:
and displaying the first candidate item according to a target control instruction of a first language writing mode.
20. The apparatus of claim 15, wherein the target control instruction comprises: the executing of the target control instruction comprises:
and searching in the target searching program according to the first candidate item, and taking a corresponding searching result as a fourth candidate item.
21. The apparatus of any of claims 15-20, wherein the start and end identifiers comprise: characters other than alphabetic characters and numeric characters.
22. One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform the method of one or more of claims 1-7.
CN201610616927.7A 2016-07-29 2016-07-29 Input method and device and input device Active CN107665046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610616927.7A CN107665046B (en) 2016-07-29 2016-07-29 Input method and device and input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610616927.7A CN107665046B (en) 2016-07-29 2016-07-29 Input method and device and input device

Publications (2)

Publication Number Publication Date
CN107665046A CN107665046A (en) 2018-02-06
CN107665046B true CN107665046B (en) 2023-03-10

Family

ID=61115486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610616927.7A Active CN107665046B (en) 2016-07-29 2016-07-29 Input method and device and input device

Country Status (1)

Country Link
CN (1) CN107665046B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7243106B2 (en) * 2018-09-27 2023-03-22 富士通株式会社 Correction candidate presentation method, correction candidate presentation program, and information processing apparatus
CN111125998A (en) * 2018-10-31 2020-05-08 北京国双科技有限公司 Text processing method and device
CN110262911A (en) * 2019-06-24 2019-09-20 北京向上一心科技有限公司 Optimization method, optimization device, controller and the storage medium of input frame
CN115526186A (en) * 2021-06-25 2022-12-27 上海博泰悦臻网络技术服务有限公司 Translation method, electronic device and readable storage medium
CN113805708B (en) * 2021-09-14 2024-01-23 维沃移动通信有限公司 Information display method, information display device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090089700A (en) * 2008-02-19 2009-08-24 주식회사 케이투이엔지 System and method for inputting phrase to device applying virtual keyboard
CN101943952A (en) * 2010-01-27 2011-01-12 北京搜狗科技发展有限公司 Mixed input method of at least two languages and input method system
CN102063195A (en) * 2010-04-06 2011-05-18 百度在线网络技术(北京)有限公司 Method and equipment allowing user to implement mixed Chinese and English input
CN102566772A (en) * 2010-12-26 2012-07-11 上海量明科技发展有限公司 Method and system for implementation of character hybrid input
CN104133561A (en) * 2014-07-31 2014-11-05 百度在线网络技术(北京)有限公司 Auxiliary information display method and device based on input method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090089700A (en) * 2008-02-19 2009-08-24 주식회사 케이투이엔지 System and method for inputting phrase to device applying virtual keyboard
CN101943952A (en) * 2010-01-27 2011-01-12 北京搜狗科技发展有限公司 Mixed input method of at least two languages and input method system
CN102063195A (en) * 2010-04-06 2011-05-18 百度在线网络技术(北京)有限公司 Method and equipment allowing user to implement mixed Chinese and English input
CN102566772A (en) * 2010-12-26 2012-07-11 上海量明科技发展有限公司 Method and system for implementation of character hybrid input
CN104133561A (en) * 2014-07-31 2014-11-05 百度在线网络技术(北京)有限公司 Auxiliary information display method and device based on input method

Also Published As

Publication number Publication date
CN107665046A (en) 2018-02-06

Similar Documents

Publication Publication Date Title
CN107665046B (en) Input method and device and input device
CN107688399B (en) Input method and device and input device
CN107918496B (en) Input error correction method and device for input error correction
CN107291260B (en) Information input method and device for inputting information
CN107564526B (en) Processing method, apparatus and machine-readable medium
CN108304412B (en) Cross-language search method and device for cross-language search
CN108255939B (en) Cross-language search method and device for cross-language search
CN110795014B (en) Data processing method and device and data processing device
CN108536653B (en) Input method, input device and input device
CN108628461B (en) Input method and device and method and device for updating word stock
CN110633017A (en) Input method, input device and input device
CN109725736B (en) Candidate sorting method and device and electronic equipment
CN107422921B (en) Input method, input device, electronic equipment and storage medium
CN110780749B (en) Character string error correction method and device
CN111414766B (en) Translation method and device
CN109542244B (en) Input method, device and medium
CN107977089B (en) Input method and device and input device
CN108073294B (en) Intelligent word forming method and device for intelligent word forming
CN111090998A (en) Sign language conversion method and device and sign language conversion device
CN109992121B (en) Input method, input device and input device
CN113407099A (en) Input method, device and machine readable medium
CN109426359B (en) Input method, device and machine readable medium
CN114115550A (en) Method and device for processing association candidate
CN107102747B (en) Information input method and device for inputting information
CN112905023A (en) Input error correction method and device for input error correction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant