CN110244860A - A kind of input method, device and electronic equipment - Google Patents

A kind of input method, device and electronic equipment Download PDF

Info

Publication number
CN110244860A
CN110244860A CN201810191406.0A CN201810191406A CN110244860A CN 110244860 A CN110244860 A CN 110244860A CN 201810191406 A CN201810191406 A CN 201810191406A CN 110244860 A CN110244860 A CN 110244860A
Authority
CN
China
Prior art keywords
sentence pattern
input sequence
candidate
input
association
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.)
Granted
Application number
CN201810191406.0A
Other languages
Chinese (zh)
Other versions
CN110244860B (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 CN201810191406.0A priority Critical patent/CN110244860B/en
Publication of CN110244860A publication Critical patent/CN110244860A/en
Application granted granted Critical
Publication of CN110244860B publication Critical patent/CN110244860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

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)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The embodiment of the invention provides a kind of input method, device and electronic equipments, wherein the described method includes: obtaining corresponding association's clause according to the list entries when converting to list entries;Association's clause is added in the corresponding candidate information of the list entries;Show the candidate information;I.e. after user's input, the candidate information comprising association's clause can be provided for user, and then user can choose association's clause from candidate information and improve input efficiency without each section inputted in association's clause one by one.

Description

Input method and device and electronic equipment
Technical Field
The present invention relates to the field of input methods, and in particular, to an input method, an input device, and an electronic apparatus.
Background
With the development of computer technology, electronic devices such as mobile phones and tablet computers are more and more popular, and great convenience is brought to life, study and work of people. These electronic devices are typically installed with an input method application (abbreviated as input method) so that a user can input information using the input method.
Currently, the input method can only think about the next input word according to the user input, for example, the user input: dog searching science and technology, association: development limited company; however, the association of the sentence pattern cannot be made, for example, the user inputs "because" and the input method cannot associate the sentence pattern of "… … so … …", and when the user wants to input a certain sentence pattern, it is cumbersome to manually input the components of the sentence pattern.
Disclosure of Invention
The embodiment of the invention provides an input method for improving input efficiency.
Correspondingly, the embodiment of the invention also provides an input device and electronic equipment, which are used for ensuring the realization and application of the method.
In order to solve the above problem, an embodiment of the present invention discloses an input method, which specifically includes: when an input sequence is converted, obtaining a corresponding associative sentence pattern according to the input sequence; adding the associated sentence pattern into candidate information corresponding to the input sequence; and displaying the candidate information.
Optionally, the performing sentence pattern association according to the input sequence to obtain a corresponding association sentence pattern includes: converting the input sequence to obtain a candidate item corresponding to the input sequence; and inquiring the association sentence pattern corresponding to the input sequence according to the candidate items obtained by converting the input sequence.
Optionally, the querying, according to the candidate obtained by converting the input sequence, an association sentence pattern corresponding to the input sequence includes: matching candidate items obtained by converting the input sequence with sentence pattern composition words in an associated sentence pattern; and taking the candidate item matching sentence pattern to form an association sentence pattern corresponding to the word as the association sentence pattern corresponding to the input sequence.
Optionally, the adding the associated sentence pattern to the candidate information corresponding to the input sequence includes: determining candidate scores corresponding to the associated sentence patterns and candidate scores of other candidate items of the input sequence; and sequencing the other candidate items and the associated sentence patterns according to the candidate score, and determining candidate information corresponding to the input sequence.
Optionally, the displaying the candidate information includes: and adding separators among all sentence pattern composition words in the associated sentence pattern, and displaying the associated sentence pattern containing the separators.
Optionally, the method further comprises: receiving a screen-up instruction for selecting an associated sentence pattern; and the associated sentence pattern corresponding to the screen-loading instruction is screened, and a cursor is positioned between two sentence pattern composition words in the associated sentence pattern.
Optionally, the associated sentence pattern of the upper screen includes a separator.
Optionally, the method further comprises at least one of the following steps of collecting the associated sentence pattern: collecting relational sentences, the relational sentences comprising at least one of: turning relational sentence pattern, progressive relational sentence pattern, parallel relational sentence pattern, hypothetical relational sentence pattern, causal relational sentence pattern, bearing relational sentence pattern, conditional relational sentence pattern; collecting hot statements in each platform, and analyzing the hot statements to determine corresponding hot statement patterns; analyzing historical editing information of a user, and determining an individualized sentence pattern corresponding to the user and corresponding use frequency; and selecting the first N personalized sentence patterns with the highest use frequency, wherein N is a positive integer.
The embodiment of the invention also discloses an input device, which specifically comprises: the association module is used for obtaining a corresponding association sentence pattern according to the input sequence when the input sequence is converted; the adding module is used for adding the associated sentence pattern into the candidate information corresponding to the input sequence; and the display module is used for displaying the candidate information.
Optionally, the association module comprises: the conversion submodule is used for converting the input sequence to obtain candidate items corresponding to the input sequence; and the query submodule is used for querying the associated sentence pattern corresponding to the input sequence according to the candidate items obtained by converting the input sequence.
Optionally, the query submodule is specifically configured to match candidate items obtained by converting the input sequence with sentence pattern composition words in an associated sentence pattern; and taking the candidate item matching sentence pattern to form an association sentence pattern corresponding to the word as the association sentence pattern corresponding to the input sequence.
Optionally, the adding module is specifically configured to determine a candidate score corresponding to the associated sentence pattern and candidate scores of other candidate items of the input sequence; and sequencing the other candidate items and the associated sentence patterns according to the candidate score, and determining candidate information corresponding to the input sequence.
Optionally, the display module is specifically configured to add a separator between each sentence pattern composition word in the associated sentence pattern, and display the associated sentence pattern including the separator.
Optionally, the method further comprises: the receiving module is used for receiving a screen-up instruction for selecting the associated sentence pattern; and the positioning module is used for displaying the associated sentence pattern corresponding to the screen displaying instruction on the screen and positioning the cursor between two sentence pattern composition words in the associated sentence pattern.
Optionally, the associated sentence pattern of the upper screen includes a separator.
Optionally, the method further comprises: the relational sentence pattern collecting module is used for collecting the relational sentence patterns, and the relational sentence patterns comprise at least one of the following: turning relational sentence pattern, progressive relational sentence pattern, parallel relational sentence pattern, hypothetical relational sentence pattern, causal relational sentence pattern, bearing relational sentence pattern, conditional relational sentence pattern; the hot spot sentence pattern collection module is used for collecting the hot spot sentences in each platform and analyzing the hot spot sentences to determine the corresponding hot spot sentence patterns; the personalized sentence pattern collection module analyzes the historical editing information of the user and determines the personalized sentence pattern corresponding to the user and the corresponding use frequency; and selecting the first N individualized sentence patterns with the highest use frequency, wherein N is a positive integer.
The embodiment of the invention also discloses a readable storage medium, and when the instructions in the storage medium are executed by a processor of the electronic equipment, the electronic equipment can execute any input method in the embodiment of the invention.
An embodiment of the present invention also discloses an electronic device, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by one or more processors, and the one or more programs include instructions for: when an input sequence is converted, obtaining a corresponding associative sentence pattern according to the input sequence; adding the associated sentence pattern into candidate information corresponding to the input sequence; and displaying the candidate information.
Optionally, the performing sentence pattern association according to the input sequence to obtain a corresponding association sentence pattern includes: converting the input sequence to obtain a candidate item corresponding to the input sequence; and inquiring the association sentence pattern corresponding to the input sequence according to the candidate items obtained by converting the input sequence.
Optionally, the querying, according to the candidate obtained by converting the input sequence, an association sentence pattern corresponding to the input sequence includes: matching candidate items obtained by converting the input sequence with sentence pattern composition words in an associated sentence pattern; and taking the candidate item matching sentence pattern to form an association sentence pattern corresponding to the word as the association sentence pattern corresponding to the input sequence.
Optionally, the adding the associated sentence pattern to the candidate information corresponding to the input sequence includes: determining candidate scores corresponding to the associated sentence patterns and candidate scores of other candidate items of the input sequence; and sequencing the other candidate items and the associated sentence patterns according to the candidate score, and determining candidate information corresponding to the input sequence.
Optionally, the displaying the candidate information includes: and adding separators among all sentence pattern composition words in the associated sentence pattern, and displaying the associated sentence pattern containing the separators.
Optionally, further comprising instructions for: receiving a screen-up instruction for selecting an associated sentence pattern; and the associated sentence pattern corresponding to the screen-loading instruction is screened, and a cursor is positioned between two sentence pattern composition words in the associated sentence pattern.
Optionally, the associated sentence pattern of the upper screen includes a separator.
Optionally, instructions are also included for performing at least one of the following collect associative sentence pattern operations: collecting relational sentences, the relational sentences comprising at least one of: turning relational sentence pattern, progressive relational sentence pattern, parallel relational sentence pattern, hypothetical relational sentence pattern, causal relational sentence pattern, bearing relational sentence pattern, conditional relational sentence pattern; collecting hot statements in each platform, and analyzing the hot statements to determine corresponding hot statement patterns; analyzing historical editing information of a user, and determining an individualized sentence pattern corresponding to the user and corresponding use frequency; and selecting the first N personalized sentence patterns with the highest use frequency, wherein N is a positive integer.
The embodiment of the invention has the following advantages:
when an input sequence is converted, sentence pattern association can be carried out on the input sequence to obtain an associated sentence pattern corresponding to the input sequence; then adding the associated sentence pattern into the candidate information corresponding to the input sequence, and displaying the candidate information, namely after the input of the user, providing the candidate information containing the associated sentence pattern for the user; and then the user can select the associated sentence pattern from the candidate information without inputting each part in the associated sentence pattern one by one, thereby improving the input efficiency.
Drawings
FIG. 1 is a flow chart of the steps of an input method embodiment of the present invention;
FIG. 2 is a flow chart of the steps of an alternative embodiment of an input method of the present invention;
FIG. 3 is a block diagram of an input device according to an embodiment of the present invention;
FIG. 4 is a block diagram of an alternative embodiment of an input device of the present invention;
FIG. 5 is a block diagram illustrating a structure of an electronic device for input, according to an example embodiment;
fig. 6 is a schematic structural diagram of an electronic device for input according to another exemplary embodiment of 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.
One of the core ideas of the embodiment of the invention is that when an input sequence is converted, an association sentence pattern corresponding to the input sequence is associated and displayed; the user can select the corresponding associated sentence pattern from the candidate items, and the operation of inputting the sentence pattern by the user is simplified.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of an input method according to the present invention is shown, which may specifically include the following steps:
and 102, when the input sequence is converted, obtaining a corresponding association sentence pattern according to the input sequence.
The embodiment of the invention can collect the associated sentence patterns in advance, and then adopt the collected associated sentence patterns to form the associated sentence pattern word stock, thereby being convenient for inquiring the corresponding associated sentence patterns from the associated sentence pattern word stock through the input sequence. The association schema may include various types of schemas, such as general schema "… … because of … …", "… … even if … …", network hotspot schema "… … and treasure", and so on.
When a user inputs, an input sequence formed by input characters can be received, and then the input sequence is converted by the input method so as to obtain candidate information and provide the candidate information for the user. In the process of converting the input sequence, besides obtaining the conventional word candidates corresponding to the input sequence, the conventional word candidates are non-associative sentence patterns, and sentence pattern association can be performed on the input sequence to match the associative sentence patterns corresponding to the input sequence.
The input sequence is user input contents directly received by the input method system, and the input method system can convert the input contents into word candidates of input characters according to an input mode currently used by a user and provides the word candidates for the user to select. In actual processing, the user may use various input modes, such as pinyin input, stroke input, five-stroke input, voice input, and handwriting input, or copy-paste editing operation input. The user can complete the input of the input sequence by any one of the above input modes. For input modes such as pinyin input, stroke input, five-stroke input and the like, an input sequence is usually a coded character string input by a user through a keyboard, a touch screen and the like; for handwriting input, the input sequence may be a movement trace input by the user through a handwriting pad, a touch screen, or the like. The input mode of the user is not limited, and the user can use any input mode.
And 104, adding the associated sentence pattern into the candidate information corresponding to the input sequence.
And 106, displaying the candidate information.
After determining the associated sentence pattern corresponding to the input sequence, adding the associated sentence pattern as a candidate of the input sequence to the candidate information corresponding to the input sequence; of course, the candidate information may further include a conventional word candidate obtained by converting the input sequence; the candidate information is then displayed and the user may select regular word candidates or associated sentence patterns from the displayed candidate information.
In an example of the present invention, the input sequence "yinwei" may be converted into a corresponding conventional candidate item "because", "phoneme", "yin wei", etc., and the associated sentence pattern lexicon may be queried to match a corresponding associated sentence pattern "because, so"; then, "because", "phoneme", "yin wei" and "because" may be used as candidate information, and the candidate information may be displayed, wherein for the association sentence pattern, the candidate information, the association area, and the like may be displayed.
Subsequently, if the user selects 'because', the 'because' is displayed on the screen; if the user selects "because, so," then "because, so" is displayed.
In summary, when the embodiment of the present invention converts an input sequence, sentence pattern association can be performed on the input sequence to obtain an associated sentence pattern corresponding to the input sequence; then adding the associated sentence pattern into the candidate information corresponding to the input sequence, and displaying the candidate information, namely after the input of the user, providing the candidate information containing the associated sentence pattern for the user; and then the user can select the associated sentence pattern from the candidate information without inputting each part in the associated sentence pattern one by one, thereby improving the input efficiency.
In an alternative embodiment of the present invention, the association sentence patterns may be collected, and then the collected association sentence patterns may be combined into an association sentence pattern lexicon, such as from information edited by the user, or from the network, etc.; and then the candidate information containing the associated sentence pattern can be obtained in the input process of the user, so that the user can display the candidate information on a screen after selecting the candidate information, the sentence pattern can be conveniently and quickly input, and the efficiency of inputting the sentence pattern is improved.
A user can adopt a relational sentence pattern in many times, and two or more than two sentences with the incidence relation are combined into a compound sentence to express the meaning of the compound sentence; the relational sentence pattern is composed of related words, and the related words can be composed of two or more words with a relational relationship. For example, the related word "because-so" with a causal relationship is "because … … so … …"; then, the relational sentence pattern is used to compose a compound sentence with causality such as: "because weather forecast says that there is rain today, I can't go out at home"; for another example, if the related word "yes" or "corresponding relation sentence" is … … or … … "with the selection relation, then a compound sentence with the selection relation can be composed by using the corresponding relation sentence: "do you eat Hunan dishes and Guangdong dishes at present? "and the like. Therefore, one way to collect the association schema in the embodiment of the present invention is to collect the relational schema, where the relational schema may include at least one of the following: turning relational sentence pattern, progressive relational sentence pattern, parallel relational sentence pattern, hypothetical relational sentence pattern, causal relational sentence pattern, bearing relational sentence pattern, conditional relational sentence pattern. Wherein,
turning relation sentence patterns such as "although … … may be … …", "although … … may be … …", etc.;
progressive relational sentence patterns such as "not only … … but also … …", "not only … … but also … …", and the like;
parallel relational patterns such as "… … on one side of … …", "sometimes … … and sometimes … …";
assume relational statements such as "… … if … …", "… … if … … if yes";
cause and effect sentence patterns such as "… … because of … …", "… … (so) since … …";
bearing relation sentence patterns such as "first … … and then … …", "first … …, then … …";
conditional relational expressions such as "… … as long as … …" and "… … regardless of … …".
With the advent of the network era, the sentence organization cannot completely meet the requirements of people only by using the relational sentence, and a plurality of new sentences emerge, for example, the sentence of TV drama "the name of people" big fire, "the sentence of" … … name "is used by net friends in large quantity, such as" the name of price, "the name of flow," and the like; for example, a sentence pattern such as "excellent if … … is supposed to" is used by a large number of network friends such as "a leather schoolbag on the Taobao network is seen in the folk, the color of the model is extremely beautiful, and if you want to use it, the color of the model is set to be the skin color, and the sentence pattern is supposed to be excellent" and so on. Therefore, another way of collecting the association sentence patterns in the embodiment of the present invention is to collect the hot spot sentences in each platform, and analyze the hot spot sentences to determine the corresponding hot spot sentence patterns; the hot statement refers to a statement which is noticed and concerned in a certain period, and specifically, whether the statement is the hot statement or not can be determined according to the use frequency of each statement in a certain period of time, if the use frequency in a certain period of time is greater than a set threshold, the statement can be determined to be the hot statement, and the set threshold can be set as required.
Therefore, hot sentences of corresponding platforms can be obtained from platforms such as social platforms, question and answer platforms and the like, the hot sentences can be segmented to obtain corresponding word sequence fragments aiming at each hot sentence, and then any two or more word sequence fragments are combined to obtain co-occurrence fragments; counting the occurrence times of the co-occurrence segments in the hot spot sentences according to the co-occurrence segments corresponding to the hot spot sentences; if the occurrence frequency of the co-occurrence segments is greater than the co-occurrence threshold, adopting the co-occurrence segments to form a hot spot sentence pattern; if the occurrence number of the co-occurrence segment is less than the co-occurrence threshold, ignoring the co-occurrence segment; wherein the co-occurrence threshold can be set as required.
For example, the hot sentences "girls we have traced together in the year", "DOTA we have played together in the year", "class we have gone together in the year", "campus we have walked together in the year", and "instant noodles we have eaten together in the year" etc., and then the words are segmented for these hot sentences, for example: "girls that we have traced together in those years" can result in the word sequence segments "those years", "we", "together", "traced", "crossed", "of", "girls", wherein "those years" can constitute co-occurrence segments with any one or more following word sequence segments, such as "those years" - "we", "those years" - "together", etc., and "we" can also constitute co-occurrence segments with any one or more following word sequence segments, such as "we" - "together", "we" - "together" - "to chase", etc.; then, the number of occurrences of the co-occurrence segment is determined, wherein the number of co-occurrences of the co-occurrence segment "those years" - "we" - "together" - "is counted as 5 times, and the hotspot pattern is" … … that we have … … together in those years ".
In the embodiment of the invention, the speaking habits of different users are different, and each user has a personalized sentence pattern; therefore, in order to better adapt to the personalized input requirements of different users, another way of collecting the associated sentence patterns according to the embodiment of the present invention is to analyze the historical editing information of the user and determine the personalized sentence patterns corresponding to the user and the corresponding use frequency; and selecting the first N personalized sentence patterns with the highest use frequency, wherein N is a positive integer. The analysis of the historical editing information, that is, the analysis of each statement in the historical editing information, is similar to the analysis method of the hot statement described above, and is not described herein again. For example, the personalized phrase "i don't want … … because … …", "i like … … because … …", etc. is picked out.
At least one of the relational sentence pattern, the hotspot sentence pattern and the personalized sentence pattern can be used as an association sentence pattern, and then the collected association sentence patterns are adopted to form an association sentence pattern word stock. Wherein the link sentence pattern may be composed of at least two sentence pattern composition words, such as the association sentence pattern "… … because … …", may include two sentence pattern composition words "because" and "so", and such as whether the association sentence pattern "is … … is … … or …", and may include three sentence pattern composition words "yes", "yes" and "or"; and then when inquiring the association sentence pattern corresponding to the input sequence, matching according to the sentence pattern composition words of the association sentence pattern.
In another embodiment of the present invention, when sentence pattern association is performed according to the input sequence to obtain a corresponding association sentence pattern, the association sentence pattern can be searched from the association sentence pattern lexicon according to the candidate item obtained by converting the input sequence, which is specifically as follows:
referring to FIG. 2, a flow chart of the steps of an alternative embodiment of an input method of the present invention is shown; the method specifically comprises the following steps:
step 202, receiving an input sequence.
And 204, converting the input sequence to obtain a candidate item corresponding to the input sequence.
Step 206, inquiring the association sentence pattern corresponding to the input sequence according to the candidate item obtained by converting the input sequence.
The embodiment of the invention can receive the input content of the user, namely the input characters, adopt the input characters to form the input sequence and then convert the input sequence. When an input sequence is converted, on one hand, the input sequence is subjected to conventional conversion to obtain conventional word candidates corresponding to the input sequence; and on the other hand, sentence pattern association is carried out on the input sequence, wherein when sentence pattern association is carried out on the input sequence, an association sentence pattern corresponding to the input sequence can be determined according to the candidate obtained by converting the input sequence. Therefore, after receiving an input sequence, the invention can convert the input sequence to obtain a candidate item corresponding to the input sequence, wherein the candidate item obtained by conversion is a conventional candidate item corresponding to the input sequence; on one hand, the conventional candidate item may be added to the candidate information corresponding to the input sequence, and on the other hand, the conventional candidate item may be matched with the associated sentence pattern in the associated sentence pattern lexicon to query the associated sentence pattern corresponding to the input sequence.
The candidate item obtained by converting the input sequence can be matched with the sentence pattern composition words in the association sentence pattern, and then the association sentence pattern corresponding to the candidate item matching sentence pattern composition word is used as the association sentence pattern corresponding to the input sequence; that is, the conventional candidate item is matched with the sentence pattern composition words of each association sentence pattern, and when the sentence pattern composition word matched with the conventional candidate item is determined to exist, the association sentence pattern corresponding to the sentence pattern composition word can be determined as the association sentence pattern corresponding to the input sequence. Therefore, in an alternative embodiment of the present invention, the conventional candidate item may be matched with a first sentence pattern composition word in each association sentence pattern, a first sentence pattern composition word matched with the conventional candidate item may be determined, and then the association sentence pattern corresponding to the first sentence pattern composition word may be determined as the association sentence pattern of the input sequence.
And step 208, adding the associated sentence pattern to the candidate information corresponding to the input sequence.
In this embodiment of the present invention, after querying the association sentence pattern corresponding to the input sequence, the association sentence pattern may be added to the candidate information corresponding to the input sequence, so that the candidate information selected by the user includes the association sentence pattern corresponding to the input sequence, which is specifically as follows:
in this embodiment of the present invention, the conventional word candidates and associated sentence patterns corresponding to the input sequence obtained when the input sequence is converted may be used as the candidate information of the input sequence, where the conventional candidates may be referred to as other candidates. Specifically, a candidate score corresponding to the associated sentence pattern and candidate scores of other candidate items of the input sequence may be determined; and sequencing the other candidate items and the character phonetic notation mixed words according to the candidate values, and determining candidate information corresponding to the input sequence.
Wherein, the frequency corresponding to each association sentence pattern recorded when the association sentence pattern is collected can be used as the candidate score corresponding to each association sentence pattern; before the associated sentence patterns corresponding to the input sequence are used as candidate information, whether the associated sentence patterns corresponding to the input sequence are more than one or not can be judged, if the associated sentence patterns corresponding to the input sequence are more than one, candidate scores corresponding to the associated sentence patterns are determined, then the first M associated sentence patterns with the highest candidate scores are selected, and the first M associated sentence patterns are used as the candidate information; wherein M is a positive integer. If the associated sentence pattern corresponding to the input sequence is one, the associated sentence pattern can be directly used as candidate information.
In another embodiment of the present invention, in order to enable a user to quickly select an association sentence pattern corresponding to an input sequence, the association sentence pattern may be used as a first screen candidate and added to first screen candidate information corresponding to the input sequence; and further displaying the associated sentence patterns corresponding to the input sequence on the first screen when the candidate information is displayed.
And step 210, displaying the candidate information.
And displaying candidate information corresponding to the input sequence. Wherein, because the association sentence pattern can be composed of at least two sentence pattern composition words, if the association sentence pattern is displayed, the user may not be reminded that the candidate item is the sentence pattern well if the sentence pattern composition words are continuously displayed in sequence; therefore, in order to show that the candidate items are associated sentences, after the associated sentences corresponding to the input sequence are determined, separators can be added among the sentence composition words in the associated sentences, and the associated sentences containing the separators are shown. Wherein, the separator can be set as space, comma, semicolon, etc. according to requirement, different association sentence pattern can be set with different separator, such as relation sentence pattern '… … because … …', comma can be added as separator, i.e. display 'because, so'; as another example, a hotspot schema "nominally … …," may be populated with spaces as separators, i.e., "nominally" and so on.
Of course, in an alternative embodiment of the present invention, the associative sentence pattern may further include a separator in addition to the sentence pattern composition words; furthermore, when displaying the associated sentence pattern, the associated sentence pattern can be directly displayed without adding a separator.
Step 212, receiving a screen-up command for selecting the associated sentence pattern.
And 214, displaying the associated sentence pattern corresponding to the screen displaying instruction, and positioning a cursor between two sentence pattern composition words in the associated sentence pattern.
After the candidate information corresponding to the input sequence is displayed, a user can select any candidate item from the displayed candidate information, and after the input method receives a screen-up instruction of the user, the candidate item corresponding to the screen-up instruction can be determined and is displayed. When the candidate item corresponding to the screen-up instruction is determined to be an associated sentence pattern, the cursor can be positioned between two sentence pattern composition words in the associated sentence pattern after the associated sentence pattern is screened.
In another embodiment of the present invention, the suggested sentence pattern on the screen may include a separator such as "because, therefore", "though, however", or "not including a separator such as" nominal "or" what we have together in those years ". Therefore, when determining the position of the cursor, if the associated sentence pattern on the screen includes a separator, the cursor can be positioned between the sentence component word and the separator following the sentence component word, such as "because, so", the cursor can be positioned between "because" and "; if the associated sentence pattern on the upper screen does not include a separator, the cursor is positioned between the sentence-forming words of the associated sentence pattern, and if the name is 'the cursor can be between' with 'and' with 'name'.
In another embodiment of the present invention, if the association sentence pattern includes more than two sentence component words, the cursor can be positioned between the first sentence component word and the second sentence component word in the association sentence pattern according to the habit of inputting words by the user. For example, if the association pattern "yes, or" is displayed, then after displaying the association pattern, the cursor may be between the first "yes" and the first "and, for example, after displaying the association pattern" those years we have together "before" positioning the cursor after "those years we have together".
Of course, an alternative embodiment of the present invention may also provide a cursor switching function, that is, a function of switching the cursor between positions in the association schema that need to be filled with content, for example, if the association schema "yes, or" on the screen is between the first "yes" and the first "," if the cursor is between the first "yes" and the first "," after receiving the cursor switching command, the cursor may be positioned to be between the second "yes" and the second "," and to be "or" after "; thereby facilitating the user to input the information of each part of the associated sentence pattern.
Of course, an optional embodiment of the present invention may also provide a function of one-key deletion, that is, after receiving a deletion instruction of an association sentence pattern, the association sentence pattern that was last displayed may be deleted, so that the user may delete the association sentence pattern as a whole, which is convenient for the user to operate.
In summary, when the embodiment of the present invention converts an input sequence, sentence pattern association can be performed on the input sequence to obtain an associated sentence pattern corresponding to the input sequence; then adding the associated sentence pattern into the candidate information corresponding to the input sequence, and displaying the candidate information, namely after the input of the user, providing the candidate information containing the associated sentence pattern for the user; and then the candidate information containing the associated sentence pattern can be obtained in the input process of the user, so that the user can display the candidate information on a screen after selecting the candidate information, the sentence pattern can be conveniently and quickly input, and the input efficiency is improved.
Secondly, when the association sentence pattern is added into the candidate information corresponding to the input sequence, the association sentence pattern can be used as a first screen candidate item and added into the first screen candidate information corresponding to the input sequence, and then the association sentence pattern corresponding to the input sequence can be displayed on the first screen, so that the selection of a user is facilitated, and the user experience is improved.
Thirdly, the embodiment of the invention can also collect relational sentence patterns; collecting hot statements in each platform, and analyzing the hot statements to determine corresponding hot statement patterns; analyzing historical editing information of the user, and determining an individualized sentence pattern corresponding to the user and corresponding use frequency; selecting the first N personalized sentence patterns with the highest use frequency; then at least one of the relational sentence pattern, the hot spot sentence pattern and the personalized sentence pattern is used as the association sentence pattern, thereby enriching the association sentence pattern lexicon and providing richer association sentence patterns for users.
Furthermore, after the candidate information corresponding to the input sequence is displayed, the embodiment of the invention can receive a screen-up instruction for selecting the associated sentence pattern; the association sentence pattern corresponding to the screen-loading instruction is screened, and a cursor is positioned between two sentence pattern composition words in the association sentence pattern; and further, the user can conveniently input the content at the position where the user needs to input the content in the association sentence pattern.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of a positioning navigation apparatus according to an embodiment of the present invention is shown, which may specifically include the following modules: an association module 302, an addition module 304, and a display module 306, wherein,
an association module 302, configured to obtain a corresponding association sentence pattern according to an input sequence when the input sequence is converted;
an adding module 304, configured to add the associated sentence pattern to candidate information corresponding to the input sequence;
a display module 306, configured to display the candidate information.
Referring to FIG. 4, a block diagram of an embodiment of a positioning and navigation option apparatus of the present invention is shown; in an optional embodiment of the present invention, the apparatus further comprises the following modules: a receiving module 308, a positioning module 310, a relational schema collection module 312, a hot spot schema collection module 314, and a personalized schema collection module 316, wherein,
a receiving module 308, configured to receive a screen-up instruction for selecting an associated sentence pattern;
the positioning module 310 is configured to screen up an associated sentence pattern corresponding to the screen-up instruction, and position a cursor between two sentence pattern composition words in the associated sentence pattern.
A relational sentence collection module 312 for collecting relational sentences, which include at least one of the following: turning relational sentence pattern, progressive relational sentence pattern, parallel relational sentence pattern, hypothetical relational sentence pattern, causal relational sentence pattern, bearing relational sentence pattern, conditional relational sentence pattern;
the hot spot sentence pattern collection module 314 is used for collecting the hot spot sentences in each platform and analyzing the hot spot sentences to determine corresponding hot spot sentence patterns;
the personalized sentence pattern collection module 316 analyzes the historical editing information of the user, and determines the personalized sentence pattern corresponding to the user and the corresponding use frequency; and selecting the first N personalized sentence patterns with the highest use frequency, wherein N is a positive integer.
In an optional embodiment of the present invention, the association module 302 includes: a conversion sub-module 3022 and a query sub-module 3024, wherein,
a conversion submodule 3022, configured to convert the input sequence to obtain a candidate item corresponding to the input sequence;
the query submodule 3024 is configured to query the associated sentence pattern corresponding to the input sequence according to the candidate item obtained by converting the input sequence.
The query submodule 3024 is specifically configured to match candidate items obtained by converting the input sequence with sentence pattern composition words in an associated sentence pattern; and taking the candidate item matching sentence pattern to form an association sentence pattern corresponding to the word as the association sentence pattern corresponding to the input sequence.
In an optional embodiment of the present invention, the adding module 304 is specifically configured to determine a candidate score corresponding to the associated sentence pattern and candidate scores of other candidate items of the input sequence; and sequencing the other candidate items and the associated sentence patterns according to the candidate score, and determining candidate information corresponding to the input sequence.
In an optional embodiment of the present invention, the display module 306 is specifically configured to add a separator between the sentence-form composition words in the association sentence pattern, and display the association sentence pattern containing the separator.
In an alternative embodiment of the invention, the associated sentence pattern of the upper screen comprises a separator.
When an input sequence is converted, sentence pattern association can be carried out on the input sequence to obtain an associated sentence pattern corresponding to the input sequence; then adding the associated sentence pattern into the candidate information corresponding to the input sequence, and displaying the candidate information, namely providing the candidate information containing the associated sentence pattern for the user after the user inputs the associated sentence pattern; and then the user can select the associated sentence pattern from the candidate information without inputting each part in the associated sentence pattern one by one, thereby improving the input efficiency.
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.
FIG. 5 illustrates a block diagram of an electronic device 500 for input, according to an example embodiment. For example, the electronic device 500 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. In the embodiment of the invention, the electronic equipment is various equipment with positioning and navigation functions.
Referring to fig. 5, electronic device 500 may include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input/output (I/O) interface 512, a sensor component 514, and a communication component 516.
The processing component 502 generally controls overall operation of the electronic device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operation at the device 500. Examples of such data include instructions for any application or method operating on the electronic device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 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 component 506 provides power to the various components of the electronic device 500. Power components 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 500.
The multimedia component 508 includes a screen that provides an output interface between the electronic device 500 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 action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 500 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 510 is configured to output and/or input audio signals. For example, the audio component 510 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 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 assembly 514 includes one or more sensors for providing various aspects of status assessment for the electronic device 500. For example, the sensor assembly 514 may detect an open/closed state of the device 500, the relative positioning of components, such as a display and keypad of the electronic device 500, the sensor assembly 514 may detect a change in the position of the electronic device 500 or a component of the electronic device 500, the presence or absence of user contact with the electronic device 500, orientation or acceleration/deceleration of the electronic device 500, and a change in the temperature of the electronic device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 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 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate wired or wireless communication between the electronic device 500 and other devices. The electronic device 500 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 section 514 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 514 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 electronic device 500 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 504 comprising instructions, executable by the processor 520 of the electronic device 500 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 in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform an input method, the method comprising: when an input sequence is converted, obtaining a corresponding associative sentence pattern according to the input sequence; adding the associated sentence pattern into candidate information corresponding to the input sequence; and displaying the candidate information.
Optionally, the performing sentence pattern association according to the input sequence to obtain a corresponding association sentence pattern includes: converting the input sequence to obtain a candidate item corresponding to the input sequence; and inquiring the association sentence pattern corresponding to the input sequence according to the candidate items obtained by converting the input sequence.
Optionally, the querying, according to the candidate obtained by converting the input sequence, an association sentence pattern corresponding to the input sequence includes: matching candidate items obtained by converting the input sequence with sentence pattern composition words in an associated sentence pattern; and taking the candidate item matching sentence pattern to form an association sentence pattern corresponding to the word as the association sentence pattern corresponding to the input sequence.
Optionally, the adding the associated sentence pattern to the candidate information corresponding to the input sequence includes: determining candidate scores corresponding to the associated sentence patterns and candidate scores of other candidate items of the input sequence; and sequencing the other candidate items and the associated sentence patterns according to the candidate score, and determining candidate information corresponding to the input sequence.
Optionally, the displaying the candidate information includes: and adding separators among all sentence pattern composition words in the associated sentence pattern, and displaying the associated sentence pattern containing the separators.
Optionally, the method further comprises: receiving a screen-up instruction for selecting an associated sentence pattern; and the associated sentence pattern corresponding to the screen-loading instruction is screened, and a cursor is positioned between two sentence pattern composition words in the associated sentence pattern.
Optionally, the associated sentence pattern of the upper screen includes a separator.
Optionally, the method further comprises at least one of the following steps of collecting the associated sentence pattern: collecting relational sentences, the relational sentences comprising at least one of: turning relational sentence pattern, progressive relational sentence pattern, parallel relational sentence pattern, hypothetical relational sentence pattern, causal relational sentence pattern, bearing relational sentence pattern, conditional relational sentence pattern; collecting hot statements in each platform, and analyzing the hot statements to determine corresponding hot statement patterns; analyzing historical editing information of a user, and determining an individualized sentence pattern corresponding to the user and corresponding use frequency; and selecting the first N personalized sentence patterns with the highest use frequency, wherein N is a positive integer.
Fig. 6 is a schematic structural diagram of an electronic device 600 for input according to another exemplary embodiment of the present invention. The electronic device 600 may be a server, which may vary greatly due to different configurations or capabilities, and may include one or more Central Processing Units (CPUs) 622 (e.g., one or more processors) and memory 632, one or more storage media 630 (e.g., one or more mass storage devices) storing applications 642 or data 644. Memory 632 and storage medium 630 may be, among other things, transient or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 622 may be configured to communicate with the storage medium 630 to execute a series of instruction operations in the storage medium 630 on the server.
The server may also include one or more power supplies 626, one or more wired or wireless network interfaces 650, one or more input-output interfaces 658, one or more keyboards 656, and/or one or more operating systems 641, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
An electronic device 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 one or more processors the one or more programs including instructions for: when an input sequence is converted, obtaining a corresponding associative sentence pattern according to the input sequence; adding the associated sentence pattern into candidate information corresponding to the input sequence; and displaying the candidate information.
Optionally, the performing sentence pattern association according to the input sequence to obtain a corresponding association sentence pattern includes: converting the input sequence to obtain a candidate item corresponding to the input sequence; and inquiring the association sentence pattern corresponding to the input sequence according to the candidate items obtained by converting the input sequence.
Optionally, the querying, according to the candidate obtained by converting the input sequence, an association sentence pattern corresponding to the input sequence includes: matching candidate items obtained by converting the input sequence with sentence pattern composition words in an associated sentence pattern; and taking the candidate item matching sentence pattern to form an association sentence pattern corresponding to the word as the association sentence pattern corresponding to the input sequence.
Optionally, the adding the associated sentence pattern to the candidate information corresponding to the input sequence includes: determining candidate scores corresponding to the associated sentence patterns and candidate scores of other candidate items of the input sequence; and sequencing the other candidate items and the associated sentence patterns according to the candidate score, and determining candidate information corresponding to the input sequence.
Optionally, the displaying the candidate information includes: and adding separators among all sentence pattern composition words in the associated sentence pattern, and displaying the associated sentence pattern containing the separators.
Optionally, further comprising instructions for: receiving a screen-up instruction for selecting an associated sentence pattern; and the associated sentence pattern corresponding to the screen-loading instruction is screened, and a cursor is positioned between two sentence pattern composition words in the associated sentence pattern.
Optionally, the associated sentence pattern of the upper screen includes a separator.
Optionally, instructions are also included for performing at least one of the following collect associative sentence pattern operations: collecting relational sentences, the relational sentences comprising at least one of: turning relational sentence pattern, progressive relational sentence pattern, parallel relational sentence pattern, hypothetical relational sentence pattern, causal relational sentence pattern, bearing relational sentence pattern, conditional relational sentence pattern; collecting hot statements in each platform, and analyzing the hot statements to determine corresponding hot statement patterns; analyzing historical editing information of a user, and determining an individualized sentence pattern corresponding to the user and corresponding use frequency; and selecting the first N personalized sentence patterns with the highest use frequency, wherein N is a positive integer.
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.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The input method, the input device and the electronic device provided by the invention are described in detail, and the principle and the implementation mode of the invention are explained by applying specific examples, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An input method, comprising:
when an input sequence is converted, obtaining a corresponding associative sentence pattern according to the input sequence;
adding the associated sentence pattern into candidate information corresponding to the input sequence;
and displaying the candidate information.
2. The method of claim 1, wherein said associating sentence patterns according to said input sequence to obtain a corresponding associated sentence pattern comprises:
converting the input sequence to obtain a candidate item corresponding to the input sequence;
and inquiring the association sentence pattern corresponding to the input sequence according to the candidate items obtained by converting the input sequence.
3. The method of claim 2, wherein said querying the associated sentence pattern corresponding to the input sequence according to the candidate item obtained by converting the input sequence comprises:
matching candidate items obtained by converting the input sequence with sentence pattern composition words in an associated sentence pattern;
and taking the candidate item matching sentence pattern to form an association sentence pattern corresponding to the word as the association sentence pattern corresponding to the input sequence.
4. The method of claim 1, wherein adding the associated sentence pattern to the candidate information corresponding to the input sequence comprises:
determining candidate scores corresponding to the associated sentence patterns and candidate scores of other candidate items of the input sequence;
and sequencing the other candidate items and the associated sentence patterns according to the candidate score, and determining candidate information corresponding to the input sequence.
5. The method of claim 1, wherein the displaying the candidate information comprises:
and adding separators among all sentence pattern composition words in the associated sentence pattern, and displaying the associated sentence pattern containing the separators.
6. The method of claim 1, further comprising:
receiving a screen-up instruction for selecting an associated sentence pattern;
and the associated sentence pattern corresponding to the screen-loading instruction is screened, and a cursor is positioned between two sentence pattern composition words in the associated sentence pattern.
7. The method of claim 6, wherein the associated sentence pattern of the upper screen includes a separator.
8. An input device, comprising:
the association module is used for obtaining a corresponding association sentence pattern according to the input sequence when the input sequence is converted;
the adding module is used for adding the associated sentence pattern into the candidate information corresponding to the input sequence;
and the display module is used for displaying the candidate information.
9. A readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the input method according to any of method claims 1-7.
10. An electronic device 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 one or more processors the one or more programs including instructions for:
when an input sequence is converted, obtaining a corresponding associative sentence pattern according to the input sequence;
adding the associated sentence pattern into candidate information corresponding to the input sequence;
and displaying the candidate information.
CN201810191406.0A 2018-03-08 2018-03-08 Input method and device and electronic equipment Active CN110244860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810191406.0A CN110244860B (en) 2018-03-08 2018-03-08 Input method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810191406.0A CN110244860B (en) 2018-03-08 2018-03-08 Input method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110244860A true CN110244860A (en) 2019-09-17
CN110244860B CN110244860B (en) 2024-02-02

