CN109976548B - Input method and input device - Google Patents

Input method and input device Download PDF

Info

Publication number
CN109976548B
CN109976548B CN201711463446.8A CN201711463446A CN109976548B CN 109976548 B CN109976548 B CN 109976548B CN 201711463446 A CN201711463446 A CN 201711463446A CN 109976548 B CN109976548 B CN 109976548B
Authority
CN
China
Prior art keywords
character
string
target character
target
attribute
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
CN201711463446.8A
Other languages
Chinese (zh)
Other versions
CN109976548A (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 CN201711463446.8A priority Critical patent/CN109976548B/en
Publication of CN109976548A publication Critical patent/CN109976548A/en
Application granted granted Critical
Publication of CN109976548B publication Critical patent/CN109976548B/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/0236Character input methods using selection techniques to select from displayed items
    • 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 discloses an input method, which can describe a target character and obtain a character string representing the description when a user does not know the accurate representation mode of the target character when the input method is adopted for input, then determines the target character according to the character string and displays the target character as a candidate item. The character string can represent the description of the target character, so that the character string and the target character correspond to the same description, the character string can represent the description, the description can represent the target character, even if a user does not know the accurate representation method of the target character when the user inputs the target character by using the input method, the input method can automatically determine the target character according to the character string, the target character is input, and user experience is improved. The embodiment of the invention also discloses an input device.

Description

Input method and input device
Technical Field
The invention relates to the technical field of internet, in particular to an input method and an input device.
Background
The input method is a coding method capable of inputting characters into equipment (such as a computer, a mobile phone and the like). When a user inputs a target character by using an input method, the user needs to know the accurate representation mode of the target character and then inputs the target character by using the coding method provided by the input method. Taking the example of Chinese pinyin input, a user needs to know the pronunciation of a target Chinese character to be input, and inputs the pinyin of the target Chinese character in a Chinese input method, and the Chinese input method can give a candidate item of the target Chinese character according to the pinyin, and screen the target Chinese character to realize the input of the target Chinese character. And then, taking english input as an example, the user needs to know how to spell the target english, directly uses an english input method, and sequentially inputs english characters according to the spelling sequence of the target english to realize the input of the target english.
However, in many practical application scenarios, the user does not know the exact representation way of the target character when inputting by the input method, for example: the pronunciation of the target chinese language is unknown, or alternatively, how english is spelled is unknown. At this time, the user cannot input the target character using the input method.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an input method and an input device, so that the target character can be input even if a user does not know the accurate representation mode when the target character is input by adopting the input method.
Therefore, the technical scheme for solving the technical problem is as follows:
in order to solve the above problem, an embodiment of the present invention provides an input method, where the method includes:
acquiring an input character string, wherein the character string is used for representing the description of a target character;
determining a target character according to the character string;
and displaying the target character as a candidate.
Optionally, determining the target character according to the character string includes:
and searching a target character corresponding to the character string from a preset attribute library, wherein the preset attribute library comprises a corresponding relation between the character string and the character, which is described by the attribute of the representation character.
Optionally, the character string includes a pinyin string, and determining the target character according to the character string includes:
determining attribute description content according to the character string;
and performing semantic analysis on the attribute description content to determine a target character.
Optionally, performing semantic analysis on the attribute description content to determine the target character includes:
performing semantic analysis on the attribute description content to obtain a character structure of a target character;
and acquiring a target character corresponding to the character structure.
Optionally, performing semantic analysis on the attribute description content to determine the target character includes:
performing semantic analysis on the attribute description content to obtain a character name of a target character;
and acquiring a target character corresponding to the character name.
Optionally, the character string includes a pinyin string, and determining the target character according to the character string includes:
determining attribute description content according to the character string;
searching for a search entry matched with the attribute description content;
and determining the target character according to the search result corresponding to the search entry.
Optionally, displaying the target character as a candidate includes:
when the target character is a Chinese character, obtaining the pinyin of the Chinese character;
the Chinese characters and the pinyin of the Chinese characters are used as a same candidate item to be displayed.
Optionally, the character string includes an english string, and determining the target character according to the character string includes:
Performing semantic analysis on the English string;
and acquiring a target character matched with the English string semantics.
In a second aspect, to solve the above problem, an embodiment of the present invention provides an input device, including:
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring an input character string which is used for representing the description of a target character;
a determination unit configured to determine a target character from the character string;
and the display unit is used for displaying the target character as a candidate.
Optionally, the determining unit is specifically configured to:
and searching a target character corresponding to the character string from a preset attribute library, wherein the preset attribute library comprises a corresponding relation between the character string and the character, which is described by the attribute of the representation character.
Optionally, the determining unit includes:
the attribute description content determining subunit is used for determining attribute description content according to the character string when the character string is a pinyin string;
and the semantic analysis subunit is used for performing semantic analysis on the attribute description content to determine the target character.
Optionally, the semantic analysis subunit includes:
the character structure acquisition subunit is used for carrying out semantic analysis on the attribute description content to acquire the character structure of the target character;
and the target character acquisition subunit is used for acquiring a target character corresponding to the character structure.
Optionally, the semantic analysis subunit includes:
the character name acquisition subunit is used for performing semantic analysis on the attribute description content to acquire the character name of the target character;
and the target character acquisition subunit is used for acquiring a target character corresponding to the character name.
Optionally, the determining unit includes:
the attribute description content determining subunit is used for determining attribute description content according to the character string when the character string is a pinyin string;
the searching subunit is used for searching for the searching entry matched with the attribute description content;
and the target character determining subunit is used for determining the target character according to the search result corresponding to the search entry.
Optionally, the display unit includes:
a pinyin obtaining subunit, configured to obtain pinyin for a Chinese character when the target character is the Chinese character;
and the display subunit is used for displaying the Chinese characters and the pinyin of the Chinese characters as a same candidate item.
Optionally, the determining unit includes:
a semantic analysis subunit, configured to perform semantic analysis on the english string when the character string is the english string;
and the target character acquisition subunit is used for acquiring a target character which is semantically matched with the English string.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by one or more processors, the one or more programs including instructions for:
Acquiring an input character string, wherein the character string is used for representing the description of a target character;
determining a target character according to the character string;
and displaying the target character as a candidate.
Optionally, determining the target character according to the character string includes:
and searching a target character corresponding to the character string from a preset attribute library, wherein the preset attribute library comprises a corresponding relation between the character string and the character, which is described by the attribute of the representation character.
Optionally, the character string includes a pinyin string, and determining the target character according to the character string includes:
determining attribute description content according to the character string;
and performing semantic analysis on the attribute description content to determine a target character.
Optionally, performing semantic analysis on the attribute description content to determine the target character includes:
performing semantic analysis on the attribute description content to obtain a character structure of a target character;
and acquiring a target character corresponding to the character structure.
Optionally, performing semantic analysis on the attribute description content to determine the target character includes:
performing semantic analysis on the attribute description content to obtain a character name of a target character;
and acquiring a target character corresponding to the character name.
Optionally, the character string includes a pinyin string, and determining the target character according to the character string includes:
Determining attribute description content according to the character string;
searching for a search term matched with the attribute description content;
and determining the target character according to the search result corresponding to the search entry.
Optionally, displaying the target character as a candidate includes:
when the target character is a Chinese character, obtaining the pinyin of the Chinese character;
the Chinese characters and the pinyin of the Chinese characters are used as a same candidate item to be displayed.
Optionally, the character string includes an english string, and determining the target character according to the character string includes:
performing semantic analysis on the English strings;
and acquiring a target character matched with the English string semantics.
In a fourth aspect, an embodiment of the invention provides a non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform an input method, the method comprising:
acquiring an input character string, wherein the character string is used for representing the description of a target character;
determining a target character according to the character string;
and displaying the target character as a candidate.
Optionally, determining the target character according to the character string includes:
and searching a target character corresponding to the character string from a preset attribute library, wherein the preset attribute library comprises a corresponding relation between the character string and the character, which is described by the attribute of the representation character.
Optionally, the character string includes a pinyin string, and determining the target character according to the character string includes:
determining attribute description content according to the character string;
and performing semantic analysis on the attribute description content to determine a target character.
Optionally, performing semantic analysis on the attribute description content to determine a target character includes:
performing semantic analysis on the attribute description content to obtain a character structure of a target character;
and acquiring a target character corresponding to the character structure.
Optionally, performing semantic analysis on the attribute description content to determine the target character includes:
performing semantic analysis on the attribute description content to obtain a character name of a target character;
and acquiring a target character corresponding to the character name.
Optionally, the character string includes a pinyin string, and determining the target character according to the character string includes:
determining attribute description content according to the character string;
searching for a search entry matched with the attribute description content;
and determining the target character according to the search result corresponding to the search entry.
Optionally, displaying the target character as a candidate includes:
when the target character is a Chinese character, obtaining the pinyin of the Chinese character;
the Chinese characters and the pinyin of the Chinese characters are used as a same candidate item to be displayed.
Optionally, the character string includes an english string, and determining the target character according to the character string includes:
Performing semantic analysis on the English string;
and acquiring a target character matched with the English string semantics.
According to the technical scheme, the invention has the following beneficial effects:
therefore, when the input method is adopted for input, when a user does not know the accurate representation mode of the target character, the target character can be described, a character string representing the description is obtained, then the target character is determined according to the character string, and the target character is used as a candidate item to be displayed. The character string can represent the description of the target character, so that the character string and the target character correspond to the same description, the character string can represent the description, and the description can represent the target character, so that even if a user does not know an accurate representation method of the target character during input by adopting an input method, the input method can automatically determine the target character according to the character string, the target character is input, and user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an input method according to an embodiment of the present invention;
fig. 2A is a schematic diagram illustrating a candidate item of a target character only being displayed in an input method according to an embodiment of the present invention;
fig. 2B is a schematic diagram illustrating that the target character candidate and the candidate corresponding to the character string are displayed in the same display area in the input method according to the embodiment of the present invention;
fig. 2C is a schematic diagram illustrating that the target character candidate and the candidate corresponding to the character string are displayed in the same display area in the input method according to the embodiment of the present invention;
fig. 2D is a schematic diagram illustrating that the candidate item of the target character and the candidate item corresponding to the character string are respectively displayed in different display areas in the input method according to the embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for performing semantic analysis on attribute description content to determine a target character according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for performing semantic analysis on attribute description content to determine a target character according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a user seeking a target character in a search engine;
FIG. 6 is a flowchart illustrating a method for determining a target character according to a character string according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating search results obtained by searching directly with pinyin strings;
fig. 8 is a flowchart illustrating a method for inputting a target character when a character string is an english string according to an embodiment of the present invention;
fig. 9 is a schematic diagram illustrating an effect of target character input when a character string is an english string according to an embodiment of the present invention;
FIG. 10 is a schematic structural diagram of an input device according to an embodiment of the present invention;
fig. 11 is a schematic diagram of a hardware structure of an input device according to an embodiment of the present invention.
Detailed Description
In many practical application scenarios, the user does not know the exact representation of the target character, for example: the pronunciation of the target Chinese is unknown, or alternatively, how English is spelled is unknown. At this time, the user cannot input the target character using the input method.
For example, for the character "Yao," the user does not know the pronunciation of the character, and when the user wants to enter the character, does not know how to use the input method to achieve the input of the character.
Aiming at the problem that a user cannot input a target character by using an input method because the pronunciation of the target Chinese is unknown, the prior art provides a character splitting input method to realize the input of the target character. The method for inputting the word separation specifically comprises the steps of splitting a target character into a plurality of sub-characters according to a character structure, inputting sub-character strings corresponding to the plurality of split sub-characters to obtain character strings, determining characters corresponding to the character strings as target characters according to the corresponding relation between the character strings and the characters in a word bank for word separation, and displaying the target characters as candidate items, so that a user can input the target characters according to the target character candidate items.
For example, for a character of "Yao", the user does not know the pronunciation of the character, according to the input method for separating characters in the prior art, firstly "Yao" is separated into three sub-characters, which are "soil", "soil" and "soil", respectively, and the sub-character strings corresponding to the three sub-characters are "tu", "tu" and "tu", respectively, and the sub-character strings corresponding to the three sub-characters are input, so that the character string "tutu" can be obtained, the target character corresponding to the character string "tutu" can be determined to be "Yao" according to the corresponding relationship between the character strings and the characters in the separation thesaurus, and "Yao" is displayed as a candidate, so that the user can input the target character "Yao" according to the candidate.
However, this method of inputting a split character is too programmed, and it is necessary to split a character and clarify the pronunciation of each split sub-character. For some characters which are difficult to split, cannot be split and have ambiguous pronunciations of split sub-characters, it is obviously difficult to adopt the character splitting input method to realize input. For example, the character "wrapping" is difficult to split according to the character structure, and thus is difficult to input by the input method of splitting characters.
In addition, the character string obtained by the above character splitting method is only a mechanical combination of the sub character strings corresponding to the split sub characters, and cannot reflect the structural information of the target character, that is, it cannot be determined whether the target character is in a left-right structure, a top-bottom structure, or a surrounding structure. Further, it is not possible to determine which sub-character is on the left and which sub-character is on the right, and it is difficult to accurately determine the target character. Therefore, when inputting a sub-character string corresponding to a plurality of split sub-characters, it is necessary to input the sub-characters in the order of spelling of the target character. For character strings including the same substring, the input order of the substrings is different, and different target characters can be determined. If the input sequence of the sub character strings is ignored, the determined target characters are not matched with the target characters input by the user, and the hit rate of the target characters is reduced. In some cases, if the split sub-characters have the same pronunciation, the determined target character does not necessarily match the character intended to be input by the user even if the split sub-characters are input in sequence.
For example, the substring "jia" and the substring "mu" may be obtained in different order, and the string "jiamu" may also be obtained. The input string "jiamu" may determine that one target character is "shelf" and the input string "mujia" may determine that another target character is "cany". When the user intends to input the character "cangue" but the input character string is "jiamu", the above-described character-separating input method determines that the target character is "frame" and cannot determine "cangue". For another example: when a user intends to input a character "back", a character string "koukou" may be input, and although a split character corresponding to "koukou" may be determined as "mouth", it is not clear by "koukou" whether "mouth" is combined according to an upper and lower structure or according to a surrounding structure. Therefore, the target character determined from the string "koukou" may be "lu", not matching the input intention of the user.
The inventor of the present invention finds that if the input character string can express semantic information, for example, a description is performed on a target character, and a character string corresponding to the description is input, the input of the target character can be realized without inputting the character string according to the structural sequence of the target character, and also by determining the target character.
Taking a cangue character as an example, a character string 'zuobianyigeuuubanyigejia' can be input, and according to the description 'one wood on the left and one plus on the right' of the character string representation ', the target character can be determined to be a cangue' instead of a frame. In this example, even if the user inputs a character string out of order, for example, the character string "you ubianyigejuiazuobianyigeemu" is input, a target character may be determined to be "flail" based on the description "one sum right and one wood left" that the character string characterizes. Because the input character string contains the structure information, the user can input the target character without strictly following the structure sequence of the target character. Or, a character string 'zuoyoujiegou, mujia' can be input, and a target character is determined to be 'flail' according to the description 'left-right structure, wooden sum' represented by the character string. The input character string contains the structural information of the target character, namely the left-right structure, and also comprises the components of the target character, namely the sum and the sum, so that the user can input the target character without strictly following the structural sequence of the target character.
Since the character string can represent the description of the target character, the description may include the composition structure of the target character, the name of the target character, the expression meaning of the target character, or the association relationship between the target character and other characters, any of which may be used to determine the target character. Therefore, by inputting the character string describing the target character, not only can the target character be input under the condition that the Chinese pronunciation is unknown, but also the target character can be input under the condition that the character structure is unknown, and the word input under the condition that how English words are spelled is unknown can be realized. The input method provided by the embodiment of the invention is not limited to Chinese, and can also be other languages such as English, Japanese and the like. For example, a description may be made of a word intended to be input by the user, an english string representing the description may be acquired, and the word intended to be input, that is, the target character, may be determined from the english string.
Taking the word "Zhao" as an example, when the user knows the structure of the word and does not know the pinyin, the user can input the character string "shangmianyigeyigekong", and according to the corresponding semantic information "one day and one month above, one empty below", the target character can be determined to be "Zhao". When the user does not know the pinyin of the character and the structural impression of the character is fuzzy, the user can also input the character by other modes, such as inputting a character string 'wuzetiendemingzi', and the character can be determined to be 'Zhao' according to the semantic information 'wu-jewen' expressed by the character string. When the user does not know how to spell a certain English word, the described character string, such as "huaobandeyingwendanci", can be input, according to the semantic information "partner's English word" of the character string, a target character can be determined as "fellow", and "fellow" is displayed on the candidate, so that it can be realized that how to input the English word because how to spell the word is not known.
In order to provide an implementation scheme for inputting a target character without knowing an accurate representation mode of the target character, the embodiment of the invention provides an input method and an input device, and the preferred embodiment of the invention is described below by combining the drawings in the specification, and it should be understood that the preferred embodiment described herein is only used for explaining and explaining the invention and is not used for limiting the invention. And the embodiments and features of the embodiments may be combined with each other without conflict.
Fig. 1 is a flowchart illustrating an input method according to an embodiment of the present invention, and referring to fig. 1, the method includes:
s101: an input character string is obtained, and the character string is used for representing the description of the target character.
The target character may be understood as a character intended to be input by the user. In the embodiment of the invention, the user does not know how to input the character by adopting the input method as the target character. The target character may be any one of a Chinese character, a symbol or a number, and the target character may also be a word in english, a character in japanese, or the like, which is not limited in the embodiment of the present invention. As an example, the user may input the Chinese character "Yao" without knowing the pronunciation of the Chinese character "Yao" and may have the Chinese character "Yao" as the target character. The user wants to perform an integral operation, but without knowing how to input the integral sign, the sign "-" may be determined as the target character. When the user wants to input the circumference ratio to perform the area or volume operation without knowing a specific value of the circumference ratio, the numeral "3.14" may also be used as the target character.
In the embodiment of the invention, when a user wants to input a target character by using an input method without knowing how to input, for example, without knowing the pronunciation of the character, the target character can be described, and then a character string representing the description is input. The character string may be input manually through a keyboard or through voice, and the input mode of the character string is not specifically limited in the embodiment of the present application.
In a possible implementation manner, the target character may be described by describing an attribute of the target character, so as to obtain a character string representing the attribute description of the target character. It should be noted that, when describing the attribute of the target character, the attribute of the target character may be described by using a natural language, so as to obtain a character string representing the attribute description of the target character by using the natural language.
The description of the target character may include, among other things, the character structure, character name, character meaning, and/or character relationship of the target character. It is understood that the target character is constrained such that any constraint description that distinguishes the target character from other characters may be used as the description of the target character. After determining how to describe the target character, a character string described by using the attribute of the target character in the natural language may be input. It should be noted that natural language can be regarded as a language with specific meaning. The description of the attributes of the target character in natural language may be considered a description with a specific meaning, rather than a simple tiling or combination of characters. For ease of understanding, this is illustrated. For the target character "Yao," sangetu "(meaning" three soils ") or" shangmianyigetuaminlian arrangement ggetu "(meaning" upper soil, lower soil ") may be used as the attribute description of the target character, while" tutu "is merely a result of mechanically combining the pinyin character strings corresponding to the characters split by the target character, and does not have a specific meaning, and thus cannot be used as the attribute description of the target character.
The above example is a string of characters that characterizes a description of a target character in terms of a pinyin string. The character string can be not only the pinyin string of Chinese characters, but also the pinyin string of symbols and the pinyin string of numbers. As an extension of the embodiment of the present invention, the character string may also be an english string. For example, for the word "family" (meaning "familiar"), how the user forgets to spell may be accomplished by entering the string "the open of great" (meaning "strange anti-sense") describing the target character. The character string may also be a combination of at least two of a pinyin string, an english string, or a symbol. For example, for a character "line", the string of characters characterizing the description may be "lianggeX", and for a character "", the string of characters characterizing the description may be "shangmianyigekou + xiamianyigedao". The above example mainly describes the target character from the aspect of composition structure, and the like, and may also describe the target character through semantics, association relationship, and the like. For example, for a character "wiggle," the character string described may be "xiangziyiyang," meaning "sub-like.
S102: and determining the target character according to the character string.
In this step, since the character string may characterize the description of the target character, the target character may be determined from the character string characterizing the description acquired in S101.
Both the string and the target character correspond to the same description, the string being capable of characterizing the description, which in turn is capable of characterizing the target character, so that from the string of the characterizing description, the target character matching the description can be determined. There are various implementations for determining the target character from the string of tokens. The target character can be determined according to at least one of the corresponding relation between the character strings described by the representation, semantic analysis or character string-based search behavior analysis.
In a possible implementation manner, an attribute library may be preset, where the preset attribute library includes a corresponding relationship between a character string representing an attribute description of a character and the character. After the character string input by the user is obtained, the target character corresponding to the character string described by the characterization attribute can be searched from a preset attribute library. The corresponding target character is searched through the corresponding relation between the character string described by the character attribute in the preset attribute library and the character, the character string input by the user can be responded quickly, and compared with other methods for determining the target character, the method has the advantages of higher query speed, shorter response time and improved user experience. The character string can be a pinyin string adopted in a Chinese input method and can also be an English string in an English input method. Of course, the character string is not limited to the pinyin string and the english string, and may be a character string used in other languages, which is not described herein again.
As an extension of the embodiment of the application, when the character string is a pinyin string described by an attribute, the pinyin string can be converted into a Chinese character string corresponding to the pinyin string, attribute description content is determined according to the Chinese character string, and semantic analysis is performed on the attribute description content to determine a target character. The semantic analysis of the attribute description content may be to perform word segmentation on a chinese character string (i.e., attribute description content) representing the attribute description, label or classify each word segmentation of the chinese character string by using a neural network model or the like, and implement the semantic analysis of the attribute description content according to a labeling or classifying result. The method for obtaining the attribute description content corresponding to the character string and performing semantic analysis on the attribute description content to determine the target character has wider application range, can be suitable for the pinyin string described by any attribute, and can determine the target character corresponding to the pinyin string in a semantic analysis mode even if the pinyin string is not in a preset attribute library, thereby realizing the input of the target character.
When the character string is a pinyin string described by the attribute, the target character can be acquired by combining data in the internet. The process of obtaining the target character may be to determine the attribute description content according to the character string, find a search term matching the attribute description content, where the search term may include a keyword, a phrase, or a sentence, etc. as the attribute description content, and determine the target character according to a search result corresponding to the search term. It can be understood that the internet includes a large amount of data, and a target character corresponding to the character string described by the characterization attribute can be determined by analyzing the large amount of data, so that the target character can be input. The process of determining the target character is based on the internet instead of a preset attribute library, so that the target character can be determined according to the search result of the internet aiming at the character string which is not in the attribute library, the application is wider, the mode of determining the target character based on the search result of the internet can be used as a supplement to the mode of determining the target character based on the attribute library, the query rate is guaranteed, and the application range is also guaranteed.
The character string can be a pinyin string described by the attribute and can also be an English string described by the attribute. When the character string is an English string, semantic analysis can be performed on the English string to obtain a target character matched with the English string semantics. The mode of carrying out semantic analysis on the English string and obtaining the target character matched with the semantic direction of the English string ensures that the input method provided by the invention can be applied to Chinese, English and the like, can also be applied to other languages including Japanese, French and the like, greatly improves the application range and the expansibility of the input method, can realize the smooth switching of the input method among different languages, and improves the user experience.
The implementation method explains the process of determining the target character according to the character string described by the characteristic attribute from a plurality of angles such as the corresponding relation between the character string described by the attribute and the character, semantic analysis, a search result based on the internet and the like. The character string can represent the attribute description of the target character by using the natural language, and the attribute description can be the description of at least one attribute in the character structure, the character name, the character meaning or the character relation of the target character, so that the target character can be determined according to the character string described by the attribute description. Moreover, the method is described by adopting natural language, is closer to a real interactive scene, and can input the character string described by the representation attribute from any angle such as a character structure, a character name, a character meaning or a character relation and the like according to the characters input by the user according to the needs of the user without inputting the character string according to the character splitting sequence, so that the input method is more intelligent.
S103: and displaying the target character as a candidate.
After the target character is determined, the target character can be displayed as a candidate. In a possible implementation manner, only the candidate of the target character may be displayed, or both the candidate of the target character and the candidate corresponding to the character string may be displayed.
When the candidate item of the target character and the candidate item corresponding to the character string are displayed, the candidate items can be displayed in the same display area. The candidate item of the target character and the order of the candidate items corresponding to the character strings can be set according to requirements. In order to reduce the interference to the candidate corresponding to the character string, the candidate of the target character can be displayed after the candidate corresponding to the character string. In some cases, the candidate of the target character may be displayed before the candidate corresponding to the character string, so as to facilitate the user to select and input.
When the candidate item of the target character and the candidate item corresponding to the character string are displayed, the candidate items can be displayed in different display areas respectively. The candidate items of the target character and the candidate items corresponding to the character string are respectively displayed in different display areas, so that the interference of the candidate items of the target character on the candidate items corresponding to the character string can be avoided, and the selection by a user is facilitated, so that the input of the target character is realized.
In the following, a description is given of displaying a target character as a candidate with reference to a specific example.
Fig. 2A shows a schematic diagram of displaying only candidates of a target character. As shown in fig. 2A, after the character string "sangetu" of the representation description is input, a target character "Yao" may be determined from the character string of the representation description, the target character "Yao" is taken as a candidate, and only the candidate is displayed.
Fig. 2B and 2C are schematic diagrams showing a display of a candidate of a target character and a candidate corresponding to a character string in the same display area. After the character string "sangetu" of the representation description is input, a target character "Yao" can be determined according to the character string of the representation description, and the target character "Yao" is used as a candidate. The candidates corresponding to the character string "sangetu" may include "three soils", "three drawings", "umbrella drawing", and "three". As shown in fig. 2B, the candidate of the target character "Yao" may be displayed after the candidate corresponding to the character string "sangetu". As shown in fig. 2C, the candidate of the target character "Yao" may be displayed before the candidate corresponding to the character string "sangetu".
Fig. 2D is a schematic diagram illustrating that the candidate of the target character and the candidate corresponding to the character string are displayed in different display areas respectively. For the character string "sangetu", the candidate of the target character may be "Yao", and the candidates corresponding to the character string may be "three soils", "three drawings", "umbrella drawing", "three", and "san ge". As shown in fig. 2D, candidates corresponding to the character string may be displayed in a candidate display region below the character input region, and candidates of the target character may be displayed in a candidate display region on the right side of the character input region.
For the convenience of subsequent input of the user, when the target character is displayed, the representation mode can be displayed together. Specifically, when the target character is a Chinese character, the pinyin of the Chinese character can be obtained, and the Chinese character and the pinyin are used as the same candidate item to be displayed. Fig. 2D is a diagram showing a display manner for a target character. As can be seen from fig. 2D, the candidate item 6 not only shows the target character "Yao", but also shows the pinyin of the target character "Yao", and the user can directly input the character by pinyin.
The specific implementation manner of the input method provided by the embodiment of the present invention can describe the target character without knowing an accurate representation manner of the target character, and by obtaining the character string representing the description input by the user, since the character string and the target character both correspond to the same description, the description can represent the description, and the description can represent the target character, the target character can be determined according to the character string, and even if the user does not know the accurate representation method of the target character when inputting by using the input method, the target character can be automatically determined according to the character string, so that the target character is input, the user requirement is met, and the user experience is improved.
In order to achieve target character input, the key is to determine a target character from a string of characterizations. The following describes a process of determining a target character from a plurality of viewpoints, such as correspondence between a character string representing attribute description of the character and the character, semantic analysis of the attribute description, and search results based on the internet.
In a possible implementation manner, an attribute library may be preset, where the preset attribute library includes a correspondence between a character string described by an attribute of a character and the character, and according to the correspondence, a target character corresponding to the character string may be searched from the preset attribute library.
In order to establish the attribute library, a character string of the attribute description of the characterization character may be obtained first, and then a correspondence between the character string of the attribute description of the characterization character and the character may be established. It can be understood that after the attribute library is established, the attribute library may be updated, and the update of the attribute library may be implemented by at least one of adding, modifying, deleting the corresponding relationship, and the like.
The character string of the attribute description of the characteristic character can be a pinyin string. The Chinese character string described by the attribute of the representation character can be obtained and converted into the corresponding pinyin string, so that the corresponding relation between the pinyin string and the character is established. There are many implementations of obtaining a string of Chinese characters that characterize an attribute description of a character.
In one possible implementation manner, a Chinese character string representing attribute description of characters may be artificially generated according to a preset rule. The preset rule may include at least one of a preset structure rule, a preset name rule, a preset meaning rule, a preset relationship rule, and the like. The preset structure rule is taken as an example to explain the preset rule. The preset structure rule can be a structure word including the structure information of the character. For example, "left … … right … …," top … …, "bottom … …," and the like.
In another possible implementation manner, phrases or sentences meeting the preset rules may be extracted based on a large amount of data analysis in the internet, and the phrases, phrases or sentences meeting the preset rules are used as attribute descriptions of characters. The preset rule is described in detail above and will not be described herein. How to obtain the Chinese character string representing the character attribute description based on the Internet is described below with reference to specific examples. Taking the preset relationship rule as an example, for example, when a phrase or sentence of "… … -like words" is extracted from the internet, and "family-like words" and "sub-like words" are extracted, the "family-like words" and "sub-like words" can be used as the chinese character string that characterizes the attribute description of the characters.
In other possible implementation manners of the embodiment of the present invention, the chinese string representing the attribute description of the character may be obtained in other manners.
Since a Chinese string represents an attribute description of a character, the corresponding character can be determined from the Chinese string. And the Chinese character string described by the attribute of the characterization character can be converted into the Pinyin string, so that the corresponding relation between the Pinyin string described by the attribute of the characterization character and the character can be established by the Chinese character string described by the attribute of the characterization character.
It can be understood that the correspondence relationship may be obtained by artificially corresponding the pinyin strings and characters described by the attributes according to preset rules. For ease of understanding, this is illustrated. According to the character structure, the pinyin string "sangutu" with the attribute describing "three soils" can be corresponding to the character "Yao" to establish the corresponding relation. According to the character relationship, the pinyin string 'xiangziyiyang' with the attribute description 'as a son' can be corresponding to the character 'wig', and the corresponding relationship is established. The attribute description "an animal is used to describe greedy of greedy" may correspond to the character "epic" in terms of character meaning. As an extension of the embodiment of the present invention, the preset rule may also be a historical event or a historical event, and the like, and the pinyin string "diyiweinhuangdi" with the attribute describing "the first emperor girl" may be corresponding to the character "Zhao".
It should be noted that the correspondence between the pinyin strings and the characters in the preset attribute library may be one-to-one, or many-to-one. The character hit rate can be improved by adopting the pinyin string described by multiple attributes to correspond to one character. In some cases, the pinyin string described by one attribute may also correspond to multiple characters, that is, the correspondence between the pinyin string and the characters may be one-to-many.
The corresponding relationship can also be determined according to the network data analysis result by analyzing the network data. Specifically, after a Chinese character string described by the attribute of the representation character is obtained, a search entry matched with the Chinese character string can be searched in the internet, characters corresponding to the Chinese character string are extracted according to a search result corresponding to the search entry, and then the corresponding relation between a pinyin string of the Chinese character string and the characters corresponding to the Chinese character string is established.
Multiple attribute descriptions can exist for the same character, and the corresponding relation can be established between the pinyin string and the character which meet the attribute description of the preset condition. In order to further improve the hit rate of the characters, the multiple attribute descriptions may be associated with the characters. The preset condition may be a search frequency condition, and the attribute description of the character whose search frequency satisfies the search frequency condition may be associated with the character, and the corresponding relationship is stored in the attribute library.
For example, for a target character "line", there are multiple attribute descriptions, such as "two X, one above the other", "refuting and removing horse", and analysis of network data shows that many people search based on the attribute description "refuting and removing horse", and a pinyin string corresponding to the attribute description can be associated with the target character "line".
The string of attribute descriptions that characterize a character may also be an english string. Firstly, an English string representing attribute description of a character is obtained, and in a possible implementation mode, the English string representing attribute description of the character is similar to the Pinyin string obtaining attribute description, for example, the English string representing attribute description of the character can be artificially generated according to a preset rule; in another possible implementation manner, based on analysis of mass data in the internet, english phrases, english sentences and/or the like which meet preset rules are extracted as english strings for representing attribute descriptions. When the attribute library is established, the corresponding relation is established between the characters and the English strings corresponding to the same attribute description content. As a specific example, an English string that characterizes attribute descriptions of characters, such as the length of the character, the meaning of the character, etc., may be generated. After the attribute library is established, the target character corresponding to the English string can be determined according to the English string.
As an example, according to the english string "the changestengishword", the attribute description content of the english string "may be determined to be the" longest english word ", and according to the attribute description content, the corresponding characters may be determined as follows:
Maisonpneumonoultramicroscopicsilicovolcanoconiosis。
based on the above process, a corresponding relationship between the english string "the longstenglshword" and the character "maison microscopical silicovirococcosis" can be established.
As another specific example of the present application, it may be determined that the attribute description content is an unknown antisense word according to the english string "the geographic offset", and it may be known that the unknown antisense word is familiar, that is, "family" according to the attribute description content, and therefore, it may be determined that the character corresponding to the attribute description content is family, and a corresponding relationship between the english string "the geographic offset" and the character "family" may be established.
The above embodiment mainly determines the target character according to the corresponding relationship between the character string and the character described by the attribute, and as an extension of the embodiment of the present invention, the attribute description content may also be determined according to the character string, and the semantic analysis may be performed on the attribute description content to determine the target character.
How to perform semantic analysis on the attribute description content and determine the target character is described in detail below with reference to the drawings.
Fig. 3 is a flowchart illustrating a method for performing semantic analysis on attribute description content to determine a target character according to an embodiment of the present invention, please refer to fig. 3, where the method includes:
s301: and performing semantic analysis on the attribute description content to obtain the character structure of the target character.
It is understood that the attribute description for the target character may include various types, such as description of character structure, description of character meaning, description of character name, and the like. Semantic analysis is carried out on the attribute description content, the type of the attribute description can be determined, and if the attribute description comprises description of the character structure of the target character, the character structure of the target character is obtained.
Wherein the character structure includes at least component information of the character. In order to determine the character more accurately and improve the hit rate of the character, the character structure may further include position information of each component in some cases. Taking "three soils" as an example, the character structure of the attribute description "three soils" includes components of the character, and taking "one soil above and two soils below" as an example, the character structure may further include a positional relationship between the components of the character.
The following description is made with reference to specific examples.
If the input character string is "zuobianyigidanlianlirenjiiayouubiyiigeemu", according to the character string, the attribute description content "one solitary person on the left plus one wood on the right" for the target character can be obtained, semantic analysis is performed on the attribute description content, and through similar expressions such as "… … on the left side … … and the right side … …" and "… … below the above … …", the attribute description can be recognized as the attribute description including the character structure, and the character structure of the target character can be obtained.
In the above example, the target character is a chinese character, and when the target character is a symbol, semantic analysis may also be performed on the attribute description to obtain the structure of the target character. If the input character string is "zimuszhongjianjianyishu", the attribute description content "letter S plus one vertical" for the target character can be obtained according to the character string, the attribute description content can be identified as the attribute description including the character structure by performing semantic analysis on the attribute description content and according to similar expressions such as "middle", "plus" or "minus", "+", "-", and the like, and the character is not a left-right structure, a top-bottom structure or a surrounding structure, can be regarded as an independent structure and consists of the letter S and one vertical.
It should be noted that the target character is not limited to a chinese character or a symbol, and may be a character in other forms, and the structure of the target character is not limited to the structure listed in the above example, and may also be in other character structural forms, which is not limited in this embodiment of the present invention.
S302: and acquiring the target character corresponding to the character structure.
Because the character structure and the components of the character are determined, the components are combined according to the character structure, and the target character corresponding to the character structure can be obtained.
For ease of understanding, the example in S301 is illustrated as follows.
The target character is of a left structure and a right structure, the components are 'single person' and 'wood', and the target character can be 'hui' by combining the target character according to the left structure and the right structure.
The target character is a separate structure, and when the components are the letters "S" and "one vertical", respectively, they are combined to obtain the target character "$", i.e. the dollar sign.
In other possible implementation manners of the embodiment of the present invention, semantic analysis may be performed on the attribute description content to obtain a character name or a character meaning, and a corresponding target character is obtained according to the character name or the character meaning. The following detailed description is made with reference to the accompanying drawings.
Fig. 4 is a flowchart illustrating a method for performing semantic analysis on attribute description content to determine a target character according to an embodiment of the present invention, please refer to fig. 4, where the method includes:
s401: and performing semantic analysis on the attribute description content to obtain the character name of the target character.
In some cases, a user may know a character name but does not know how to input the character, or know the character name but does not know a specific numerical value corresponding to the character, or a representation manner corresponding to the character, and therefore, a character string capable of representing attributes of the character name may be input, corresponding attribute descriptions are determined according to the character string, and the attribute descriptions are subjected to semantic analysis to obtain the character name of a target character.
For ease of understanding, the following is exemplified.
The user wants to calculate the area of a certain geometric figure and input the value of the circumference ratio for calculation, but forgets the value of the circumference ratio, and inputs the character string "yuanzhoulv" for this purpose, so as to obtain the attribute description "circumference ratio", and the character name "circumference ratio" of the target character can be obtained from the attribute description.
In some cases, a user wants to input a formula, but does not know the concrete expression of a physical quantity, for example, when calculating the magnetic flux, the user does not know how the magnetic flux is expressed, can input a character string "crotngliang", can obtain an attribute description as "magnetic flux" according to the character string, and can obtain the character name of a target character as "magnetic flux" from the attribute description.
S402: and acquiring the target character corresponding to the character name.
In this step, the target character corresponding to the character name obtained in S401 may be obtained according to the correspondence between the target character and the character name. In other possible implementation manners of the embodiment of the present invention, other manners may also be adopted to obtain the target character corresponding to the character name.
For ease of understanding, the example in S401 is still illustrated as follows.
When the character name is "circumference ratio", the target character corresponding to the "circumference ratio" can be determined to be the number "3.14" according to the correspondence between the circumference ratio and the specific numerical value thereof.
When the character name is magnetic flux, the representation symbol of the magnetic flux can be determined to be phi according to the corresponding relation between the physical quantity and the symbol thereof, namely, the target character phi is obtained.
In this embodiment, the target character is not limited to a number or a symbol, and may be another target character with a character name, which is not limited in the embodiment of the present invention.
The above is a specific implementation manner for performing semantic analysis on the attribute description content to obtain the character name of the target character and obtain the target character corresponding to the character name, provided by the embodiment of the present invention. Because the attribute description has various types, such as character meaning, semantic analysis can be performed on the attribute description to obtain the character meaning of the target character and obtain the target character corresponding to the character meaning. Semantic analysis is performed on the attribute description content to obtain the character meaning of the target character, and the implementation manner of obtaining the target character corresponding to the character meaning can refer to the implementation manner of obtaining the corresponding target character according to the character structure or the character name, which is not described in detail here.
It is understood that, in order to improve the hit rate, in some cases, at least one of the character structure, the character name, the character meaning, or the like may be obtained according to semantic analysis on the attribute description content, and the corresponding target character may be obtained according to at least one of the character structure, the character name, the character meaning, or the like. Taking the attribute description of "circumferential rate symbol" as an example, in some cases, a user may want to input a circumferential rate symbol, not a specific numerical value, and if the character name "circumferential rate" is merely used, it is highly likely that the numerical value "3.14" is determined as a target character, and the actual target character is "pi", which cannot satisfy the user's requirement for inputting the target character. For this reason, the target character may be determined in combination with the character name "circumference ratio" and "character meaning" of the attribute description "symbol of circumference ratio" to improve the hit ratio of the target character.
The target characters can be determined according to search behavior data in the internet besides determining the target characters according to the corresponding relation between the character strings for representing the attribute description in the attribute library and the target characters or performing semantic analysis on the attribute description contents. When the user cannot input characters because the accurate expression of the characters is unknown, help is often sought through the internet, such as search by a search engine, or a request is posted in an interactive forum or space. FIG. 5 illustrates a diagram of a user looking up in a search engine for a target character. As can be seen from fig. 5, many users implement search behaviors of "what is read by three soils", and "what is read by three soils", based on which, when a user intends to input a target character, the user can search for a matched search term according to the attribute description content, and determine the target character according to a search result corresponding to the search term.
A method for obtaining a target character according to a search result of the internet will be described with reference to the accompanying drawings.
Fig. 6 is a flowchart of a method for determining a target character according to a character string according to an embodiment of the present invention, where the character string is a pinyin string described by an attribute, please refer to fig. 6, and the method includes:
s601: and determining attribute description content according to the character string.
Because the character string is the pinyin string described by the attribute, the pinyin string is grouped, each group of pinyin can be converted into Chinese characters, and the attribute description can be obtained by combining the converted Chinese characters. For example, grouping is performed on a pinyin string "shangmianyigetutanlian, so that a following pinyin string group" shang ' mian ' yi ' ge ' tu ' xia ' mian ' liang ' ge ' tu "can be obtained, the converted Chinese characters are combined into" two soils below the upper soil ", and the combination can be used as an attribute description of the pinyin string" shangmianyigetuimianlianggetu ".
S602: and searching for a search entry matched with the attribute description content.
After obtaining the attribute description, a search term matching the attribute description may be found. The search term matching the attribute description may be a phrase, sentence, or the like having the same keyword as the attribute description and used for searching. The keywords may be understood as words helpful for determining the target characters, and may include structural words, quantitative words, words composed of tokens, proper nouns, and the like. The search term matched with the attribute description has the same keyword as the attribute description, and it can be understood that the keyword included in the search term corresponds to the keyword included in the attribute description one to one, and if the search term has redundant keywords or lacks keywords, the search term is not considered as the matched search term.
The matched search term is illustrated by taking fig. 5 as an example, and the attribute describes "three soils", including the keywords "three" and "soil", the searching terms "what three local characters are", "three local what is read", "three local five strokes are doing", "three local what is what", three local what is doing "," three local what is doing ", and" what is read "in the three local what word" do not help to determine the characters, do not belong to the keywords, the keywords included in the above-mentioned search terms, which are the same as the keywords included in the attribute descriptions, can be regarded as search terms matching the attribute descriptions, and the keywords of 'one pi under three soils', 'three soil plus pi' and 'three clay people' also comprise 'one under', 'one', 'pi' and 'people', so that the keywords cannot be used as search terms matched with the attribute description.
The search terms matched with the attribute description contents can be searched in various implementation modes, the attribute description contents can be input into an input box of a search engine, a pull-down box of the input box can present recommended search terms, and the search terms matched with the attribute description can be obtained according to keywords included in the recommended search terms. Search terms matching the attribute description can also be searched on question and answer websites, such as known websites, hundredth-known websites and the like. The embodiment of the present invention is not limited thereto.
For ease of understanding, the following description refers, by way of example, to finding search terms for which attribute descriptions match.
For the attribute description content "one soil above and two soil below", the attribute description content is input into a search input box of a search engine, search terms such as "what two soil below the upper graph are read", "what two soil below the upper soil are words" appear in a drop-down box, and one of the search terms can be used as a search term matched with the attribute description so as to search. It is understood that the number of search terms matching the attribute description may be one or more. When the number of the matched search terms is plural, in order to improve the hit rate of the target character, the terms with a large number of search times may be searched as the matched search terms.
In some cases, the recommended search term does not appear in the drop-down box of the search box, and the attribute description in the input box can be directly used as the search term matched with the attribute description for searching. For example, for an attribute description, "one solitary on the left, one wood on the right," can be searched directly as a search term matching the attribute description.
S603: and determining target characters according to the search results corresponding to the search entries.
After the search term matching the attribute description is obtained in S602, the search term is used to perform a search, so as to obtain at least one search result, and according to the search result, the target character corresponding to the attribute description may be obtained. In a possible implementation manner, an encyclopedic page of the search term may be used as a search result corresponding to the search term, or a page with the maximum number of hits or opens in the search behavior based on the search term may be used as a search result corresponding to the search term, or a page with the number of hits or opens greater than or equal to a preset threshold in the search behavior based on the search term may be used as a search result corresponding to the search term. The search result comprises target characters and characters irrelevant to the target characters, and the target characters can be extracted by performing semantic analysis on the search result.
For ease of understanding, this is illustrated.
For the search behavior of the attribute description "two soils above and below", a plurality of search results can be obtained, an encyclopedic page can be used as a search result corresponding to a search entry, and the encyclopedic page is opened, wherein the encyclopedic page comprises more characters, such as "Yao (yao), and ancient times are similar to" yao ". For the characters included in the gay … … ", semantic analysis can be performed on the encyclopedic page, and the object character corresponding to the attribute description" two soils above and below "is extracted as" Yao ", the pronunciation is yao, and the ancient meaning and yao are the same.
In the embodiment, the pinyin string representing the attribute description is converted into the attribute description content, the search term matched with the attribute description content is obtained according to the attribute description content, and the target character is determined according to the search result of the search term. In some possible implementation manners, the pinyin string described by the representation attribute can also be directly searched to obtain a search result, and then the target character is determined.
Taking the pinyin string 'sangetu' described by the representation attribute as an example, sangetu is input in an input box of a search engine for searching, the search engine can automatically identify sangetu as three soils according to search history data and the like, search results corresponding to the three soils are displayed, and the target character 'Yao' can be obtained according to the search results. FIG. 7 is a diagram illustrating search results from a search directly in the Pinyin string. In this example, a search may still be conducted with sangetu as the search term.
The above is a specific implementation manner of the method for determining the target character based on the search behavior of the internet according to the embodiment of the present invention. The method has the advantages that the attribute description corresponding to the character string is obtained, the search entry matched with the attribute description is searched from the Internet, the target character is obtained according to the search result corresponding to the search entry, and due to the fact that a large amount of data exist in the Internet, the method can identify more characters, is wide in application range and can be used as a supplement of a method for determining the characters based on an attribute library.
The above embodiment mainly introduces the input method provided by the embodiment of the present invention from the perspective of how to input a target character when a character string is a pinyin string described by an attribute. In some possible implementations, the character string may also be an english string described by an attribute, and how to input the target character when the character string is an english string is described below with reference to the drawings.
Fig. 8 is a flowchart illustrating a method for inputting a target character when an english string described by an attribute is a character string according to an embodiment of the present invention. Referring to fig. 8, the method includes:
and S801, performing semantic analysis on the English strings.
The English string is semantically analyzed, namely, the meaning expressed by the English string is analyzed. Since the english string can represent the attribute description of the target character, it can be determined, through the semantic analysis result, what type of attribute description the above attribute description is, for example, a description of spelling for the target character, a description of pronunciation, or a description of expression meaning, and so on.
In this step, there may be various ways to perform semantic analysis on the english string. In one possible implementation, the english string may be semantically analyzed based on a neural network model. Before semantic analysis is carried out on the English strings, word segmentation can be carried out on the English strings so as to better carry out semantic analysis.
This step is explained below with reference to specific examples.
The English string describing the target character attribute is "the english of," before semantic analysis is performed on the English string, the English string may be first participled, and the result of the participle is as follows, "the/open/of/string," and semantic analysis is performed based on the result of the participle. The semantic analysis process can be that the word segmentation result is input into the neural network model, the expression meaning of the input word segmentation result can be predicted through deep learning of the neural network model, and the prediction result can be used as the semantic analysis result of the English string. In this example, the semantic analysis result may be "strange antisense word", which may be understood as a description of the expression meaning for the target character.
S802: and acquiring a target character matched with the English string semantics.
After semantic analysis is performed on the English string to obtain a semantic analysis result, a target character semantically matched with the English string can be obtained. There are various ways to obtain the target character that matches the english string semantics. In a possible implementation manner, the search terms matched with the semantic analysis result can be queried in the internet, and the search result corresponding to the search terms is obtained, so that the target character is obtained. As an extension of the embodiment of the present invention, the target character corresponding to the english string may be searched in the attribute library according to a correspondence relationship between the english string and the target character that is pre-established in the attribute library.
The following describes a process of obtaining a target character that is semantically matched with an english string, with reference to a specific example.
After the semantic analysis result "strange antisense word" is obtained, it can be determined that the target character can be represented as a strange antisense word, that is, the meaning that the target character represents is familiar, and accordingly, the target character can be determined as "family". The process of obtaining the family may also be to search for a target character corresponding to the english string from a preset attribute library. The attribute library may be pre-established and may include a correspondence between an english string and a character described by the attribute. In this example, the attribute library may include a correspondence between the english string "the oppositeofstride" and the character "family", and the target character "family" may be determined according to the correspondence.
Fig. 9 can be referred to for an effect diagram of the input method provided by the embodiment of the present invention. Fig. 9 is a schematic diagram illustrating the effect of inputting a target character when an english string is described by a character string as an attribute. As shown in fig. 9, after the english string "is input, semantic analysis may be performed on the english string to obtain a target character" family "that is semantically matched with the english string, and the target character" family "is displayed as a candidate, so that the user may select the candidate to implement input of the target character" family ".
The above is a specific implementation manner for determining the target character according to the character string described by the representation attribute when the character string is an english string provided by the embodiment of the present invention. When a user intends to input an English word but does not know the specific spelling mode of the English word, the property description of the English word can be carried out by using a natural language, and an English string representing the property description is obtained. By performing semantic analysis on the English string, according to a semantic analysis result, English words, namely target characters, matched with the English string semantics can be acquired, and the target characters are displayed as candidate items, so that a user can directly select the candidate items to realize the input of the target characters without extra searching and other operations, and the user experience is improved.
Based on the specific implementation manner of the input method provided by the embodiment of the present invention, an input device is further provided in the embodiment of the present invention, and the input device provided by the embodiment of the present invention is described below from the perspective of functional modularization.
Fig. 10 is a schematic structural diagram of an input device according to an embodiment of the present invention, and referring to fig. 10, the input device includes:
an obtaining unit 1001 configured to obtain an input character string, where the character string is used to represent a description of a target character;
a determining unit 1002 configured to determine a target character from the character string;
a display unit 1003, configured to display the target character as a candidate.
Optionally, the determining unit 1002 is specifically configured to:
and searching a target character corresponding to the character string from a preset attribute library, wherein the preset attribute library comprises a corresponding relation between the character string and the character, which is described by the attribute of the representation character.
Optionally, the determining unit 1002 includes:
the attribute description content determining subunit is used for determining attribute description content according to the character string when the character string is a pinyin string;
and the semantic analysis subunit is used for performing semantic analysis on the attribute description content to determine a target character.
Optionally, the semantic analysis subunit includes:
the character structure acquisition subunit is used for carrying out semantic analysis on the attribute description content to acquire the character structure of the target character;
and the target character acquisition subunit is used for acquiring a target character corresponding to the character structure.
Optionally, the semantic analysis subunit includes:
the character name acquisition subunit is used for performing semantic analysis on the attribute description content to acquire the character name of the target character;
and the target character acquisition subunit is used for acquiring a target character corresponding to the character name.
Optionally, the determining unit 1002 includes:
the attribute description content determining subunit is used for determining attribute description content according to the character string when the character string is a pinyin string;
the searching subunit is used for searching the searching entries matched with the attribute description contents;
and the target character determining subunit is used for determining the target character according to the search result corresponding to the search entry.
Optionally, the display unit 1003 includes:
a pinyin obtaining subunit, configured to obtain pinyin for a Chinese character when the target character is the Chinese character;
and the display subunit is used for displaying the Chinese characters and the pinyin of the Chinese characters as a same candidate item.
Optionally, the determining unit 1002 includes:
a semantic analysis subunit, configured to perform semantic analysis on the english string when the character string is the english string;
and the target character acquisition subunit is used for acquiring a target character which is semantically matched with the English string.
The apparatus shown in fig. 10 is an apparatus corresponding to the method shown in fig. 1, and the specific implementation manner is similar to the method shown in fig. 1, and reference is made to the description in the method shown in fig. 1, which is not repeated here.
By means of the input device provided by the embodiment of the invention, when the input method is adopted for input, when a user does not know the accurate representation mode of the target character, the target character can be described, the character string representing the description is obtained, then the target character is determined according to the character string, and the target character is used as a candidate item to be displayed. The character string can represent the description of the target character, so that the character string and the target character correspond to the same description, the character string can represent the description, and the description can represent the target character, so that even if a user does not know an accurate representation method of the target character during input by adopting an input method, the input method can automatically determine the target character according to the character string, the target character is input, and user experience is improved.
The input device provided by the embodiment of the invention is introduced from the perspective of functional modularization, and the input device provided by the embodiment of the invention is explained from the perspective of hardware.
Fig. 11 is a schematic diagram illustrating a hardware structure of an input device according to an embodiment of the present invention, referring to fig. 11, an input device 1100 may include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, and communications component 1116.
The processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1102 may include one or more modules that facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
The memory 1104 is configured to store various types of data to support operation at the device 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1104 may be implemented by any type or combination of volatile or non-volatile storage 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 1106 provides power to the various components of the device 1100. The power components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1100.
The multimedia component 1108 includes a screen that provides an output interface between the device 1100 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 confirm the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 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 1100 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 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1100 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1104 or transmitted via the communication component 1116. In some embodiments, the audio assembly 1110 further includes a speaker for outputting audio signals.
The I/O interface 1112 provides an interface between the processing component 1102 and peripheral interface modules, which can 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 1114 includes one or more sensors for providing various aspects of state assessment for the apparatus 1100. For example, the sensor assembly 1114 may identify the open/closed status of the device 1100, the relative positioning of the components, such as a display and keypad of the apparatus 1100, the sensor assembly 1114 may also identify a change in position of the apparatus 1100 or a component of the apparatus 1100, the presence or absence of user contact with the apparatus 1100, orientation or acceleration/deceleration of the apparatus 1100, and a change in temperature of the apparatus 1100. The sensor assembly 1114 may include a proximity sensor configured to confirm the presence of a nearby object without any physical contact. The sensor assembly 1114 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 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1116 is configured to facilitate wired or wireless communication between the apparatus 1100 and other devices. The apparatus 1100 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication section 1116 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1116 also 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 1100 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.
Specifically, an embodiment of the present invention provides an electronic device, which may be embodied as an apparatus 1100, including a memory 1104, and one or more programs, where the one or more programs are stored in the memory 1104, and the one or more programs are configured to be executed by the one or more processors 1120 and include instructions for:
Acquiring an input character string, wherein the character string is used for representing the description of a target character;
determining a target character according to the character string;
and displaying the target character as a candidate.
Optionally, determining the target character according to the character string includes:
and searching a target character corresponding to the character string from a preset attribute library, wherein the preset attribute library comprises a corresponding relation between the character string and the character, which is described by the attribute of the representation character.
Optionally, the character string is a pinyin string described by the attribute, and determining the target character according to the character string includes:
determining attribute description content according to the character string;
and performing semantic analysis on the attribute description content to determine a target character.
Optionally, performing semantic analysis on the attribute description content to determine the target character includes:
performing semantic analysis on the attribute description content to obtain a character structure of a target character;
and acquiring a target character corresponding to the character structure.
Optionally, performing semantic analysis on the attribute description content to determine the target character includes:
performing semantic analysis on the attribute description content to obtain a character name of a target character;
and acquiring a target character corresponding to the character name.
Optionally, the character string is a pinyin string described by the attribute, and determining the target character according to the character string includes:
Determining attribute description content according to the character string;
searching for a search term matched with the attribute description content;
and determining the target character according to the search result corresponding to the search entry.
Optionally, displaying the target character as a candidate includes:
when the target character is a Chinese character, obtaining the pinyin of the Chinese character;
the Chinese characters and the pinyin of the Chinese characters are used as the same candidate item to be displayed.
Optionally, the character string includes an english string, and determining the target character according to the character string includes:
performing semantic analysis on the English strings;
and acquiring a target character matched with the English string semantics.
Embodiments of the present invention also provide a non-transitory computer-readable storage medium, such as the memory 1104 including instructions executable by the processor 1120 of the device 1100 to perform the method described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform an input method, the method comprising:
Acquiring an input character string, wherein the character string is used for representing the description of a target character;
determining a target character according to the character string;
and displaying the target character as a candidate.
Optionally, determining the target character according to the character string includes:
and searching a target character corresponding to the character string from a preset attribute library, wherein the preset attribute library comprises a corresponding relation between the character string and the character, which is described by the attribute of the representation character.
Optionally, the character string includes a pinyin string, and determining the target character according to the character string includes:
determining attribute description content according to the character string;
and performing semantic analysis on the attribute description content to determine a target character.
Optionally, performing semantic analysis on the attribute description content to determine the target character includes:
performing semantic analysis on the attribute description content to obtain a character structure of a target character;
and acquiring a target character corresponding to the character structure.
Optionally, performing semantic analysis on the attribute description content to determine the target character includes:
performing semantic analysis on the attribute description content to obtain a character name of a target character;
and acquiring a target character corresponding to the character name.
Optionally, the character string includes a pinyin string, and determining the target character according to the character string includes:
Determining attribute description content according to the character string;
searching for a search entry matched with the attribute description content;
and determining the target character according to the search result corresponding to the search entry.
Optionally, displaying the target character as a candidate includes:
when the target character is a Chinese character, obtaining the pinyin of the Chinese character;
the Chinese characters and the pinyin of the Chinese characters are used as a same candidate item to be displayed.
Optionally, the character string includes an english string, and determining the target character according to the character string includes:
performing semantic analysis on the English string;
and acquiring a target character matched with the English string semantics.
It should be noted that, in this specification, each embodiment is described in a progressive manner, and the same and similar parts between the embodiments are referred to each other, and each embodiment focuses on differences from other embodiments. In particular, the apparatus and system embodiments, because they are substantially similar to the method embodiments, are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only one embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (30)

1. An input method, characterized in that the method comprises:
acquiring an input character string, wherein the character string is used for representing description of a target character, the description is attribute description of the target character, the attribute description is extracted phrases, phrases or sentences which accord with preset rules, and the preset rules comprise at least one of preset structure rules, preset name rules, preset meaning rules and preset relation rules;
determining the target character according to the character string, wherein the determining the target character according to the character string comprises: determining attribute description content according to the character string, and performing semantic analysis on the attribute description content to determine the target character;
and displaying the target character as a candidate.
2. The method of claim 1, wherein the determining the target character from the character string comprises:
and searching a target character corresponding to the character string from a preset attribute library, wherein the preset attribute library comprises a corresponding relation between the character string and the character, which represents the attribute description of the character.
3. The method of claim 1, wherein the character string comprises a pinyin string.
4. The method of claim 1, wherein the semantically analyzing the attribute description to determine the target character comprises:
performing semantic analysis on the attribute description content to obtain a character structure of the target character;
and acquiring the target character corresponding to the character structure.
5. The method of claim 1, wherein the semantically analyzing the attribute description to determine the target character comprises:
performing semantic analysis on the attribute description content to obtain a character name of the target character;
and acquiring the target character corresponding to the character name.
6. The method of claim 1, wherein the character string comprises a pinyin string, and wherein determining the target character from the character string comprises:
Determining attribute description content according to the character string;
searching for a search entry matched with the attribute description content;
and determining the target character according to the search result corresponding to the search entry.
7. The method of any one of claims 1-6, wherein displaying the target character as a candidate comprises:
when the target character is a Chinese character, obtaining the pinyin of the Chinese character;
and displaying the Chinese character and the pinyin of the Chinese character as the same candidate item.
8. The method of claim 1, wherein the string comprises an english string, and wherein determining the target character from the string comprises:
performing semantic analysis on the English string;
and acquiring the target character matched with the English string semantics.
9. An input device, the device comprising:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring an input character string, the character string is used for representing description of a target character, the description is attribute description of the target character, the attribute description is extracted phrases, phrases or sentences which accord with preset rules, and the preset rules comprise at least one of preset structure rules, preset name rules, preset meaning rules and preset relation rules;
A determining unit, configured to determine the target character according to the character string;
the display unit is used for displaying the target character as a candidate item;
the determination unit includes:
the attribute description content determining subunit is used for determining attribute description content according to the character string when the character string is a pinyin string;
and the semantic analysis subunit is used for performing semantic analysis on the attribute description content to determine the target character.
10. The apparatus according to claim 9, wherein the determining unit is specifically configured to:
and searching a target character corresponding to the character string from a preset attribute library, wherein the preset attribute library comprises a corresponding relation between the character string and the character, which is described by the attribute of the representation character.
11. The apparatus of claim 9, wherein the semantic analysis subunit comprises:
the character structure acquisition subunit is used for carrying out semantic analysis on the attribute description content to acquire the character structure of the target character;
and the target character acquisition subunit is used for acquiring a target character corresponding to the character structure.
12. The apparatus of claim 9, wherein the semantic analysis subunit comprises:
the character name acquisition subunit is used for performing semantic analysis on the attribute description content to acquire the character name of the target character;
And the target character acquisition subunit is used for acquiring a target character corresponding to the character name.
13. The apparatus of claim 9, wherein the determining unit comprises:
the attribute description content determining subunit is used for determining attribute description content according to the character string when the character string is a pinyin string;
the searching subunit is used for searching for the searching entry matched with the attribute description content;
and the target character determining subunit is used for determining the target character according to the search result corresponding to the search entry.
14. The apparatus of any one of claims 9-13, wherein the display unit comprises:
a pinyin obtaining subunit, configured to obtain pinyin for a Chinese character when the target character is the Chinese character;
and the display subunit is used for displaying the Chinese characters and the pinyin of the Chinese characters as a same candidate item.
15. The apparatus of claim 9, wherein the determining unit comprises:
a semantic analysis subunit, configured to perform semantic analysis on the english string when the character string is the english string;
and the target character acquisition subunit is used for acquiring a target character which is semantically matched with the English string.
16. An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs including instructions for:
Acquiring an input character string, wherein the character string is used for representing description of a target character, the description is attribute description of the target character, the attribute description is extracted phrases, phrases or sentences which accord with preset rules, and the preset rules comprise at least one of preset structure rules, preset name rules, preset meaning rules and preset relation rules;
determining the target character according to the character string, wherein the determining the target character according to the character string comprises: determining attribute description content according to the character string, and performing semantic analysis on the attribute description content to determine the target character;
and displaying the target character as a candidate.
17. The electronic device of claim 16, wherein determining a target character from a string of characters comprises:
and searching a target character corresponding to the character string from a preset attribute library, wherein the preset attribute library comprises a corresponding relation between the character string and the character, which is described by the attribute of the representation character.
18. The electronic device of claim 16, wherein the character string comprises a pinyin string.
19. The electronic device of claim 16, wherein semantically analyzing the attribute description to determine the target character comprises:
Performing semantic analysis on the attribute description content to obtain a character structure of a target character;
and acquiring a target character corresponding to the character structure.
20. The electronic device of claim 16, wherein semantically analyzing the attribute description to determine the target character comprises:
performing semantic analysis on the attribute description content to obtain a character name of a target character;
and acquiring a target character corresponding to the character name.
21. The electronic device of claim 16, wherein the character string comprises a pinyin string, and wherein determining the target character from the character string comprises:
determining attribute description content according to the character string;
searching for a search entry matched with the attribute description content;
and determining the target character according to the search result corresponding to the search entry.
22. The electronic device of any of claims 16-21, wherein displaying the target character as a candidate comprises:
when the target character is a Chinese character, obtaining the pinyin of the Chinese character;
the Chinese characters and the pinyin of the Chinese characters are used as a same candidate item to be displayed.
23. The electronic device of claim 16, wherein the string of characters comprises an english string, wherein determining the target character from the string of characters comprises:
Performing semantic analysis on the English string;
and acquiring a target character matched with the English string semantics.
24. A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of an electronic device, enable the electronic device to perform a method of keyboard operations, the method comprising:
acquiring an input character string, wherein the character string is used for representing description of a target character, the description is attribute description of the target character, the attribute description is extracted phrases, phrases or sentences which accord with a preset rule, and the preset rule comprises at least one of a preset structure rule, a preset name rule, a preset meaning rule and a preset relation rule;
determining the target character according to the character string, wherein the determining the target character according to the character string comprises: determining attribute description content according to the character string, and performing semantic analysis on the attribute description content to determine the target character;
and displaying the target character as a candidate.
25. The storage medium of claim 24, wherein determining the target character from the string comprises:
And searching a target character corresponding to the character string from a preset attribute library, wherein the preset attribute library comprises a corresponding relation between the character string and the character, which represents the attribute description of the character.
26. The storage medium of claim 24, wherein semantically analyzing the attribute description to determine the target character comprises:
performing semantic analysis on the attribute description content to obtain a character structure of a target character;
and acquiring a target character corresponding to the character structure.
27. The storage medium of claim 24, wherein semantically analyzing the attribute description to determine the target character comprises:
performing semantic analysis on the attribute description content to obtain a character name of a target character;
and acquiring a target character corresponding to the character name.
28. The storage medium of claim 24, wherein the character string comprises a pinyin string, and wherein determining the target character based on the character string comprises:
determining attribute description content according to the character string;
searching for a search entry matched with the attribute description content;
and determining the target character according to the search result corresponding to the search entry.
29. The storage medium of any one of claims 24-28, wherein displaying the target character as a candidate comprises:
When the target character is a Chinese character, obtaining the pinyin of the Chinese character;
the Chinese characters and the pinyin of the Chinese characters are used as the same candidate item to be displayed.
30. The storage medium of claim 24, wherein the character string comprises an english string, and wherein determining the target character from the character string comprises:
performing semantic analysis on the English strings;
and acquiring a target character matched with the English string semantics.
CN201711463446.8A 2017-12-28 2017-12-28 Input method and input device Active CN109976548B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711463446.8A CN109976548B (en) 2017-12-28 2017-12-28 Input method and input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711463446.8A CN109976548B (en) 2017-12-28 2017-12-28 Input method and input device

Publications (2)

Publication Number Publication Date
CN109976548A CN109976548A (en) 2019-07-05
CN109976548B true CN109976548B (en) 2022-07-19

Family

ID=67075109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711463446.8A Active CN109976548B (en) 2017-12-28 2017-12-28 Input method and input device

Country Status (1)

Country Link
CN (1) CN109976548B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111753175A (en) * 2020-06-28 2020-10-09 恩亿科(北京)数据科技有限公司 Entry display method, entry display device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949148A (en) * 2006-07-25 2007-04-18 网之易信息技术(北京)有限公司 Chinese characters inputting method and device
CN101702100A (en) * 2009-10-28 2010-05-05 卓望数码技术(深圳)有限公司 Word input method and word input device
CN103076892A (en) * 2012-12-31 2013-05-01 百度在线网络技术(北京)有限公司 Method and equipment for providing input candidate items corresponding to input character string
WO2014000263A1 (en) * 2012-06-29 2014-01-03 Microsoft Corporation Semantic lexicon-based input method editor
CN107315487A (en) * 2016-04-27 2017-11-03 北京搜狗科技发展有限公司 A kind of input processing method, device and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727193A (en) * 2008-10-28 2010-06-09 英业达股份有限公司 System for inputting Cantonese characters by combining Chinese characters and method thereof
CN101615084A (en) * 2009-08-11 2009-12-30 腾讯科技(深圳)有限公司 Chinese character input method and device
CN104166462B (en) * 2013-05-17 2017-07-21 北京搜狗科技发展有限公司 The input method and system of a kind of word
CN107247519B (en) * 2017-08-16 2020-09-29 北京搜狗科技发展有限公司 Input method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949148A (en) * 2006-07-25 2007-04-18 网之易信息技术(北京)有限公司 Chinese characters inputting method and device
CN101702100A (en) * 2009-10-28 2010-05-05 卓望数码技术(深圳)有限公司 Word input method and word input device
WO2014000263A1 (en) * 2012-06-29 2014-01-03 Microsoft Corporation Semantic lexicon-based input method editor
CN103076892A (en) * 2012-12-31 2013-05-01 百度在线网络技术(北京)有限公司 Method and equipment for providing input candidate items corresponding to input character string
CN107315487A (en) * 2016-04-27 2017-11-03 北京搜狗科技发展有限公司 A kind of input processing method, device and electronic equipment

Also Published As

Publication number Publication date
CN109976548A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN107436691B (en) Method, client, server and device for correcting errors of input method
US20170154104A1 (en) Real-time recommendation of reference documents
CN110008401B (en) Keyword extraction method, keyword extraction device, and computer-readable storage medium
WO2018076450A1 (en) Input method and apparatus, and apparatus for input
CN110019675B (en) Keyword extraction method and device
WO2020177592A1 (en) Painting question answering method and device, painting question answering system, and readable storage medium
CN107564526B (en) Processing method, apparatus and machine-readable medium
CN110069624B (en) Text processing method and device
CN111368541A (en) Named entity identification method and device
CN116166843B (en) Text video cross-modal retrieval method and device based on fine granularity perception
CN114328838A (en) Event extraction method and device, electronic equipment and readable storage medium
CN111538830B (en) French searching method, device, computer equipment and storage medium
CN107424612B (en) Processing method, apparatus and machine-readable medium
CN107422872B (en) Input method, input device and input device
CN114880480A (en) Question-answering method and device based on knowledge graph
CN109977390B (en) Method and device for generating text
CN108073293B (en) Method and device for determining target phrase
CN109976548B (en) Input method and input device
CN113033163A (en) Data processing method and device and electronic equipment
CN112149403A (en) Method and device for determining confidential text
CN111597325B (en) Text query method and device
KR102327790B1 (en) Information processing methods, devices and storage media
CN109426359B (en) Input method, device and machine readable medium
CN113589949A (en) Input method and device and electronic equipment
CN111222316A (en) Text detection method, device and storage medium

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