CN108628461B - Input method and device and method and device for updating word stock - Google Patents

Input method and device and method and device for updating word stock Download PDF

Info

Publication number
CN108628461B
CN108628461B CN201710157260.3A CN201710157260A CN108628461B CN 108628461 B CN108628461 B CN 108628461B CN 201710157260 A CN201710157260 A CN 201710157260A CN 108628461 B CN108628461 B CN 108628461B
Authority
CN
China
Prior art keywords
input string
entry
word frequency
mapping relation
original input
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
CN201710157260.3A
Other languages
Chinese (zh)
Other versions
CN108628461A (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 CN201710157260.3A priority Critical patent/CN108628461B/en
Publication of CN108628461A publication Critical patent/CN108628461A/en
Application granted granted Critical
Publication of CN108628461B publication Critical patent/CN108628461B/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

Abstract

The embodiment of the invention provides an input method and device and a method and device for updating a word stock, wherein the input method specifically comprises the following steps: searching in a mapping relation among an input string, terms and word frequencies according to a current input string of a user to obtain a target term corresponding to the current input string and the word frequencies of the target term; and sequencing and displaying the target entries according to the word frequency of the target entries. The embodiment of the invention can enable the sequencing result to better accord with the input habit of the user and improve the input efficiency of the user.

Description

Input method and device and method and device for updating word stock
Technical Field
The invention relates to the technical field of input methods, in particular to an input method and device and a method and device for updating a word stock.
Background
For users of languages such as chinese, japanese, korean, etc., it is generally necessary to interact with the computer through an input method program. For example, a user may type an input string through a keyboard, and then the input string is converted into a candidate item of a corresponding language and displayed by an input method program according to a preset standard mapping rule, so that the candidate item selected by the user is displayed on a screen.
In the input process of the existing input method program, the word frequency of the corresponding entry in the word stock can be updated according to the on-screen word of the user, so that the on-screen word can be ranked at a position closer to the front in the candidate items in the subsequent input process, and the user can conveniently select the on-screen word. For example, in a certain input process, it is assumed that the candidate corresponding to the input string "wod" includes: "my", "my zone", "my brother", etc., and the user screens "my", the input method program may increase the word frequency of the entry "my" in the lexicon; then the entry "my" may appear in the preferred or second choice position of the candidate item for the user to screen when the input string in the subsequent input process is "wod".
However, in practical applications, the user may have the following personalized input habits: for a particular entry shorthand, for most entry spellings, for example, it is customary to enter "My" by the total-spelling input string "Wodou" and "My" by the shorthand input string "wod". If the user inputs the input string 'wo dou' again in the re-input process and selects the candidate item 'me all' to be displayed on the screen, the input method program can increase the word frequency of 'me all' as well; thus, when the user subsequently intends to input "my" through the input string "wod", since the input string "wod" is a simple spelling of "goodou", the input method program may find the corresponding entry "my", etc. in the thesaurus according to "wod", and when the word frequency of "my" is greater than that of "my", the entry "my" will be arranged in front of "my", and the user needs to manually select "my" in the candidate to implement the screen-up operation of "my", which will affect the input efficiency.
Disclosure of Invention
The embodiment of the invention provides an input method, an input device, a device for inputting, a method for updating a word stock, a device for updating the word stock and a device for updating the word stock, and aims to solve the problem of low input efficiency in the prior art.
In order to solve the above problems, the present invention discloses an input method, comprising:
searching in a mapping relation among an input string, terms and word frequencies according to a current input string of a user to obtain a target term corresponding to the current input string and the word frequencies of the target term;
and sequencing and displaying the target entries according to the word frequency of the target entries.
Optionally, when the original input string corresponding to the on-screen content is the same as the input string in the mapping relationship, the word frequency of the entry corresponding to the on-screen content in the mapping relationship is increased by a first increment, and when the original input string corresponding to the on-screen content is related to the input string in the mapping relationship, the word frequency of the entry corresponding to the on-screen content in the mapping relationship is increased by a second increment; the first increment is greater than the second increment.
Optionally, the associating the original input string corresponding to the on-screen content with the input string in the mapping relationship includes:
the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or
The original input string is an input string in a simple spelling form, and the input string in the mapping relation is an input string in a full spelling form corresponding to the original input string and/or other simple spelling forms except the original input string.
Optionally, the entries in the mapping relationship include entries corresponding to different languages.
Optionally, the method further comprises:
searching in a system word bank according to a current input string of a user to obtain a system entry corresponding to the current input string and a word frequency of the system entry;
and sequencing and displaying the target entry and the system entry according to the word frequency of the target entry and the word frequency of the system entry.
On the other hand, the invention discloses a method for updating a word stock, which comprises the following steps:
updating the word frequency of the entry corresponding to the on-screen content in the mapping relation among the input string, the entry and the word frequency according to the on-screen content of the user and the original input string corresponding to the on-screen content;
the updating the word frequency of the entry corresponding to the content on the screen in the mapping relation among the input string, the entry and the word frequency comprises the following steps:
if the original input string is the same as the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a first increment; and
if the original input string is related to the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a second increment; wherein the first increment is greater than the second increment.
Optionally, the method further comprises:
acquiring a target data record matched with the on-screen content of the user from the mapping relation among the input strings, the entries and the word frequency;
then the original input string is the same as the input string in the mapping relationship, including: the original input string is the same as the input string in the target data record; the original input string is related to the input string in the mapping relationship, including: the original input string is related to an input string in the target data record.
Optionally, the original input string is related to the input string in the mapping relationship, including:
the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or
The original input string is an input string in a simple spelling form, and the input string in the mapping relation is an input string in a full spelling form corresponding to the original input string and/or other simple spelling forms except the original input string.
Optionally, the method further comprises:
and establishing a mapping relation among the input strings, the entries and the word frequencies according to the on-screen content of the user and the corresponding original input strings.
Optionally, the entries in the mapping relationship include entries corresponding to different languages.
In yet another aspect, the present invention discloses an input device, comprising:
the first searching module is used for searching in the mapping relation among the input string, the entry and the word frequency according to the current input string of the user so as to obtain a target entry corresponding to the current input string and the word frequency of the target entry;
and the sequencing display module is used for sequencing and displaying the target entry according to the word frequency of the target entry.
Optionally, the apparatus further comprises:
a word frequency updating module, configured to increase, in the mapping relationship, a word frequency of an entry corresponding to the on-screen content by a first increment when an original input string corresponding to the on-screen content is the same as an input string in the mapping relationship, and increase, in the mapping relationship, a word frequency of an entry corresponding to the on-screen content by a second increment when the original input string corresponding to the on-screen content is related to the input string in the mapping relationship; the first increment is greater than the second increment.
Optionally, the associating the original input string corresponding to the on-screen content with the input string in the mapping relationship includes:
the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or
The original input string is an input string in a simple spelling form, and the input string in the mapping relation is an input string in a full spelling form corresponding to the original input string and/or other simple spelling forms except the original input string.
Optionally, the entries in the mapping relationship include entries corresponding to different languages.
Optionally, the apparatus further comprises:
the second searching module is used for searching in a system word bank according to the current input string of the user to obtain a system entry corresponding to the current input string and the word frequency of the system entry;
and the sequencing display module is further used for sequencing and displaying the target entry and the system entry according to the word frequency of the target entry and the word frequency of the system entry.
In another aspect, the present invention discloses a device for updating a thesaurus, comprising:
the updating module is used for updating the word frequency of the entry corresponding to the on-screen content in the mapping relation among the input string, the entry and the word frequency according to the on-screen content of the user and the original input string corresponding to the on-screen content;
the update module includes:
a first updating submodule, configured to increase, if the original input string is the same as the input string in the mapping relationship, a word frequency of an entry corresponding to the on-screen content in the mapping relationship by a first increment; and
a second updating submodule, configured to increase, if the original input string is related to an input string in the mapping relationship, a second increment of a word frequency of an entry corresponding to the on-screen content in the mapping relationship; wherein the first increment is greater than the second increment.
Optionally, the apparatus further comprises: a third searching module;
the third searching module is used for acquiring data records matched with the content on the screen of the user from the mapping relation among the input strings, the entries and the word frequency; then the original input string is the same as the input string in the mapping relationship, including: the original input string is the same as the input string in the data record; the original input string is related to the input string in the mapping relationship, including: the original input string is associated with an input string in the data record.
Optionally, the original input string is related to the input string in the mapping relationship, including:
the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or
The original input string is an input string in a simple spelling form, and the input string in the mapping relation is an input string in a full spelling form corresponding to the original input string and/or other simple spelling forms except the original input string.
Optionally, the apparatus further comprises:
and the establishing module is used for establishing a mapping relation among the input strings, the entries and the word frequencies according to the on-screen content of the user and the corresponding original input strings.
Optionally, the entries in the mapping relationship include entries corresponding to different languages.
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:
searching in a mapping relation among an input string, terms and word frequencies according to a current input string of a user to obtain a target term corresponding to the current input string and the word frequencies of the target term;
and sequencing and displaying the target entries according to the word frequency of the target entries.
In yet another aspect, an apparatus for updating a thesaurus is disclosed, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein the one or more programs configured to be executed by the one or more processors comprise instructions for:
updating the word frequency of the entry corresponding to the on-screen content in the mapping relation among the input string, the entry and the word frequency according to the on-screen content of the user and the original input string corresponding to the on-screen content;
the updating the word frequency of the entry corresponding to the content on the screen in the mapping relation among the input string, the entry and the word frequency comprises the following steps:
if the original input string is the same as the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a first increment; and
if the original input string is related to the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a second increment; wherein the first increment is greater than the second increment.
The embodiment of the invention has the following advantages:
in the embodiment of the present invention, according to the on-screen content of the user and the original input string corresponding to the on-screen content, the process of updating the word frequency of the entry corresponding to the on-screen content in the mapping relationship among the input string, the entry, and the word frequency may include: if the original input string is the same as the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a first increment; if the original input string is related to the input string in the mapping relation, increasing the word frequency of the entry corresponding to the content on the screen in the mapping relation by a second increment, wherein the first increment is larger than the second increment; under the condition that the original input string is the same as the input string in the mapping relationship, the input string and the entry in the mapping relationship are the input string input by the user and the corresponding content on the screen (for example, the input string 'goodou' and the corresponding content on the screen, 'me', or the input string 'wod' and the corresponding content on the screen, 'me') thereof, and the input string input by the user and the corresponding content on the screen can reflect the input habit of the user on the content on the screen, so that the embodiment of the invention can better reflect the increased increment of the word frequency of the entry corresponding to the original input string in the mapping relationship of the input habit of the user on the content on the screen.
In the input process, the embodiment of the invention can search in the mapping relation among preset input strings, terms and word frequencies according to the current input string of a user to obtain the target terms corresponding to the input strings and the word frequencies of the target terms, and sequence and display the target terms according to the word frequencies of the target terms; the embodiment of the invention can better reflect that the word frequency of the entries in the mapping relation of the input habits of the user on the content on the screen is increased by larger increment, so that the sequencing result can better accord with the input habits of the user, and the input efficiency of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of the steps of one embodiment of a method of updating a thesaurus of the present invention;
FIG. 2 is a flow chart of the steps of one input method embodiment 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 embodiment of an apparatus for updating a thesaurus according to the present invention;
FIG. 5 is a block diagram of an apparatus 800 for input of the present invention; and
fig. 6 is a schematic diagram of a server in some embodiments of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For languages such as Chinese, the nature of Chinese is such that a shorthand and a full spell can correspond to the same entry. However, the existing input method program often adjusts the word frequency of the related entry based on the on-screen content of the user after the user performs the on-screen operation, however, the adjustment strategy does not consider the personalized input habit of the user, so that the ordering conflict between the simple spelling and the full spelling corresponding entries is easily caused. For example, if a user is accustomed to entering "my all" through the full pinyin input string "goodou" and entering "my" through the simple pinyin input string "wod" and the user screens "my all" through the full pinyin input string "goodou" more often, adjusting the word frequency of the relevant terms based on the user's on-screen content in the prior art will result in a higher word frequency of "my all" in the thesaurus; thus, when the user inputs the abbreviated spelling input string "wod", since "wod" is the abbreviated spelling of "goodou", the candidate item corresponding to "wod" includes "all me", and since the word frequency of "all me" is high, the candidate item "all me" will be ranked in the preferred position, the user needs to manually select a candidate item among the candidate items to realize the screen-on operation of the candidate item "my" meeting the intention, which affects the preference rate and the input efficiency. In addition, if the user screens wrong preferences due to misoperation (such as clicking a space), the wrong content on the screen needs to be deleted by pressing a backspace key and then input again, which not only brings inconvenience to the input of the user, but also reduces the input efficiency.
It can be seen that, since different input strings "goodou" and "wod" may correspond to the same entry "all me", when the user enters "goodou" on screen "all me", the word frequency of "all me" is increased, thereby causing a sorting conflict between the entry "all me" and "my" corresponding to the input string "wod".
In order to solve the above problems, in the embodiment of the present invention, an input string is added to a structure of a lexicon, and specifically, a mapping relationship between the input string and an entry is recorded by the lexicon; in addition, in the process of updating the word stock according to the content of the screen, the embodiment of the invention adjusts the word frequencies of the entries corresponding to different input string types, so that the word frequencies of the same entry corresponding to different input string types are different, and the corresponding entries and the word frequencies can be respectively obtained and sequenced according to the different input string types corresponding to the current input string in the input process.
Specifically, the different input string types of the embodiment of the present invention may include: an original input string and a related input string, wherein the original input string can be used for representing an input string originally input by a user, the related input string can be used for representing an input string related to the original input string, the related input string is different from the original input string and corresponds to the same term as the original input string, for example, if the user screens 'Wodou' on the input string 'Wodou', the 'Wodou' can be called as the original input string, and the 'wod', 'wd' and the like can be called as the related input string of 'Wodou'; as another example, if the user has "My" screened through input string "wod," wod "may be referred to as the original input string, and" goodou "," wd ", etc. as the relevant input string of" wod ".
In the embodiment of the present invention, in the mapping relationship between the input strings, the entries, and the word frequencies according to the on-screen content of the user and the original input strings corresponding to the on-screen content, the process of updating the word frequencies of the entries corresponding to the on-screen content may include: if the original input string is the same as the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a first increment; if the original input string is related to the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a second increment; under the condition that the original input string is the same as the input string in the mapping relationship, the input string and the entry in the mapping relationship are the input string input by the user and the corresponding content on the screen (for example, the input string 'wrodou' and the corresponding content on the screen, 'me', or the input string 'wod' and the corresponding content on the screen, 'my'), because the input string input by the user and the corresponding content on the screen can reflect the input habit of the user on the content on the screen, the embodiment of the invention can better reflect the increased increment of the word frequency of the entry corresponding to the original input string in the mapping relationship of the input habit of the user on the content on the screen, can enable the ordering result to better conform to the input habit of the user, and improve the preference rate and the input efficiency of the user.
By the embodiment of the invention, in the input process, the mapping relation among the input strings, the vocabulary entries and the word frequency can be searched according to the current input strings of the user so as to obtain the target vocabulary entries corresponding to the input strings and the word frequency of the target vocabulary entries, and the target vocabulary entries are sequenced and displayed according to the word frequency of the target vocabulary entries; the embodiment of the invention can better reflect that the word frequency of the entries in the mapping relation of the input habits of the user on the input strings and the corresponding on-screen contents is increased by larger increment, so that the sequencing result can better accord with the input habits of the user, and the preference rate and the input efficiency of the user are improved.
In an application example of the present invention, if a user is accustomed to inputting "all" through a full pinyin input string "goodou" and inputting "my" through a simple pinyin input string "wod", and the user inputs "all" through the full pinyin input string "goodou" for a relatively large number of times, the embodiment of the present invention may maintain a mapping relationship among input strings, terms, and term frequencies, and adjust the term frequencies of related terms in the mapping relationship based on the on-screen content of the user and the original input string corresponding thereto:
in the embodiment of the present invention, the mapping relationship among the input strings, the entries, and the word frequencies may include a plurality of data records. For example, in the case where "all me" is input by the spell input string "goodou", the corresponding mapping may include: data records 1 of "goodou", "my all" and word frequency, and related input strings of "goodou" (such as "wod", "wd", etc.), "my all" and data records 2 of word frequency, since the input string in data record 1 is the same as the original input string "goodou", a larger first increment x can be added for the word frequency of the entry in data record 1; since the input string in data record 2 is related to the original input string "goodou," a smaller second increment y may be added to the term frequency of the term in data record 2. Thus, the word frequency of the input string "goodou" corresponding to the term "my all" in the thesaurus can be made larger, and the word frequency of the input string "wod" corresponding to the term "my all" is made smaller.
As another example, where "my" is input by the shorthand input string "wod," the corresponding mapping may include: "wod", "my" and word frequency data records 3, and "wod" related input strings (e.g., "wroou", "wd", etc.), "my" and word frequency data records 4, since the input string in data record 3 is the same as the original input string "wod", a larger first increment x may be added for the word frequency of the entry in data record 3; since the input string in data record 4 is related to the original input string "wod," a smaller second increment y may be added to the frequency of the entry in data record 4. Thus, the word frequency of the input string "wod" corresponding to the entry "my" in the thesaurus can be made large.
It can be seen that, under the condition that the user is accustomed to inputting "me all" through the full spelling input string "goodou" and accustomed to inputting "me" through the simple spelling input string "wod," the word frequency updating of the embodiment of the present invention can make the word frequency of the entry "me all" corresponding to the full spelling input string "goodou" in the thesaurus larger and the word frequency of the entry "me" corresponding to the simple spelling input string "wod" larger. Thus, when the user inputs the abbreviated spelling input string "wod", because the word frequency of the word "wod" corresponding to the entry "my" is relatively high, and the word frequency of the word "wod" corresponding to the entry "my" is relatively low, the candidate item "my" meeting the input intention of the user can be arranged at a front position, such as a preferred position, so that the ranking result can better meet the input habit of the user, and the preferred rate and the input efficiency of the user are improved.
Method embodiment one
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for updating a thesaurus according to the present invention is shown, which specifically may include:
updating the word frequency of the entry corresponding to the on-screen content in the mapping relation among the input string, the entry and the word frequency according to the on-screen content of the user and the original input string corresponding to the on-screen content;
the updating the word frequency of the entry corresponding to the on-screen content in the mapping relationship among the input string, the entry, and the word frequency may include:
step 101, if the original input string is the same as the input string in the mapping relation, increasing the word frequency of the entry corresponding to the content on the screen in the mapping relation by a first increment; and
step 102, if the original input string is related to the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a second increment; wherein the first increment may be greater than the second increment.
The embodiment of the present invention may be applied to an input method program of an input mode such as keyboard symbol input, handwriting input, voice input, etc., and for convenience of description, the embodiment of the present invention refers to a code character string input by a user in the input mode as an input string. In the field of input methods, for input method programs in, for example, chinese, japanese, korean, or other languages, an input string input by a user may be generally converted into a candidate for a corresponding language. The process of updating the lexicon and the input process of the invention are mainly explained by taking Chinese as an example, and other languages can be referred to each other. It is to be understood that the chinese input method may include, but is not limited to, a full pinyin, a simple pinyin, a stroke, a five-stroke, etc., and the embodiment of the present invention is not limited to a specific input method program corresponding to a certain language.
The input method program can be run on the intelligent terminal, and the intelligent terminal specifically includes but is not limited to: smart phones, tablet computers, electronic 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.
According to some embodiments, the input string may include, but is not limited to: a key symbol or a combination of a plurality of key symbols input by a user through a key. The key symbol may specifically include: pinyin, strokes, kana, etc.
In embodiments of the present invention, the on-screen content may be used to represent one or more characters corresponding to an input string. The content on the screen can be characters of languages such as Chinese characters, English characters, Japanese characters and the like, and the content on the screen can also be symbol combinations in the forms of characters, characters and the like. The color text includes but is not limited to a drawing composed of lines, symbols and words, for example, examples of the color text may include: ": p ",": o ",": etc.
The embodiment of the invention adds the input string of the user in the structure of the word stock, and particularly records the mapping relation between the input string and the corresponding entry of the content on the screen through the word stock; in addition, in the process of updating the word stock according to the content of the screen, the embodiment of the invention adjusts the word frequencies of the entries corresponding to different input string types, so that the corresponding word frequencies of the same entry under different input string types are different. According to some embodiments, the word library used for storing the mapping relationship between the input strings, the entries, and the word frequencies may be a user word library, and the like.
In an optional embodiment of the invention, the method may further comprise: acquiring a target data record matched with the on-screen content of the user from the mapping relation among the input strings, the entries and the word frequency;
then the original input string is the same as the input string in the mapping relationship, which may include: the original input string is the same as the input string in the target data record; the correlation of the original input string with the input strings in the mapping relationship may include: the original input string is related to an input string in the target data record.
For example, if the user is "wondou" on screen "me" through the spelling input string, "the following target data records matching the content on screen of the user can be obtained from the mapping relationship among the input string, the entry, and the word frequency: data records 1 for "gooou", "wodo", and word frequency, and data records 2 for "wodou" and its associated input strings (e.g., "wod", "wd", etc.), "wodo", and word frequency. Because the input string in the data record 1 is the same as the original input string "gooou", a first increment x which is larger can be added aiming at the term frequency of the entry in the data record 1; since the input string in data record 2 is related to the original input string "goodou," a smaller second increment y may be added to the term frequency of the term in data record 2.
For convenience of description, in the embodiment of the present invention, a mapping relationship between an input string, an entry, and a word frequency may include: a first mapping relationship and a second mapping relationship; specifically, a mapping relationship corresponding to the original input string, the first term, and the term frequency may be referred to as a first mapping relationship, for example, the data record 1 of "goodou", "my all", and the term frequency in the above example may be a data record corresponding to the first mapping relationship. In the first mapping relation, "gooou" is called an original input string, "all of me" is called a first term, and the term frequency of all of me represents the term frequency called the first term. Referring to the mapping relationship between the relevant input string, the second term, and the word frequency as the second mapping relationship, for example, the data record 2 of "wod", "me all", and the word frequency in the above example may be the data record corresponding to the second mapping relationship. In this second mapping, "wod" is referred to as a related input string, "me all" is referred to as a second term, and the term frequency of "me all" characterizes the term frequency referred to as the second term.
In practical applications, the first mapping relationship and the second mapping relationship may include a plurality of data records, and the first mapping relationship and the second mapping relationship may be stored in the same or different word banks, which is to be understood that the specific storage manner of the first mapping relationship and the second mapping relationship is not limited in the embodiments of the present invention.
In an optional embodiment of the present invention, the associating the original input string with the input string in the mapping relationship may specifically include:
the original input string is an input string in a full spelling form, and the input string in the mapping relation is an input string in a simple spelling form corresponding to the original input string; and/or
The original input string is an input string in a simple spelling form, and the input string in the mapping relation is an input string in a full spelling form corresponding to the original input string and/or other simple spelling forms except the original input string.
In the embodiment of the present invention, when the original input string input by the user is an input string in a full spelling mode, for example, the original input string input by the user is "goodo" and the content on the screen is "all me", where "goodo" is an input string in a full spelling mode of "all me", and a relevant input string corresponding to "goodo" may include: an input string in the form of a simple spelling such as "wod", "wd", etc. After the input method program acquires an original input string 'goodou', a content 'my all' on a screen, and related input strings 'wod' and 'wd', a first increment is added to the word frequency of a first entry 'my all' corresponding to the original input string 'goodou' in a first mapping relation, a second increment is added to the word frequency of a second entry 'my all' corresponding to a related input string 'wod' in a second mapping relation, and a second increment is added to the word frequency of a second entry 'my all' corresponding to the related input string 'wd' in the second mapping relation.
When the original input string input by the user is an input string in the abbreviated form, for example, the original input string input by the user is "wod", and the content on the screen is "my", wherein "wod" is the input string in the abbreviated form of "my", and the relevant input string corresponding to "wod" may include: an input string "wode" in full spell form, and an input string "wd" in simplified spell form. After the input method program acquires the original input string "wod", the content "my" on the screen, and the related input strings "wode" and "wd", the word frequency of a first entry "my" corresponding to the original input string "wod" in the first mapping relationship is increased by a first increment, the word frequency of a second entry "my" corresponding to the related input string "wode" in the second mapping relationship is increased by a second increment, and the word frequency of the second entry "my" corresponding to the related input string "wd" in the second mapping relationship is increased by a second increment.
In yet another optional embodiment of the present invention, the method may further comprise: and establishing a mapping relation among the input strings, the entries and the word frequencies according to the on-screen content of the user and the corresponding original input strings.
In the embodiment of the present invention, the mapping relationships among the input strings, the entries, and the word frequencies, such as the first mapping relationship corresponding to the original input string and the second mapping relationship corresponding to the related input string, may be established and updated according to the input process of the user. Specifically, when the user uses the input method program for the first time, the first mapping relationship and the second mapping relationship may be null, after the user generates the on-screen content through the input method program, the input method program may establish the first mapping relationship and the second mapping relationship corresponding to the input string in the lexicon according to the on-screen content of the user, and when the user generates the same on-screen content next time, the input method program may update the established first mapping relationship and the established second mapping relationship in the lexicon.
In order to more clearly illustrate the method for updating a thesaurus according to the embodiment of the present invention, an implementation process of the method for updating a thesaurus according to the present invention is described below with reference to specific examples.
Application example 1
Referring to table 1, an example of a mapping relationship between an input string, an entry, and a word frequency according to an embodiment of the present invention is shown.
TABLE 1
Input string Entry word Word frequency
wod My 100
wod I all 105
wod I get 110
wod I am to 115
wod I arrive at 120
wode My 200
wode I get 205
wode Wold 210
wodou I all 300
Assuming that the user's input process generated the on-screen content "My" by "wod", Table 1 can be updated to obtain Table 2, wherein the first increment x of "wod" for "My" is greater than the second increment y of "woode" for "My".
TABLE 2
Figure BDA0001247455820000131
Figure BDA0001247455820000141
Assuming that the user's re-entry process produced the on-screen content "My' through" woode ", Table 2 can be updated to obtain Table 3, wherein a first increment x of" woode "for" My "is greater than a second increment y of" wod "for" My ".
TABLE 3
Input string Entry word Word frequency
wod My 100+x
wod All I am 105
wod I get 110+y
wod I aim at 115
wod I arrive at 120
wode My 200+y
wode I get 205+x
wode Wald & lt & gt 210
wodou I all 300
Application example 2
Step A1, the user generates the content "My" on the screen by inputting the string "wod";
step A2, inquiring a first mapping relation according to an original input string 'wod' and the content 'my' on the screen, and establishing a corresponding first mapping relation on the assumption that the corresponding first mapping relation does not exist (the mapping relation among the original input string 'wod', a first entry 'my' and word frequency), wherein according to some embodiments, the initial word frequency of the first entry in the first mapping relation can be 0;
step A3, increasing the word frequency of the first entry in the first mapping relation by a first increment x, wherein the updated first mapping relation is shown in Table 4;
TABLE 4
Original input string First entry Word frequency
wod My x
Step A4, obtaining relevant input strings corresponding to My, including input strings in a full spelling form 'wode' and input strings in other simple spelling forms 'wde' and 'wd'; for example, a second mapping relationship is queried according to the related input string "wode" and the second term "my", and if there is no corresponding second mapping relationship, a corresponding second mapping relationship (a mapping relationship between the related input string "wode", the second term "my", and the word frequency) is established, according to some embodiments, the initial word frequency of the second term in the second mapping relationship may be 0;
step A5, increasing the word frequency of the second entry in the second mapping relationship by a second increment y, wherein the updated second mapping relationship is shown in Table 5;
TABLE 5
Related input string Second entry Word frequency
wode My y
wde My y
wd My y
Step A6, the user generates the content of the upper screen "Woou" by inputting the string "Woodou";
step A7, inquiring a first mapping relation according to an original input string 'goodou' and an on-screen content 'me all', and establishing a corresponding first mapping relation on the assumption that the corresponding first mapping relation does not exist (mapping relation between the original input string 'goodou', a first entry 'me all' and a word frequency), wherein according to some embodiments, the initial word frequency of the first entry in the first mapping relation can be 0;
step A8, increasing the word frequency of the first entry in the first mapping relationship by a first increment x, wherein the updated first mapping relationship is shown in Table 6;
TABLE 6
Original input string First entry Word frequency
wodou I all x
Step A9, obtaining relevant input strings corresponding to 'I am', wherein the relevant input strings comprise input strings 'wod', 'wde' and 'wd' in other simple spelling forms; for example, a second mapping relationship is queried according to the related input string "wod" and the second term "me all", and, assuming that there is no corresponding second mapping relationship, a second mapping relationship is newly created (a mapping relationship between the related input string "wod", the second term "me all" and the term frequency), and according to some embodiments, the initial term frequency of the second term in the second mapping relationship may be 0;
step A10, increasing the word frequency of the second entry in the second mapping relationship by a second increment y, wherein the updated second mapping relationship is shown in Table 7;
TABLE 7
Related input string Second entry Word frequency
wod I all y
wde I all y
wd I all y
It can be seen that, in the embodiment of the present invention, different word frequency increments are assigned to the first entry corresponding to the original input string and the second entry corresponding to the related input string, specifically, the first entry corresponding to the original input string of the user is assigned with a larger word frequency increment, and the second entry corresponding to the related input string is assigned with a smaller word frequency increment, where the original input string and the entry in the first mapping relationship are the input string input by the user and the corresponding on-screen content thereof, and the input string input by the user and the corresponding on-screen content thereof can reflect the input habit of the user on the input string and the corresponding on-screen content thereof, so that the updated word frequency more conforms to the input habit of the user.
In summary, in the prior art, entries corresponding to the original input string and the related input string are not distinguished, so that the entry currently required by the user is arranged behind, and the entry currently not required by the user is arranged in front, even in the preferred position, thereby reducing the preferred rate.
In order to solve the above problems and improve the preference rate, the embodiment of the present invention adds the input string of the user in the structure of the lexicon, specifically, records the mapping relationship between the on-screen content and the input string of the user through the lexicon; moreover, the process of updating the word frequency of the entry corresponding to the on-screen content in the mapping relationship among the input string, the entry and the word frequency according to the on-screen content of the user and the original input string corresponding to the on-screen content of the user in the embodiment of the present invention may include: if the original input string is the same as the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a first increment; if the original input string is related to the input string in the mapping relation, increasing the word frequency of the entry corresponding to the content on the screen in the mapping relation by a second increment, wherein the first increment is larger than the second increment; under the condition that the original input string is the same as the input string in the mapping relationship, the input string and the entry in the mapping relationship are the input string and the corresponding content on the screen (such as the input string 'wrodou' and the corresponding 'my', or the input string 'wod' and the corresponding 'my') input by the user, and the input string and the corresponding content on the screen input by the user can reflect the input habit of the user on the input string and the corresponding content on the screen, so that the embodiment of the invention can better reflect the increased increment of the word frequency of the entry corresponding to the original input string in the mapping relationship of the input habit of the user on the input string and the corresponding content on the screen, and further ensure that the updated word frequency is more in line with the input habit of the user.
Method embodiment two
Referring to fig. 2, a flowchart illustrating steps of an embodiment of an input method according to the present invention is shown, which may specifically include:
step 201, according to a current input string of a user, searching in a mapping relation among the input string, terms and word frequencies to obtain a target term corresponding to the current input string and the word frequency of the target term;
step 202, sequencing and displaying the target entry according to the word frequency of the target entry.
The current input string may be used to represent the input string currently entered by the user, i.e., the input string currently received by the input method program.
In the input process, according to the current input string of the user, the mapping relation among the input string, the vocabulary entry and the word frequency can be searched to obtain the target vocabulary entry corresponding to the input string and the word frequency of the target vocabulary entry, and the target vocabulary entry is used as the candidate item to be sequenced and displayed according to the word frequency of the target vocabulary entry.
In an optional embodiment of the present invention, when the original input string corresponding to the on-screen content is the same as the input string in the mapping relationship, the word frequency of the entry corresponding to the on-screen content in the mapping relationship may be increased by a first increment, and when the original input string corresponding to the on-screen content is related to the input string in the mapping relationship, the word frequency of the entry corresponding to the on-screen content in the mapping relationship may be increased by a second increment; the first increment is greater than the second increment. The embodiment of the invention can better reflect that the word frequency of the entries in the mapping relation of the input habits of the user on the input strings and the corresponding on-screen contents is increased by larger increment, so that the sequencing result in the input process can better accord with the input habits of the user, and the preference rate and the input efficiency of the user are improved.
In an optional embodiment of the present invention, the associating the original input string corresponding to the on-screen content with the input string in the mapping relationship may specifically include:
the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or
The original input string is an input string in a simple spelling form, and the input string in the mapping relation is an input string in a full spelling form corresponding to the original input string and/or other simple spelling forms except the original input string.
Still take application example two as an example to illustrate the input method of the present invention. After steps a1 through a10 are completed, assuming that the user again wants to input "my" through the input string "wod", the input method program may perform the following steps:
step B1, the input method program searches for the mapping relationship among the input string, the entry, and the word frequency according to the current input string "wod" of the user, and the target entry corresponding to the current input string "wod" can be found and obtained by: "My", etc.; wherein, the word frequency of the target entry "my" corresponding to the current input string "wod" is x, and the word frequency of the target entry "my" corresponding to the current input string "wod" is y;
and step B2, sequencing and displaying the target entries according to the word frequency of the target entries, wherein the word frequency x of the target entry My is greater than the word frequency y of the target entry My, so the My can still be arranged in front of the My, even in a preferred position, the user can quickly select the required candidate, and the input efficiency of the user is improved.
In practical applications, the word library of the input method program may be various, for example, in addition to the word library for storing the mapping relationship between the input strings, the entries, and the word frequencies according to the embodiment of the present invention, the word library of the input method program may further include: in order to improve the coverage rate of the candidate items corresponding to the current input string presented to the user, some embodiments of the present invention may further obtain the candidate items corresponding to the current input string through another lexicon other than the lexicon used for storing the mapping relationship between the input string, the vocabulary entry, and the word frequency in the embodiments of the present invention, in such a case, the target vocabulary entry and the vocabulary entries from another lexicon participate in the sorting together, and in the corresponding sorting process, there may be a vocabulary entry deduplication process, for example, if the target vocabulary entry is duplicated with the vocabulary entries from another lexicon, the target vocabulary entry is preferentially retained, the vocabulary entries from another lexicon are discarded, and the like.
In an optional embodiment of the invention, the method may further comprise: searching in a system word bank according to a current input string of a user to obtain a system entry corresponding to the current input string and a word frequency of the system entry; and sequencing and displaying the target entry and the system entry according to the word frequency of the target entry and the word frequency of the system entry.
Application example three
In practical application, a user can display English words on a screen in a Chinese state, and if some simple spellings of the Chinese words and English words are repeated, sequencing conflict is easy to occur between the Chinese words and the English words. For example: when a user first generates a "hold" of the content on the screen by inputting the string "hold", and then generates a "traffic light" of the content on the screen by inputting the string "hong lveng", and the user again wants to display an english word "hold" by inputting the string "hold", the "traffic light" of the chinese word may be arranged in front, and the "hold" of the english word required by the user may be arranged in the rear, and the user needs to manually select the "hold".
In an optional embodiment of the present invention, the entries in the mapping relationship may include entries corresponding to different languages, for example, the first entry and the second entry may be entries corresponding to different languages, so that the ordering conflict between the entries corresponding to different languages, for example, the ordering conflict between an english word and an english word, may be solved.
The method for updating the word stock and the input method can solve the problem of the ordering conflict between the English words and the Chinese words, and the specific processing process can comprise the following steps:
step C1, the user generates the content of the screen (English word) hold by inputting the string "hold";
step C2, establishing the following first mapping relation for the content "hold" on the screen and the corresponding original input string "hold": the mapping relation among the original input string 'hold', the first entry 'hold' and the word frequency is assumed that the initial word frequency of the first entry 'hold' is 0;
step C3, increasing the word frequency of the first entry in the first mapping relation newly established in the step C2 by a first increment x; the current word frequency of the first entry "hold" is x;
because the content of the upper screen is "hold" which is an English word, the "hold" has no corresponding related input string, and the corresponding second mapping relation can not be updated.
Step C4, generating a screen-on content traffic light by the user through an input string 'honglvdeng';
step C5, establishing a first mapping relation as follows according to the on-screen content traffic light and the corresponding original input string Honglvdeng: the mapping relation between an original input string 'honglvdeng', a first entry 'traffic light' and a word frequency; the initial word frequency of the first entry traffic light is assumed to be 0;
step C6, increasing the word frequency of the first entry in the first mapping relation newly established in the step C5 by a first increment x; the current word frequency of the first entry traffic light is x;
step C7, obtaining relevant input strings corresponding to the traffic lights, wherein the relevant input strings comprise input strings in other simple spelling forms, such as 'hold', 'hongld', and the like; taking a related input string "hold" as an example, the following second mapping relationship can be newly established: a mapping relation among the related input string 'hold', the second term 'traffic light' and the word frequency; the initial word frequency of the second entry traffic light is 0;
step C8, increasing the word frequency of the second entry in the second mapping relation newly established in the step C7 by a second increment y; the current word frequency of the second entry traffic light is y;
step C9, receiving a current input string "hold" of a user, searching in the mapping relation among the input string, the entries and the word frequency according to the current input string "hold" of the user, and searching to obtain a target entry corresponding to the current input string "hold" comprises: hold, traffic lights, etc.; wherein the word frequency of the target entry 'hold' is x, and the word frequency of the target entry 'traffic light' is y;
and step C14, sequencing and displaying the target entries according to the word frequency of the target entries, wherein the word frequency x of the target entry 'hold' is greater than the word frequency y of the target entry 'traffic light', so that the 'hold' can be arranged in front of the traffic light, even in a preferred position, a user can quickly select required candidates, and the input efficiency of the user is improved.
Application example four
The embodiment of the invention can also be applied to solving the sequencing conflict in the zero initial consonant and vowel. Wherein, the zero initial consonant and vowel means that a, e, o and the like can be independently used as an independent full spelling syllable, and can also be used as ai, an, ang and ao; ei. en, eng, er; simple spelled vowels of other syllables such as ou.
For example: the user generates the on-screen content "small amount" by inputting the string "xiaoe"; then the user generates the content of the upper screen of "two small" by inputting the string "xiaoer"; when the user inputs the current input string "xiaoe" again, since the zero initial vowel "e" is a simple spelling of the syllable "er", that is, the input string "xiaoe" is a simple spelling of the input string "xiaoe", the candidate "xiaodi" may be arranged in front of the "xiao", and the candidate "xiaodi" required by the user is arranged behind the input string "xiaoe", and the user needs to manually select "xiaodi".
The word bank updating method and the input method can solve the problem of sequencing conflict in the zero initial consonants and vowels. The specific implementation process is similar to that of the second application example and that of the third application example, and therefore will not be described herein.
To sum up, in the input process, the embodiment of the present invention may search the mapping relationship among the input string, the entry, and the word frequency according to the current input string of the user to obtain the target entry corresponding to the input string and the word frequency of the target entry, and sort and display the target entry according to the word frequency of the target entry; the embodiment of the invention can better reflect that the word frequency of the entries in the mapping relation of the input habits of the user on the input strings and the corresponding on-screen contents is increased by larger increment, so that the sequencing result can better accord with the input habits of the user, and the preference rate and the input efficiency of the user are improved.
Apparatus embodiment one
Referring to fig. 3, a block diagram of an embodiment of an input device according to the present invention is shown, which may specifically include:
the first searching module 301 searches a mapping relation among an input string, a term and a word frequency according to a current input string of a user to obtain a target term corresponding to the current input string and the word frequency of the target term;
and a sequencing display module 302, configured to sequence and display the target entry according to the word frequency of the target entry.
In an optional embodiment of the present invention, the apparatus may further comprise:
a word frequency updating module, configured to increase, in the mapping relationship, a word frequency of an entry corresponding to the on-screen content by a first increment when an original input string corresponding to the on-screen content is the same as an input string in the mapping relationship, and increase, in the mapping relationship, a word frequency of an entry corresponding to the on-screen content by a second increment when the original input string corresponding to the on-screen content is related to the input string in the mapping relationship; the first increment is greater than the second increment.
In another optional embodiment of the present invention, the correlation between the original input string corresponding to the on-screen content and the input string in the mapping relationship may specifically include:
the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or
The original input string is an input string in a simple spelling mode, and the input string in the mapping relation is an input string in a full spelling mode corresponding to the original input string and/or other simple spelling modes except the original input string.
In yet another optional embodiment of the present invention, the entries in the mapping relationship include entries corresponding to different languages.
In yet another alternative embodiment of the present invention, the apparatus may further include:
the second searching module is used for searching in a system word bank according to the current input string of the user to obtain a system entry corresponding to the current input string and the word frequency of the system entry;
and the sequencing display module is further used for sequencing and displaying the target entry and the system entry according to the word frequency of the target entry and the word frequency of the system entry.
Device embodiment II
Referring to fig. 4, a block diagram of a structure of an embodiment of an apparatus for updating a thesaurus according to the present invention is shown, which may specifically include:
the updating module is used for updating the word frequency of the entry corresponding to the on-screen content in the mapping relation among the input string, the entry and the word frequency according to the on-screen content of the user and the original input string corresponding to the on-screen content;
the update module may specifically include:
a first updating submodule 401, configured to increase, if the original input string is the same as the input string in the mapping relationship, a word frequency of an entry corresponding to the on-screen content in the mapping relationship by a first increment; and
a second updating sub-module 402, configured to increase, if the original input string is related to an input string in the mapping relationship, a second increment of the word frequency of the entry corresponding to the on-screen content in the mapping relationship; wherein the first increment is greater than the second increment.
In an optional embodiment of the present invention, the apparatus may further comprise: a third searching module;
the third searching module is used for acquiring a target data record matched with the on-screen content of the user from the mapping relation among the input strings, the entries and the word frequency; then the original input string is the same as the input string in the mapping relationship, including: the original input string is the same as the input string in the target data record; the original input string is related to the input string in the mapping relationship, including: the original input string is related to an input string in the target data record.
In another optional embodiment of the present invention, the associating the original input string with the input string in the mapping relationship may specifically include:
the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or
The original input string is an input string in a simple spelling form, and the input string in the mapping relation is an input string in a full spelling form corresponding to the original input string and/or other simple spelling forms except the original input string.
In yet another optional embodiment of the present invention, the apparatus may further comprise:
and the establishing module is used for establishing a mapping relation among the input strings, the entries and the word frequencies according to the on-screen content of the user and the corresponding original input strings.
In yet another optional embodiment of the present invention, the entries in the mapping relationship include entries corresponding to different languages.
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. 5 is a block diagram illustrating an apparatus for inputting 800 as an intelligent terminal according to an exemplary embodiment. For example, the apparatus 800 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. 5, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 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.
A power supply component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 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 808 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 800 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 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 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 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 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 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 814 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 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 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 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 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 800 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 804 comprising instructions, executable by the processor 820 of the device 800 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.
Fig. 6 is a schematic diagram of a server in some embodiments of the invention. The server 1900, which may vary considerably in configuration or performance, 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 sequence 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, and so forth.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus (smart terminal or server), enable the apparatus to perform an input method, the method comprising: searching in a mapping relation among an input string, terms and word frequencies according to a current input string of a user to obtain a target term corresponding to the current input string and the word frequencies of the target term; and sequencing and displaying the target entries according to the word frequency of the target entries.
Optionally, when the original input string corresponding to the on-screen content is the same as the input string in the mapping relationship, the word frequency of the entry corresponding to the on-screen content in the mapping relationship is increased by a first increment, and when the original input string corresponding to the on-screen content is related to the input string in the mapping relationship, the word frequency of the entry corresponding to the on-screen content in the mapping relationship is increased by a second increment; the first increment is greater than the second increment.
Optionally, the associating the original input string corresponding to the on-screen content with the input string in the mapping relationship includes: the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or the original input string is an input string in a simple spelling form, and the input string in the mapping relation is an input string in a full spelling form corresponding to the original input string and/or other simple spelling forms except the original input string.
Optionally, the entries in the mapping relationship include entries corresponding to different languages.
Optionally, the method further comprises: searching in a system word bank according to a current input string of a user to obtain a system entry corresponding to the current input string and a word frequency of the system entry; and sequencing and displaying the target entry and the system entry according to the word frequency of the target entry and the word frequency of the system entry.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus (smart terminal or server), enable the apparatus to perform a method of updating a thesaurus, the method comprising: updating the word frequency of the entry corresponding to the on-screen content in the mapping relation among the input string, the entry and the word frequency according to the on-screen content of the user and the original input string corresponding to the on-screen content; the updating the word frequency of the entry corresponding to the content on the screen in the mapping relation among the input string, the entry and the word frequency comprises the following steps: if the original input string is the same as the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a first increment; if the original input string is related to the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a second increment; wherein the first increment is greater than the second increment.
Optionally, the method further comprises: acquiring a target data record matched with the on-screen content of the user from the mapping relation among the input strings, the entries and the word frequency; then the original input string is the same as the input string in the mapping relationship, including: the original input string is the same as the input string in the target data record; the original input string is related to the input string in the mapping relationship, including: the original input string is related to an input string in the target data record.
Optionally, the original input string is related to an input string in the mapping relationship, including: the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or the original input string is an input string in a simple spelling form, and the input string in the mapping relation is an input string in a full spelling form corresponding to the original input string and/or other simple spelling forms except the original input string.
Optionally, the method further comprises: and establishing a mapping relation among the input strings, the entries and the word frequencies according to the on-screen content of the user and the corresponding original input strings.
Optionally, the entries in the mapping relationship include entries corresponding to different languages.
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 limited only by the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention, which is intended to cover any modifications, equivalents, improvements, etc. within the spirit and scope of the present invention.
The input method, the input device and the device for inputting provided by the invention, as well as the method for updating the lexicon, the device for updating the lexicon and the device for updating the lexicon are described in detail above, and the principle and the implementation mode of the invention are explained by applying specific examples in the text, and the description of the above examples 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 (29)

1. An input method, characterized in that the method comprises:
searching in a mapping relation among an input string, terms and word frequencies according to a current input string of a user to obtain a target term corresponding to the current input string and the word frequencies of the target term;
sequencing and displaying the target entries according to the word frequency of the target entries;
when the original input string corresponding to the upper screen content is the same as the input string in the mapping relation, the word frequency of the entry corresponding to the upper screen content in the mapping relation is increased by a first increment, and when the original input string corresponding to the upper screen content is related to the input string in the mapping relation, the word frequency of the entry corresponding to the upper screen content in the mapping relation is increased by a second increment; the first increment is greater than the second increment.
2. The method of claim 1, wherein correlating the original input string corresponding to the on-screen content with the input string in the mapping comprises:
the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or
The original input string is an input string in a simple spelling form, and the input string in the mapping relation is an input string in a full spelling form corresponding to the original input string and/or other simple spelling forms except the original input string.
3. The method of claim 1, wherein the entries in the mapping comprise entries corresponding to different languages.
4. The method of claim 1, further comprising:
searching in a system word bank according to a current input string of a user to obtain a system entry corresponding to the current input string and a word frequency of the system entry;
and sequencing and displaying the target entry and the system entry according to the word frequency of the target entry and the word frequency of the system entry.
5. A method of updating a thesaurus, the method comprising:
updating the word frequency of the entry corresponding to the on-screen content in the mapping relation among the input string, the entry and the word frequency according to the on-screen content of the user and the original input string corresponding to the on-screen content;
the updating the word frequency of the entry corresponding to the on-screen content in the mapping relation among the input strings, the entries and the word frequencies comprises the following steps:
if the original input string is the same as the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a first increment; and
if the original input string is related to the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a second increment; wherein the first increment is greater than the second increment.
6. The method of claim 5, further comprising:
acquiring a target data record matched with the on-screen content of the user from the mapping relation among the input strings, the entries and the word frequency;
then the original input string is the same as the input string in the mapping relationship, including: the original input string is the same as the input string in the target data record; the original input string is related to the input string in the mapping relationship, including: the original input string is related to an input string in the target data record.
7. The method of claim 5, wherein the correlating the original input string with the input string in the mapping comprises:
the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or
The original input string is an input string in a simple spelling mode, and the input string in the mapping relation is an input string in a full spelling mode corresponding to the original input string and/or other simple spelling modes except the original input string.
8. The method according to any one of claims 5 to 7, further comprising:
and establishing a mapping relation among the input strings, the entries and the word frequencies according to the on-screen content of the user and the corresponding original input strings.
9. The method according to any one of claims 5 to 7, wherein the entries in the mapping comprise entries corresponding to different languages.
10. An input device, the device comprising:
the first searching module is used for searching in the mapping relation among the input string, the entry and the word frequency according to the current input string of the user so as to obtain a target entry corresponding to the current input string and the word frequency of the target entry;
the sequencing display module is used for sequencing and displaying the target entry according to the word frequency of the target entry;
wherein the apparatus further comprises:
a word frequency updating module, configured to increase, in the mapping relationship, a word frequency of an entry corresponding to the on-screen content by a first increment when an original input string corresponding to the on-screen content is the same as an input string in the mapping relationship, and increase, in the mapping relationship, a word frequency of an entry corresponding to the on-screen content by a second increment when the original input string corresponding to the on-screen content is related to the input string in the mapping relationship; the first increment is greater than the second increment.
11. The apparatus of claim 10, wherein the correlation of the original input string corresponding to the on-screen content with the input string in the mapping relationship comprises:
the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or
The original input string is an input string in a simple spelling form, and the input string in the mapping relation is an input string in a full spelling form corresponding to the original input string and/or other simple spelling forms except the original input string.
12. The apparatus of claim 10, wherein the entries in the mapping comprise entries corresponding to different languages.
13. The apparatus of claim 10, further comprising:
the second searching module is used for searching in a system word bank according to the current input string of the user to obtain a system entry corresponding to the current input string and the word frequency of the system entry;
and the sequencing display module is further used for sequencing and displaying the target entry and the system entry according to the word frequency of the target entry and the word frequency of the system entry.
14. An apparatus for updating a lexicon, the apparatus comprising:
the updating module is used for updating the word frequency of the entry corresponding to the on-screen content in the mapping relation among the input strings, the entries and the word frequency according to the on-screen content of the user and the original input strings corresponding to the on-screen content;
the update module includes:
a first updating submodule, configured to increase, if the original input string is the same as the input string in the mapping relationship, a word frequency of an entry corresponding to the on-screen content in the mapping relationship by a first increment; and
a second updating submodule, configured to increase, if the original input string is related to an input string in the mapping relationship, a second increment of a word frequency of an entry corresponding to the on-screen content in the mapping relationship; wherein the first increment is greater than the second increment.
15. The apparatus of claim 14, further comprising: a third searching module;
the third searching module is used for acquiring data records matched with the content on the screen of the user from the mapping relation among the input strings, the entries and the word frequency; then the original input string is the same as the input string in the mapping relationship, including: the original input string is the same as the input string in the data record; the original input string is related to the input string in the mapping relationship, including: the original input string is associated with an input string in the data record.
16. The apparatus of claim 14, wherein the original input string is related to the input string in the mapping relationship, comprising:
the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or
The original input string is an input string in a simple spelling mode, and the input string in the mapping relation is an input string in a full spelling mode corresponding to the original input string and/or other simple spelling modes except the original input string.
17. The apparatus of any one of claims 14 to 16, further comprising:
and the establishing module is used for establishing a mapping relation among the input strings, the entries and the word frequencies according to the on-screen content of the user and the corresponding original input strings.
18. The apparatus according to any one of claims 14 to 16, wherein the entries in the mapping comprise entries corresponding to different languages.
19. 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:
searching in a mapping relation among an input string, terms and word frequencies according to a current input string of a user to obtain a target term corresponding to the current input string and the word frequencies of the target term;
sequencing and displaying the target entries according to the word frequency of the target entries;
when the original input string corresponding to the upper screen content is the same as the input string in the mapping relation, the word frequency of the entry corresponding to the upper screen content in the mapping relation is increased by a first increment, and when the original input string corresponding to the upper screen content is related to the input string in the mapping relation, the word frequency of the entry corresponding to the upper screen content in the mapping relation is increased by a second increment; the first increment is greater than the second increment.
20. The apparatus of claim 19, wherein the correlation of the original input string corresponding to the on-screen content with the input string in the mapping comprises:
the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or
The original input string is an input string in a simple spelling form, and the input string in the mapping relation is an input string in a full spelling form corresponding to the original input string and/or other simple spelling forms except the original input string.
21. The apparatus of claim 19, wherein the entries in the mapping comprise entries corresponding to different languages.
22. The device of claim 19, wherein the device is also configured to execute the one or more programs by one or more processors includes instructions for:
searching in a system word bank according to a current input string of a user to obtain a system entry corresponding to the current input string and a word frequency of the system entry;
and sequencing and displaying the target entry and the system entry according to the word frequency of the target entry and the word frequency of the system entry.
23. An apparatus for updating a thesaurus comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by one or more processors, the one or more programs comprising instructions for:
updating the word frequency of the entry corresponding to the on-screen content in the mapping relation among the input string, the entry and the word frequency according to the on-screen content of the user and the original input string corresponding to the on-screen content;
the updating the word frequency of the entry corresponding to the content on the screen in the mapping relation among the input string, the entry and the word frequency comprises the following steps:
if the original input string is the same as the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a first increment; and
if the original input string is related to the input string in the mapping relation, increasing the word frequency of the entry corresponding to the on-screen content in the mapping relation by a second increment; wherein the first increment is greater than the second increment.
24. The device of claim 23, wherein the device is also configured to execute the one or more programs by one or more processors includes instructions for:
acquiring a target data record matched with the on-screen content of the user from the mapping relation among the input strings, the entries and the word frequency;
then the original input string is the same as the input string in the mapping relationship, including: the original input string is the same as the input string in the target data record; the original input string is related to the input string in the mapping relationship, including: the original input string is related to an input string in the target data record.
25. The apparatus of claim 23, wherein the original input string is related to the input string in the mapping relationship, comprising:
the original input string is an input string in a full spelling mode, and the input string in the mapping relation is an input string in a simple spelling mode corresponding to the original input string; and/or
The original input string is an input string in a simple spelling form, and the input string in the mapping relation is an input string in a full spelling form corresponding to the original input string and/or other simple spelling forms except the original input string.
26. The apparatus of any one of claims 23 to 25, further comprising:
and establishing a mapping relation among the input strings, the entries and the word frequencies according to the on-screen content of the user and the corresponding original input strings.
27. The apparatus according to any one of claims 23 to 25, wherein the entries in the mapping comprise entries corresponding to different languages.
28. 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 recited by one or more of claims 1-4.
29. 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 recited by one or more of claims 5-9.
CN201710157260.3A 2017-03-16 2017-03-16 Input method and device and method and device for updating word stock Active CN108628461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710157260.3A CN108628461B (en) 2017-03-16 2017-03-16 Input method and device and method and device for updating word stock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710157260.3A CN108628461B (en) 2017-03-16 2017-03-16 Input method and device and method and device for updating word stock

Publications (2)

Publication Number Publication Date
CN108628461A CN108628461A (en) 2018-10-09
CN108628461B true CN108628461B (en) 2022-07-08

Family

ID=63686742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710157260.3A Active CN108628461B (en) 2017-03-16 2017-03-16 Input method and device and method and device for updating word stock

Country Status (1)

Country Link
CN (1) CN108628461B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542248A (en) * 2018-11-16 2019-03-29 上海二三四五网络科技有限公司 A kind of control method and control device of incremental update dictionary data
CN112035597B (en) * 2020-09-04 2023-11-21 常州新途软件有限公司 Vehicle-mounted input method
CN113722470B (en) * 2021-09-06 2024-03-08 杭州安恒信息技术股份有限公司 Information prompting method, device, equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1409193A (en) * 2001-09-25 2003-04-09 张凯旋 Pyramid Chinese character intelligent mixed spelling input method and keyboard
CN101051323A (en) * 2007-05-22 2007-10-10 北京搜狗科技发展有限公司 Character input method, input method system and method for updating word stock
CN101079060A (en) * 2007-03-26 2007-11-28 腾讯科技(深圳)有限公司 Chinese character input simple 'pinyin' implementation method and system
CN101178741A (en) * 2007-12-24 2008-05-14 腾讯科技(深圳)有限公司 Method and device for updating user's word stock
CN101216854A (en) * 2008-01-15 2008-07-09 腾讯科技(深圳)有限公司 Computer words input method and system and its word library maintenance method and device
KR20080086070A (en) * 2007-03-21 2008-09-25 강윤기 Words retrieving method
CN101382866A (en) * 2008-09-26 2009-03-11 腾讯科技(深圳)有限公司 System and method for correcting input characters
CN102053974A (en) * 2009-11-03 2011-05-11 新浪网技术(中国)有限公司 Chinese character input method and device
CN102129440A (en) * 2010-01-13 2011-07-20 腾讯科技(北京)有限公司 Method and system for directional push of information
CN102722483A (en) * 2011-03-29 2012-10-10 百度在线网络技术(北京)有限公司 Method, apparatus and equipment for determining candidate-item sequence of input method
CN104267829A (en) * 2014-10-16 2015-01-07 浪潮软件集团有限公司 Input method based on embedded QT

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1409193A (en) * 2001-09-25 2003-04-09 张凯旋 Pyramid Chinese character intelligent mixed spelling input method and keyboard
KR20080086070A (en) * 2007-03-21 2008-09-25 강윤기 Words retrieving method
CN101079060A (en) * 2007-03-26 2007-11-28 腾讯科技(深圳)有限公司 Chinese character input simple 'pinyin' implementation method and system
CN101051323A (en) * 2007-05-22 2007-10-10 北京搜狗科技发展有限公司 Character input method, input method system and method for updating word stock
CN101178741A (en) * 2007-12-24 2008-05-14 腾讯科技(深圳)有限公司 Method and device for updating user's word stock
CN101216854A (en) * 2008-01-15 2008-07-09 腾讯科技(深圳)有限公司 Computer words input method and system and its word library maintenance method and device
CN101382866A (en) * 2008-09-26 2009-03-11 腾讯科技(深圳)有限公司 System and method for correcting input characters
CN102053974A (en) * 2009-11-03 2011-05-11 新浪网技术(中国)有限公司 Chinese character input method and device
CN102129440A (en) * 2010-01-13 2011-07-20 腾讯科技(北京)有限公司 Method and system for directional push of information
CN102722483A (en) * 2011-03-29 2012-10-10 百度在线网络技术(北京)有限公司 Method, apparatus and equipment for determining candidate-item sequence of input method
CN104267829A (en) * 2014-10-16 2015-01-07 浪潮软件集团有限公司 Input method based on embedded QT

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于XIM的简体中文输入法FCITX;余泳;《中国工程物流研究院第七届电子技术青年学术交流会论文集》;20051101;112-116 *
有研究输入法的吗?词频调整如何处理?;cqcpl;《https://tieba.baidu.com/p/4027176614》;20150907;1-3 *

Also Published As

Publication number Publication date
CN108628461A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
CN107918496B (en) Input error correction method and device for input error correction
CN107665046B (en) Input method and device and input device
CN108628461B (en) Input method and device and method and device for updating word stock
CN106919642B (en) Cross-language search method and device for cross-language search
CN107422872B (en) Input method, input device and input device
CN107665218B (en) Searching method and device and electronic equipment
CN107291260B (en) Information input method and device for inputting information
CN109388249B (en) Input information processing method and device, terminal and readable storage medium
CN108536653B (en) Input method, input device and input device
CN109521888B (en) Input method, device and medium
CN112199032A (en) Expression recommendation method and device and electronic equipment
CN109901726B (en) Candidate word generation method and device and candidate word generation device
CN108073294B (en) Intelligent word forming method and device for intelligent word forming
CN109426359B (en) Input method, device and machine readable medium
CN110780749B (en) Character string error correction method and device
CN112837668B (en) Voice processing method and device for processing voice
CN109917927B (en) Candidate item determination method and device
CN109725736B (en) Candidate sorting method and device and electronic equipment
CN111414766B (en) Translation method and device
CN109308126B (en) Candidate word display method and device
CN107977089B (en) Input method and device and input device
CN112214692A (en) Data processing method and device based on input method and machine readable medium
CN110716653B (en) Method and device for determining association source
CN110858100B (en) Method and device for generating association candidate words
CN112987941B (en) Method and device for generating candidate words

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