Family

ID=67882638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810191406.0A Active CN110244860B (en) 2018-03-08 2018-03-08 Input method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110244860B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113589950A (en) * 2020-04-30 2021-11-02 北京搜狗科技发展有限公司 Input method, input device and input device
CN113589954A (en) * 2020-04-30 2021-11-02 北京搜狗科技发展有限公司 Data processing method and device and electronic equipment
CN113589952A (en) * 2020-04-30 2021-11-02 北京搜狗科技发展有限公司 Information display method and device and electronic equipment
CN113885714A (en) * 2021-09-29 2022-01-04 北京搜狗科技发展有限公司 Input method, apparatus and medium
CN114442816A (en) * 2020-11-04 2022-05-06 北京搜狗科技发展有限公司 Association prefetching method and device for association prefetching

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1304077A (en) * 1999-11-30 2001-07-18 黄安蓉 Statement prompt in chinese character input and its input method
CN1716244A (en) * 2003-12-29 2006-01-04 西安迪戈科技有限责任公司 Intelligent search, intelligent files system and automatic intelligent assistant
JP2012150759A (en) * 2011-01-21 2012-08-09 Fuji Xerox Co Ltd Sentence input support system, sentence input support apparatus, reference information creation device and program
CN102866990A (en) * 2012-08-20 2013-01-09 北京搜狗信息服务有限公司 Thematic conversation method and device
JP2013219638A (en) * 2012-04-11 2013-10-24 Hiromichi Okabe Character input method and apparatus
CN103777775A (en) * 2014-01-16 2014-05-07 宇龙计算机通信科技(深圳)有限公司 Display processing device of input method and display processing method of input method
CN104166700A (en) * 2014-08-01 2014-11-26 百度在线网络技术(北京)有限公司 Search term recommendation method and device
CN104917669A (en) * 2015-05-29 2015-09-16 北京搜狗科技发展有限公司 Information processing method and device
WO2016107344A1 (en) * 2014-12-30 2016-07-07 北京奇虎科技有限公司 Method and device for screening on-screen candidate items of input method
CN106055537A (en) * 2016-05-23 2016-10-26 王立山 Natural language machine recognition method and system
CN106648134A (en) * 2016-10-14 2017-05-10 北京搜狗科技发展有限公司 Input method and device
CN106844326A (en) * 2015-12-04 2017-06-13 北京国双科技有限公司 A kind of method and device for obtaining word
CN106855748A (en) * 2015-12-08 2017-06-16 阿里巴巴集团控股有限公司 A kind of data inputting method, device and intelligent terminal
CN107291260A (en) * 2016-04-13 2017-10-24 北京搜狗科技发展有限公司 A kind of data inputting method and device and the device inputted for information
CN107621886A (en) * 2016-07-15 2018-01-23 北京搜狗科技发展有限公司 Method, apparatus and electronic equipment are recommended in one kind input

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1304077A (en) * 1999-11-30 2001-07-18 黄安蓉 Statement prompt in chinese character input and its input method
CN1716244A (en) * 2003-12-29 2006-01-04 西安迪戈科技有限责任公司 Intelligent search, intelligent files system and automatic intelligent assistant
JP2012150759A (en) * 2011-01-21 2012-08-09 Fuji Xerox Co Ltd Sentence input support system, sentence input support apparatus, reference information creation device and program
JP2013219638A (en) * 2012-04-11 2013-10-24 Hiromichi Okabe Character input method and apparatus
CN102866990A (en) * 2012-08-20 2013-01-09 北京搜狗信息服务有限公司 Thematic conversation method and device
CN103777775A (en) * 2014-01-16 2014-05-07 宇龙计算机通信科技(深圳)有限公司 Display processing device of input method and display processing method of input method
CN104166700A (en) * 2014-08-01 2014-11-26 百度在线网络技术(北京)有限公司 Search term recommendation method and device
WO2016107344A1 (en) * 2014-12-30 2016-07-07 北京奇虎科技有限公司 Method and device for screening on-screen candidate items of input method
CN104917669A (en) * 2015-05-29 2015-09-16 北京搜狗科技发展有限公司 Information processing method and device
CN106844326A (en) * 2015-12-04 2017-06-13 北京国双科技有限公司 A kind of method and device for obtaining word
CN106855748A (en) * 2015-12-08 2017-06-16 阿里巴巴集团控股有限公司 A kind of data inputting method, device and intelligent terminal
CN107291260A (en) * 2016-04-13 2017-10-24 北京搜狗科技发展有限公司 A kind of data inputting method and device and the device inputted for information
CN106055537A (en) * 2016-05-23 2016-10-26 王立山 Natural language machine recognition method and system
CN107621886A (en) * 2016-07-15 2018-01-23 北京搜狗科技发展有限公司 Method, apparatus and electronic equipment are recommended in one kind input
CN106648134A (en) * 2016-10-14 2017-05-10 北京搜狗科技发展有限公司 Input method and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
LAI-MAN PO等: "Six-digit stroke-based Chinese input method", 2009 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN AND CYBERNETICS, pages 834 - 839 *
万玛尖措;张有谊;: "藏文输入法联想功能的研究", 计算机产品与流通, no. 11 *
代贤俊: "面向写作辅助的中文智能输入法系统", 中国优秀硕士学位论文全文数据库信息科技辑, pages 138 - 1512 *
殷芳刚;吴建国;吴海辉;李炜;: "Windows Mobile平台下智能手机输入法研究", 计算机技术与发展, no. 05 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113589950A (en) * 2020-04-30 2021-11-02 北京搜狗科技发展有限公司 Input method, input device and input device
CN113589954A (en) * 2020-04-30 2021-11-02 北京搜狗科技发展有限公司 Data processing method and device and electronic equipment
CN113589952A (en) * 2020-04-30 2021-11-02 北京搜狗科技发展有限公司 Information display method and device and electronic equipment
CN114442816A (en) * 2020-11-04 2022-05-06 北京搜狗科技发展有限公司 Association prefetching method and device for association prefetching
CN113885714A (en) * 2021-09-29 2022-01-04 北京搜狗科技发展有限公司 Input method, apparatus and medium

Also Published As

Publication number Publication date
CN110244860B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
TWI720062B (en) Voice input method, device and terminal equipment
CN110244860B (en) Input method and device and electronic equipment
CN108227950B (en) Input method and device
CN107621886B (en) Input recommendation method and device and electronic equipment
CN109144285B (en) Input method and device
CN107291260B (en) Information input method and device for inputting information
CN107291772B (en) Search access method and device and electronic equipment
CN110069624B (en) Text processing method and device
CN111382339A (en) Search processing method and device and search processing device
CN110764627A (en) Input method and device and electronic equipment
CN111831132A (en) Information recommendation method and device and electronic equipment
CN110929122A (en) Data processing method and device and data processing device
CN107784037B (en) Information processing method and device, and device for information processing
CN110858100B (en) Method and device for generating association candidate words
CN109144286B (en) Input method and device
CN111381685A (en) Sentence association method and device
CN111597431A (en) Recommendation method and device and electronic equipment
CN112000877B (en) Data processing method, device and medium
CN109558017B (en) Input method and device and electronic equipment
CN113409766A (en) Recognition method, device for recognition and voice synthesis method
CN110362686B (en) Word stock generation method and device, terminal equipment and server
CN114115550A (en) Method and device for processing association candidate
CN112214114A (en) Input method and device and electronic equipment
CN113589954A (en) Data processing method and device and electronic equipment
CN113534973B (en) Input method, device and device for inputting

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