CN113515199A - Text display method and device, electronic equipment and storage medium - Google Patents

Text display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113515199A
CN113515199A CN202110407700.2A CN202110407700A CN113515199A CN 113515199 A CN113515199 A CN 113515199A CN 202110407700 A CN202110407700 A CN 202110407700A CN 113515199 A CN113515199 A CN 113515199A
Authority
CN
China
Prior art keywords
candidate text
character
character string
candidate
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110407700.2A
Other languages
Chinese (zh)
Other versions
CN113515199B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110407700.2A priority Critical patent/CN113515199B/en
Priority claimed from CN202110407700.2A external-priority patent/CN113515199B/en
Publication of CN113515199A publication Critical patent/CN113515199A/en
Application granted granted Critical
Publication of CN113515199B publication Critical patent/CN113515199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a text display method, a text display device, electronic equipment and a storage medium, wherein the text display method comprises the following steps: under the condition that a first character string input by a user on an input method interface is received, sending a first query request comprising the first character string to a server; receiving at least one candidate text sent by a server according to a first query request, wherein the at least one candidate text comprises at least one first candidate text matched with a second character string, the second character string comprises a character string formed by adding target characters behind the first character string, the target characters are characters determined by the server according to the first character string, the number of the target characters is N, and N is a positive integer; receiving a first character input by a user after the first character string; and in the case that the first character is matched with a first target character in the N target characters, displaying a candidate text corresponding to the first target character in at least one first candidate text on the input method interface.

Description

Text display method and device, electronic equipment and storage medium
Technical Field
The application belongs to the field of electronic equipment, and particularly relates to a text display method and device, electronic equipment and a storage medium.
Background
With the rapid increase of market share of touch screen electronic devices, input methods have also been developed rapidly. The user can quickly perform input by operating the virtual keyboard on the touch screen with a finger using the input method, and therefore, the importance of the input method to the electronic device of the touch screen is self-evident.
When a user inputs a character string on the input method interface, the electronic equipment and the server can output words, and the word output results of the electronic equipment and the server are combined and finally displayed on the input method interface. Because the server has no limitations of memory and computing power, the word output result of the server is superior to that of the electronic equipment.
Due to the limitation of network transmission delay, when a user inputs a character string, the server may not transmit the word output result to the electronic device, and at this time, the electronic device can only display the local word output result and cannot display the word output result of the server. This results in poor quality text displayed on the input method interface.
Disclosure of Invention
An embodiment of the present application provides a text display method, a text display apparatus, an electronic device, and a storage medium, which can solve the problem that the quality of a text displayed on an input method interface is not good.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a text display method, including:
under the condition that a first character string input by a user on an input method interface is received, sending a first query request comprising the first character string to a server;
receiving at least one candidate text sent by the server according to the first query request, wherein the at least one candidate text comprises at least one first candidate text matched with a second character string, the second character string comprises a character string formed by adding a target character after the first character string, the target character is a character determined by the server according to the first character string, the number of the target characters is N, and N is a positive integer;
receiving a first character input by a user after the first character string;
and displaying a candidate text corresponding to the first target character in the at least one first candidate text on the input method interface under the condition that the first character is matched with the first target character in the N target characters.
In a second aspect, an embodiment of the present application provides a text display apparatus, including:
the first sending module is used for sending a first query request comprising a first character string to a server under the condition that the first character string is input on an input method interface by a user is received;
a first receiving module, configured to receive at least one candidate text sent by the server according to the first query request, where the at least one candidate text includes at least one first candidate text matched with a second character string, the second character string includes a character string formed by adding a target character after the first character string, the target character is a character determined by the server according to the first character string, the number of the target characters is N, and N is a positive integer;
the second receiving module is used for receiving a first character input by a user after the first character string;
and the first display module is used for displaying a candidate text corresponding to a first target character in the at least one first candidate text on the input method interface under the condition that the first character is matched with the first target character in the N target characters.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, in the case of receiving that a user inputs a first character string on an input method interface, sending a first query request comprising the first character string to a server, so that the server determines a target character which is possibly input by the user after the first character string, wherein the first character string and the target character form a second character string, and querying at least one first candidate text matched with the second character string. Then, the first candidate text sent by the server is received. And in the case that the first character input by the user after the first character string is received and the first character is matched with a first target character in the N target characters, displaying a candidate text corresponding to the first target character in the at least one first candidate text on the input method interface. Since the candidate text corresponding to the first target character is acquired from the server in advance before the user inputs the first character, a request is sent to the server to inquire the matched candidate text instead of after the user inputs the first character. Therefore, the embodiment of the application is not limited by network transmission delay, the word output result of the server can be displayed on the input method interface in time, and the quality of the text displayed on the input method interface is improved.
Drawings
FIG. 1 is a schematic illustration of an input method interface in the related art;
FIG. 2 is a schematic diagram of another input method interface in the related art;
FIG. 3 is a schematic structural diagram of a system for implementing a text display method provided by the present application;
FIG. 4 is a schematic flow chart diagram illustrating one embodiment of a text display method provided herein;
FIG. 5 is a schematic diagram illustrating one embodiment of an input method interface provided herein;
FIG. 6 is a schematic flow chart diagram illustrating another embodiment of a text display method provided herein;
FIG. 7 is a flowchart illustrating one embodiment of an electronic device querying candidate text provided herein;
FIG. 8 is a flowchart illustrating an embodiment of an electronic device obtaining candidate text sequences according to the present application;
FIG. 9 is a flowchart illustrating an embodiment of a server text query method provided herein;
FIG. 10 is a flow chart of yet another embodiment of a method of displaying text as provided herein;
FIG. 11 is a schematic diagram illustrating an embodiment of a text display apparatus;
fig. 12 is a hardware structure diagram of an embodiment of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
Generally, the input method pronounces words on the electronic equipment side, and the memory and calculation power of the electronic equipment are limited, so that the size of a word bank and a pronouncing model on the electronic equipment side are limited, and the pronouncing effect is poor. And the server side has no limitations of memory and computing power, so the size of the word bank and the word output model of the server side can be unlimited, the word output function and the content richness of the word bank of the server side are larger than those of the electronic equipment side, and the word output quality is better. When a user inputs a character string, the word output result of the electronic device side and the word output result of the server side are combined, and are reordered according to a certain rule and displayed to the user.
Due to the limitation of network transmission delay, when a user inputs a character string, the server may not transmit the word output result to the electronic device, and at the moment, the electronic device can only display the local limited word output result and cannot display the word output result of the server. Thus, the quality of the word output result displayed on the input method interface is poor.
As shown in fig. 1, the user wants to input "the male rabbit foot has taken a business", so the user inputs the character string "xiongtujiaopus" on the input method interface, and the electronic device does not receive the word output result issued by the server due to the limitation of network transmission delay, and at this time, the candidate text "panda gummed bodhisatta" queried in the local input text library is displayed on the electronic device. However, this candidate text "bear-glued bodhisattva" is not the result intended by the user.
When the word output result 'the male rabbit foot stamp' issued by the server is received after the candidate text 'the bear gummed bodhisattva' inquired locally is displayed, because the word output result issued by the server is received later, even if a plurality of candidate texts issued by the server are superior to the candidate text inquired locally, one candidate text issued by the server is displayed on the input method interface. As shown in fig. 2, a better candidate text "stamp for rabbit and foot", which is sent by the server, is displayed on the input method interface.
Therefore, in the related art scheme, the quality of the word output result displayed on the input method interface is not good.
In view of the above technical problems, the present application provides a text display method, and the text display method provided by the present application is described below with reference to the accompanying drawings.
Fig. 3 is a schematic structural diagram of a system for implementing a text display method provided in the present application. As shown in fig. 3, the system includes an electronic device 102 and a server 104.
The electronic device 102 sends a first query request including a first character string to the server 104 in a case where the user inputs the first character string on the input method interface.
After receiving the first query request, the server 104 determines N target characters according to the first character string, where the N target characters are characters that the user determined by the server 104 is likely to input after the first character string, or the target characters are characters predicted by the server 104 to be input after the first character string by the user. After each target character is added to the first character string, N second character strings are formed. Then, the server 104 obtains, for each second character string, a first candidate text matching the second character string, that is, each second character string corresponds to the first candidate text. In this way, the server 104 obtains at least one first candidate text according to the N second character strings.
After the electronic device 102 receives the at least one first candidate text sent by the server 104, if a first character input by the user after the first character string is received and the first character is consistent with a first target character in the N target characters determined by the server 104, a candidate text corresponding to the first target character in the at least one first candidate text is displayed on the input method interface.
Because the electronic device 102 acquires the first candidate text in advance, instead of sending a request to the server 104 to query the matched candidate text after the first character is input, the word output result of the server 104 can be displayed on the input method interface in time without the limitation of network transmission delay, and the quality of the text displayed on the input method interface is improved.
Based on the above system, the following describes a flow of a text display method provided by the present application. Fig. 4 is a flowchart illustrating an embodiment of a text display method provided in the present application. The text display method may be applied to an electronic device. As shown in fig. 4, the text display method 200 includes:
s202, under the condition that a first character string input by a user on an input method interface is received, a first query request comprising the first character string is sent to a server.
In S202, a first character string input by the user on the keyboard of the input method interface may be obtained first, for example, if the user inputs "xiongtujiaopu" sequentially under the full keys of the electronic device, the first character string "xiongtujiaopu" may be obtained; the user enters "9466488542678" under the cell phone squared key, and "9466488542678" is obtained. After the first character string is obtained, a first query request can be sent to the server through network transmission, and the first query request comprises the first character string as a request parameter. The first query request is used for enabling the server to query candidate texts according to the first character string.
The text display method 200 further includes:
s204, receiving at least one candidate text sent by the server according to the first query request, wherein the at least one candidate text comprises at least one first candidate text matched with a second character string, the second character string comprises a character string formed by adding target characters behind the first character string, the target characters are characters determined by the server according to the first character string, the number of the target characters is N, and N is a positive integer.
After receiving the first query request, the server can predict a target character input by the user after the first character string through the predicted word model, add the target character to the first character string to form a second character string, and then acquire a first candidate text matched with the second character string. For example, the first character string is "xiongtujiaopu", and the character input by the user after the first character string is predicted to be "s" by the predicted word model, that is, the second character string is "xiongtujiaopus". Then, the server acquires that the first candidate text matched with the second character string is 'rabid foot-and-soul'.
After the server acquires the first candidate text, the first candidate text is sent to the electronic equipment through the network. In S204, the electronic device receives the first candidate text sent by the server through the network.
The text display method 200 further includes:
s206, receiving a first character input by a user after the first character string;
and S208, under the condition that the first character is matched with a first target character in the N target characters, displaying a candidate text corresponding to the first target character in at least one first candidate text on the input method interface.
For example, in the case where the first character string "xiongtujiaopu" input by the user on the input method interface is received, the server has predicted that the user is likely to continue inputting "s" next time, so that the candidate text "rabid-foot-stamp" of "xiongtujiaopus" is sent to the electronic device. And when the user continues to input the s next time, the electronic equipment displays the candidate text 'the male rabbit foot and the ancient times'.
The number of target characters is N, and N may be 1 or an integer greater than 1. The examples of the present application are described below by taking N as an integer greater than 1.
Assuming that the first string is "xingtujiaopu", the server determines a plurality of target characters, respectively "s", "q", and "b", from the first string. The "xiongtujiaopu" and the character "s" form a second character string "xiongtujiaopus", and the first candidate text corresponding to the second character string is "rabid foot-and-shoot". The "xiongtujiaopu" and the character "q" form a second character string "xiongtujiaopuq", and the first candidate text corresponding to the second character string is "a male rabbit foot pounding". The "xiongtujiaopu" and the character "b" form a second character string "xiongtujiaopub", and the first candidate text corresponding to the second character string is "the male rabbit foot flapping bar".
Thus, the server predicts a plurality of first candidate texts, respectively "hassock for male rabbit foot", "stamp for male rabbit foot", and "stamp for male rabbit foot". And the first character actually entered by the user after the first character string is "s", then "rabid and sumo" is obtained from the plurality of first candidate texts and displayed on the input method interface.
In S208, in the case that the first character matches the first target character, it indicates that the server accurately predicts the character input by the user after the first character string, that is, before the user continues to input characters on the basis of the first character string, the electronic device has already acquired the first candidate text matching with the server, and does not send a request to the server 104 to query the matching candidate text after the user has input the first character.
Therefore, when the user continues to input the first character on the basis of the first character string and then performs word output, the limitation of network transmission delay is avoided, the word output result of the server can be displayed on the input method interface in time, and the quality of the text displayed on the input method interface is improved.
In the embodiment of the application, after the user inputs the first character string, the server predicts a plurality of situations of characters which are possibly input by the user after the first character string and predicts a plurality of first candidate texts. And under the condition that the first character is input by the user after the first character string and the first character input by the user is consistent with one target predicted character predicted by the server, acquiring a second target candidate text from the plurality of first candidate texts and displaying the second target candidate text on the input method interface. Therefore, the candidate texts displayed on the input method interface can be ensured to better meet the requirements of the user.
In one or more embodiments of the present application, after S206, the text display method 200 may further include:
and in the case that the first character does not match each target character, displaying candidate texts matched with a third character string on the input method interface, wherein the third character string comprises a character string formed by adding the first character after the first character string.
Assuming that the first character string is "xiongtujiaopu", the server determines that the target character input by the user after the first character string is "s", but actually the user inputs the character "a" after the first character string, that is, the character input by the user predicted by the server after the first character string is not consistent with the character actually input by the user.
In this case, candidate texts may be queried from a local input method text library, and the character string in the first query request is updated to the second character string, and the step of sending the first query request to the server is executed in return to request the server to query the candidate texts. And finally, displaying candidate texts inquired from a local input method text library and candidate texts inquired by the server on the input method interface.
In the related art, under the condition of small network transmission delay, candidate texts queried by a server have an opportunity to be sorted according to a certain rule with candidate texts queried from a local input method text library. Typically, the candidate text for the server query is displayed in a first line, typically the second line, and does not replace the candidate text queried from the local input method text library. However, if the candidate texts queried from the local input method text library are poor in quality, the candidate texts with poor quality are not eliminated when the candidate texts are displayed on the input method interface. For example, as shown in fig. 5, although the candidate text "rabbit and foot picking" desired by the user is listed in the top row, the candidate text "bear gummed bodhisattva" searched from the local input method text library is listed in the top row. As such, the user input experience may be greatly affected.
Based on the above technical problem, in one or more embodiments of the present application, as shown in fig. 6, after S206 and before displaying the candidate text corresponding to the first target character in the at least one first candidate text on the input method interface, the text display method 200 may further include:
s210, at least one local candidate text matched with a fourth character string is searched in a local input method text library, where the fourth character string includes a character string formed by adding a first character after the first character string, and it should be noted that the fourth character string and the third character string may be the same character string;
s212, acquiring a third candidate text except the second candidate text from at least one local candidate text, wherein each character in the second candidate text corresponds to a character in a fourth character string. Thus, the second candidate text is removed from at least one local candidate text, and the local candidate text from which the second candidate text is removed is the third candidate text.
It should be noted that the third candidate text may be all candidate texts obtained from the at least one local candidate text except the second candidate text, and the third candidate text may also be a part of candidate texts obtained from the at least one local candidate text except the second candidate text.
Displaying a candidate text corresponding to a first target character in at least one first candidate text on an input method interface, which may specifically include:
s208', displaying a candidate text corresponding to the first target character in the at least one first candidate text on the input method interface, and displaying a third candidate text.
As an example, displaying a candidate text corresponding to a first target character in at least one first candidate text on the input method interface, and displaying a third candidate text may specifically include: sorting the candidate text corresponding to the first target character and the third candidate text according to the word frequency information of the candidate text corresponding to the first target character and the third candidate text to obtain a sorting result; and displaying the candidate text corresponding to the first target character and the third candidate text on the input method interface according to the sorting result.
The following is an exemplary description of embodiments of the present application.
Assuming that the first character string is "xiongtujiaopu", the user inputs "s" after the first character string, forming a second character string "xiongtujiaopus". Then, the query is carried out in a local input method text library to obtain the following word output results: { bear-coated bodhisattva, xiong tu jiao pu sa, 0.4}, { male, xiong tu, 0.3}, { murder, xiong tu, 0.2}, { male, xiong tu, 0.1 }. It should be noted that the numerical values such as "0.4" and "0.3" in the word output result indicate word frequency information of the corresponding candidate text, and the larger the numerical value is, the higher the appearance frequency of the corresponding candidate text is. Thus, a plurality of local candidate texts matched with the second character string are inquired out: bear gumming bodhisattva, male way, murder and male map.
Wherein the candidate text "panda gummed bodhisattus" in the plurality of local candidate texts is a candidate text matching the whole amount of "xiongtujiaopus". Wherein, bear corresponds to xiong, coating corresponds to tu, glue corresponds to jiao, linden corresponds to pu and pizza corresponds to s. That is, "bear-glued bodhisattva" is the second candidate text described above.
Before the user inputs "s" after the first string, the server determines the target character "s" from the first string "xiongtujiaopu" and obtains a second string "xiongtujiaopus". Then, according to the second character string query, the following word output results are obtained: { 0.6} Xiong tu jiao pu shuo, male rabbit foot. "Male rabbit foot-stamp" is the first candidate text that matches the "xiongujiaopus" population.
For the following two candidate texts: the first candidate text "male rabbit foot Pusha" which is inquired by the server and is matched with the "xiongtujiaopus" in total and the candidate text "bear gummed Bodhisattva" which is inquired locally and is matched with the "xiongtujiaopus" in total are inquired by the server, and the candidate text "male rabbit foot Pusha" which is inquired by the server is preferentially reserved and the candidate text "bear gummed Bodhisattva" which is inquired locally is eliminated because the candidate text quality which is inquired by the server is higher.
The final word-out results include: { male rabbit foot, xiong tu jiao pu shuo, 0.6}, { male, xiong tu, 0.3}, { murder, xiong tu, 0.2}, { male, xiong tu, 0.1 }. And sequencing the candidate results according to the word frequency information of the candidate texts, wherein the candidate texts displayed on the input method interface finally comprise 'male rabbit foot capturing,' male journey, 'murder' and 'male map'.
In the embodiment of the application, the candidate texts queried from the local input method text base and the candidate texts queried by the server are mixed and displayed, and the candidate texts with poor local query quality are eliminated, so that the quality of the displayed candidate texts is improved, and the user experience is improved.
In one or more embodiments of the present application, the at least one candidate text may further include a fourth candidate text matching the first character string. That is, after the electronic device sends the first query request to the server, the server queries not only the first candidate text but also a fourth candidate text matching the first character string.
Prior to S206, the text display method 200 may further include:
querying a fifth candidate text matched with the first character string in a local input method text library;
mixing the fourth candidate text and the fifth candidate text to obtain a candidate text sequence;
and displaying the candidate texts in the candidate text sequence on the input method interface.
How the electronic device queries the local input method text library for the fifth candidate text matching the first character string is described below with reference to fig. 7. As shown in fig. 7, the process 300 of querying candidate texts by an electronic device may specifically include:
s302, the electronic device separates the first string into syllables, such as "xiong tu jiaopu" into "xiong ' tu ' jiao ' pu";
s304, the electronic equipment searches a matched text in a local input method text library according to each syllable separated by the first character string;
s306, the electronic equipment obtains the first M texts from the searched texts according to the characteristic information of the searched texts, such as the word frequency and the like, and takes the first M texts as fifth candidate texts.
After the electronic equipment finds out the fifth candidate text from the local, the fifth candidate text and the fourth candidate text are mixed to obtain a candidate text sequence. How to obtain candidate text sequences is described below with reference to fig. 8. As shown in fig. 8, the process 400 of obtaining a candidate text sequence may specifically include:
s402, after receiving at least one candidate text sent by a server, the electronic equipment analyzes the at least one candidate text;
s404, the electronic equipment obtains a first candidate text matched with the second character string from at least one candidate text;
s406, the electronic equipment acquires a fourth candidate text matched with the first character string from the at least one candidate text;
s408, the electronic equipment acquires a fifth candidate text inquired in a local input method text base;
and S410, the electronic equipment mixes and arranges the fourth candidate text and the fifth candidate text according to a mixed arrangement algorithm to obtain a candidate text sequence.
After the candidate text sequence is obtained, displaying the candidate texts in the candidate text sequence on an input method interface.
In this way, after the user inputs the first character string, the candidate text displayed on the input method interface includes not only the local word output result but also the word output result of the server.
In one or more embodiments of the present application, before displaying the candidate text in the candidate text sequence on the input method interface, the text display method 200 may further include:
sorting each candidate text in the candidate text sequence according to the word frequency information of each candidate text in the candidate text sequence to obtain a sorting result;
displaying candidate texts in the candidate text sequence on an input method interface, wherein the displaying comprises the following steps:
and displaying the candidate texts in the candidate text sequence on an input method interface according to the sequencing result.
The following is an exemplary description of embodiments of the present application.
Assuming that the first string is "xingtujiaopu", the server's word-out result is: { male rabbit foot swatch, xiong tu jiao pu,0.8}, { bear rabbit web, xiong tu jiao pu,0.2 }. The local word-out results are: { puffing bear sizing, xiong tu jiao pu, 0.4}, { male, xiong tu, 0.3}, { murder, xiong tu, 0.2}, { male, xiong tu, 0.1 }.
Thus, candidate text sequences are obtained, and the candidate text sequences comprise: male rabbit foot pounding, bear rabbit foot web, bear glue puff, male journey, apprentice and male pattern.
Then, the respective candidate texts are sorted in order of the number of candidate text words from the top. And for the candidate texts with the same word number, sequencing the candidate texts according to the word frequency information of the candidate texts to obtain the following candidate text arrangement results: "male rabbit foot pounding", "bear gumming puff", "bear rabbit web", "male journey", "apprentice" and "male map".
In the embodiment of the application, the candidate texts in the candidate text sequence are displayed on the input method interface according to the word frequency information of each candidate text in the candidate text sequence. Therefore, candidate texts with high word frequency can be preferentially displayed on the input method interface, and the use experience of a user is improved.
In one or more embodiments of the present application, after S204, the text display method 200 may further include:
acquiring the response time length of the server, wherein the response time length is the time length from the sending time point of the first query request to the receiving time point of at least one candidate text;
caching the first candidate text under the condition that the response time length is greater than the preset time length;
displaying a first candidate text on an input method interface, comprising:
and displaying the cached first candidate text on an input method interface.
In the embodiment of the application, when the response time of the server is longer than the predetermined time, it indicates that the current network quality is not good, and the network delay is long, which may cause that the electronic device may not receive the word output result queried by the server based on the character string input by the user in time. Therefore, the electronic device caches the first candidate text predicted by the server, and the cached first candidate text can be displayed under the condition that the electronic device cannot timely receive the word output result of the server. Therefore, the quality of the candidate texts displayed on the input method interface is improved under the condition that the network quality is poor.
The present application further provides a text query method applied to a server, and fig. 9 is a schematic flowchart of an embodiment of the text query method for a server provided by the present application. As shown in fig. 9, the text query method 500 includes:
s502, a server receives a first query request sent by electronic equipment, wherein the first query request comprises a first character string and is used for querying a candidate text;
s504, the server inquires a third candidate text matched with the first character string;
s506, the server inquires a first candidate text matched with a second character string, wherein the second character string is formed by adding a target character behind the first character string;
and S508, the server issues the third candidate text and the first candidate text to the electronic equipment.
Based on the above embodiment, the flow of the text display method is further described below. Fig. 10 is a flowchart of a text display method according to still another embodiment of the present application. As shown in fig. 10, the text display method 600 includes:
s602, after receiving a first character string input by a user on an input method interface, the electronic device sends a first query request including the first character string to a server, where the first character string is "xiongtujiaopu", for example;
s604, the electronic device queries a local text library of input methods for a fifth candidate text matching the first character string, where the fifth candidate text includes: "Puzhou bear glued membrane", "Xiongguang", "murder" and "male pattern";
s606, the server inquires a fourth candidate text matched with the first character string and a plurality of first candidate texts matched with a second character string, wherein the second character string is formed by adding predicted target characters behind the first character string; for example, the fourth candidate text includes: "Male rabbit foot pad" and "bear rabbit web"; the target character is "s", and the corresponding first candidate text comprises "male rabbit foot; the target character is 'q', and the corresponding first candidate text comprises 'a male rabbit foot pounding'; the target character is 'b', and the corresponding first candidate text comprises 'a male rabbit foot pounding bar';
s608, the server sends the fourth candidate text and the first candidate text to the electronic equipment;
s610, mixing the fourth candidate text and the fifth candidate text by the electronic equipment to obtain a candidate text sequence, and caching the first candidate text;
s612, the electronic equipment displays the candidate texts in the candidate text sequence on an input method interface;
s614, the electronic equipment receives a first character input by a user after the first character string;
s616, determining whether the first character matches each of the target characters, and if the first character matches the first target character, executing S618; if the first character is judged not to match with each target character, returning to execute S602;
s618, at least one local candidate text matched with a fourth character string is inquired in a local input method text library, wherein the fourth character string is formed by adding the first character after the first character string;
s620, eliminating a second candidate text in at least one local candidate text to obtain a third candidate text; for example, the at least one local candidate text includes "bear-coated bodhisattva", "male," murder "and" male map ", and the full word" bear-coated bodhisattva "(i.e., the second candidate text) obtained from the local query is removed, so as to obtain a third candidate text" male "," murder "and" male map ";
and S622, displaying a candidate text corresponding to the first target character in the plurality of first candidate texts and displaying a third candidate text on the input method interface.
Corresponding to the text display method provided by the application, the application also provides a text display device. Fig. 11 is a schematic structural diagram of an embodiment of a text display device provided in the present application. As shown in fig. 11, the text display device 700 includes:
a first sending module 702, configured to, in a case that a first character string input by a user on an input method interface is received, send a first query request including the first character string to a server;
a first receiving module 704, configured to receive at least one candidate text sent by the server according to the first query request, where the at least one candidate text includes at least one first candidate text matched with a second character string, where the second character string includes a character string formed by adding a target character after the first character string, where the target character is a character determined by the server according to the first character string, the number of the target characters is N, and N is a positive integer;
a second receiving module 706, configured to receive a first character input by a user after the first character string;
a first display module 708, configured to display, on the input method interface, a candidate text corresponding to a first target character of the at least one first candidate text if the first character matches the first target character of the N target characters.
In the embodiment of the application, in the case of receiving that a user inputs a first character string on an input method interface, sending a first query request comprising the first character string to a server, so that the server predicts the character input by the user after the first character string, the first character string and the predicted character form a predicted character string, and querying a first candidate text matched with the predicted character string. Then, the first candidate text sent by the server is received. And in the case that the first character input by the user after the first character string is received and the first character is consistent with the character predicted by the server, displaying the first candidate text on the input method interface. The first candidate text is acquired in advance, and a request is sent to the server to query the matched candidate text after the first character is input, so that the word output result of the server can be displayed on the input method interface in time without the limitation of network transmission delay, and the quality of the text displayed on the input method interface is improved.
In one or more embodiments of the present application, the text display apparatus 700 may further include:
and the second display module is used for displaying candidate texts matched with third character strings on the input method interface under the condition that the first character is not matched with each target character, wherein the third character strings comprise character strings formed by adding the first character after the first character strings.
In one or more embodiments of the present application, the text display apparatus 700 may further include:
a first query module, configured to query a local input method text base for at least one local candidate text matching a fourth character string, where the fourth character string includes a character string formed by adding the first character after the first character string;
a first obtaining module, configured to obtain, from at least one local candidate text, a third candidate text except for a second candidate text, where each word in the second candidate text corresponds to a character in the fourth character string;
the first display module 708 may be specifically configured to: displaying a candidate text corresponding to the first target character in the at least one first candidate text on the input method interface, and displaying the third candidate text.
In the embodiment of the application, the candidate texts queried from the local input method text base and the candidate texts queried by the server are mixed and displayed, and the candidate texts with poor local query quality are eliminated, so that the quality of the displayed candidate texts is improved, and the user experience is improved.
In one or more embodiments of the present application, the at least one candidate text further comprises a fourth candidate text matching the first character string; the text display apparatus 700 may further include:
the second query module is used for querying a fifth candidate text matched with the first character string in a local input method text library;
the mixing module is used for mixing the fourth candidate text and the fifth candidate text to obtain a candidate text sequence;
and the third display module is used for displaying the candidate texts in the candidate text sequence on the input method interface.
In this way, after the user inputs the first character string, the candidate text displayed on the input method interface includes not only the local word output result but also the word output result of the server.
In one or more embodiments of the present application, the text display apparatus 700 may further include:
the sorting module is used for sorting each candidate text in the candidate text sequence according to the word frequency information of each candidate text in the candidate text sequence to obtain a sorting result;
the third display module may be specifically configured to:
and displaying the candidate texts in the candidate text sequence on an input method interface according to the sequencing result.
In the embodiment of the application, the candidate texts in the candidate text sequence are displayed on the input method interface according to the word frequency information of each candidate text in the candidate text sequence. Therefore, candidate texts with high word frequency can be preferentially displayed on the input method interface, and the use experience of a user is improved.
In one or more embodiments of the present application, the text display apparatus 700 may further include:
the second acquisition module is used for acquiring the response time length of the server, wherein the response time length is the time length from the sending time point of the first query request to the receiving time point of at least one candidate text;
the cache module is used for caching the first candidate text under the condition that the response time length is greater than the preset time length;
the first display module 708 may be specifically configured to: and displaying the cached first candidate text on an input method interface.
In the embodiment of the application, when the response time of the server is longer than the predetermined time, it indicates that the current network quality is not good, and the network delay is long, which may cause that the electronic device may not receive the word output result queried by the server based on the character string input by the user in time. Therefore, the electronic device caches the first candidate text predicted by the server, and the cached first candidate text can be displayed under the condition that the electronic device cannot timely receive the word output result of the server. Therefore, the quality of the candidate texts displayed on the input method interface is improved under the condition that the network quality is poor.
It should be noted that, in the above embodiment, the execution subject is taken as the text display device as an example to describe the execution text display method. However, the execution main body of the text display method provided in the embodiment of the present application is not limited to the text display device, and may also be a control module for executing the loaded text display method in the text display device.
The text display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in the device. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The text display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The text display device provided in the embodiment of the present application can implement each process in any one of the above embodiments of the text display method, and is not described here again to avoid repetition.
The embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and executable on the processor, where the program or the instruction, when executed by the processor, implements the processes of the text display method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 12 is a hardware structure diagram of an embodiment of an electronic device provided in the present application.
As shown in fig. 12, electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
The input unit 804 may include a graphic processor 8041 and a microphone 8042, among other things. The display unit 806 includes a display panel 8061. The user input unit 807 may include a touch panel 8071 and other input devices 8072. The memory 809 may include application programs and an operating system.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The radio frequency unit 801 is configured to send a first query request including a first character string to the server when receiving a first character string input by a user on the input method interface;
the radio frequency unit 801 is further configured to receive at least one candidate text sent by the server according to the first query request, where the at least one candidate text includes at least one first candidate text matched with a second character string, the second character string includes a character string formed by adding a target character after the first character string, the target character is a character determined by the server according to the first character string, the number of the target characters is N, and N is a positive integer;
the user input unit 807 is for receiving a first character input by the user after the first character string;
the display unit 806 is configured to display, on the input method interface, a candidate text corresponding to a first target character of the at least one first candidate text if the first character matches the first target character of the N target characters.
In the embodiment of the application, in the case that a first character string input by a user on an input method interface is received, a first query request comprising the first character string is sent to a server, so that the server determines N target characters, the first character string and the target characters form a second character string, and queries a first candidate text matched with the second character string. Then, the first candidate text sent by the server is received. And in the case that the first character input by the user after the first character string is received and the first character is matched with a first target character in the N target characters, displaying a candidate text corresponding to the first target character in at least one first candidate text on the input method interface. The first candidate text is acquired in advance, and a request is sent to the server to query the matched candidate text after the first character is input, so that the word output result of the server can be displayed on the input method interface in time without the limitation of network transmission delay, and the quality of the text displayed on the input method interface is improved.
In one or more embodiments of the present application, the display unit 806 may further be configured to:
and under the condition that the first character does not match each target character, displaying candidate texts matched with a third character string on the input method interface, wherein the third character string comprises a character string formed by adding the first character after the first character string.
In one or more embodiments of the present application, the processor 810 may further be configured to:
querying a local input method text library for at least one local candidate text matching a fourth character string, the fourth character string comprising a character string formed by adding the first character after the first character string;
and acquiring a third candidate text except for a second candidate text from at least one local candidate text, wherein each word in the second candidate text corresponds to a character in the fourth character string.
The display unit 806 may be specifically configured to: displaying a candidate text corresponding to the first target character in the at least one first candidate text on the input method interface, and displaying the third candidate text.
In the embodiment of the application, the candidate texts queried from the local input method text base and the candidate texts queried by the server are mixed and displayed, and the candidate texts with poor local query quality are eliminated, so that the quality of the displayed candidate texts is improved, and the user experience is improved.
In one or more embodiments of the present application, the at least one candidate text further includes a fourth candidate text matching the first character string.
Processor 810 may also be configured to:
querying a fifth candidate text matched with the first character string in a local input method text library;
and mixing the fourth candidate text and the fifth candidate text to obtain a candidate text sequence.
The display unit 806 may also be used to: and displaying the candidate texts in the candidate text sequence on the input method interface.
In this way, after the user inputs the first character string, the candidate text displayed on the input method interface includes not only the local word output result but also the word output result of the server.
In one or more embodiments of the present application, the processor 810 may further be configured to rank, according to word frequency information of each candidate text in the candidate text sequence, so as to obtain a ranking result;
the display unit 806 may be specifically configured to: and displaying the candidate texts in the candidate text sequence on an input method interface according to the sequencing result.
In the embodiment of the application, the candidate texts in the candidate text sequence are displayed on the input method interface according to the word frequency information of each candidate text in the candidate text sequence. Therefore, candidate texts with high word frequency can be preferentially displayed on the input method interface, and the use experience of a user is improved.
In one or more embodiments of the present application, the processor 810 may further be configured to:
acquiring the response time length of the server, wherein the response time length is the time length from the sending time point of the first query request to the receiving time point of at least one candidate text;
caching the first candidate text under the condition that the response time length is greater than the preset time length;
the display unit 806 may be specifically configured to: and displaying the cached first candidate text on an input method interface.
In the embodiment of the application, when the response time of the server is longer than the predetermined time, it indicates that the current network quality is not good, and the network delay is long, which may cause that the electronic device may not receive the word output result queried by the server based on the character string input by the user in time. Therefore, the electronic device caches the first candidate text predicted by the server, and the cached first candidate text can be displayed under the condition that the electronic device cannot timely receive the word output result of the server. Therefore, the quality of the candidate texts displayed on the input method interface is improved under the condition that the network quality is poor.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the text display method embodiment is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, examples of which include non-transitory computer-readable storage media, such as computer-Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and so forth.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the text display method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods of the embodiments of the present application.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware for performing the specified functions or acts, or combinations of special purpose hardware and computer instructions.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A text display method, comprising:
under the condition that a first character string input by a user on an input method interface is received, sending a first query request comprising the first character string to a server;
receiving at least one candidate text sent by the server according to the first query request, wherein the at least one candidate text comprises at least one first candidate text matched with a second character string, the second character string comprises a character string formed by adding a target character after the first character string, the target character is a character determined by the server according to the first character string, the number of the target characters is N, and N is a positive integer;
receiving a first character input by a user after the first character string;
and displaying a candidate text corresponding to the first target character in the at least one first candidate text on the input method interface under the condition that the first character is matched with the first target character in the N target characters.
2. The method of claim 1, wherein after receiving a first character entered by a user after the first string, the method further comprises:
and under the condition that the first character does not match each target character, displaying candidate texts matched with a third character string on the input method interface, wherein the third character string comprises a character string formed by adding the first character after the first character string.
3. The method of claim 1, wherein after receiving a first character entered by a user after the first character string and before displaying a candidate text corresponding to the first target character in the at least one first candidate text on the input method interface, the method further comprises:
querying a local input method text library for at least one local candidate text matching a fourth character string, the fourth character string comprising a character string formed by adding the first character after the first character string;
acquiring a third candidate text except for a second candidate text from at least one local candidate text, wherein each character in the second candidate text corresponds to a character in the fourth character string;
displaying a candidate text corresponding to the first target character in the at least one first candidate text on the input method interface, including:
displaying a candidate text corresponding to the first target character in the at least one first candidate text on the input method interface, and displaying the third candidate text.
4. The method of any of claims 1-3, wherein the at least one candidate text further comprises a fourth candidate text matching the first string;
before the receiving a first character input by a user after the first character string, the method further comprises:
querying a fifth candidate text matched with the first character string in a local input method text library;
mixing the fourth candidate text and the fifth candidate text to obtain a candidate text sequence;
and displaying the candidate texts in the candidate text sequence on the input method interface.
5. The method of claim 4, wherein prior to displaying the candidate text in the sequence of candidate texts on the input method interface, the method further comprises:
sorting each candidate text in the candidate text sequence according to the word frequency information of each candidate text in the candidate text sequence to obtain a sorting result;
the displaying the candidate texts in the candidate text sequence on the input method interface comprises:
and displaying the candidate texts in the candidate text sequence on the input method interface according to the sorting result.
6. A text display apparatus, comprising:
the first sending module is used for sending a first query request comprising a first character string to a server under the condition that the first character string is input on an input method interface by a user is received;
a first receiving module, configured to receive at least one candidate text sent by the server according to the first query request, where the at least one candidate text includes at least one first candidate text matched with a second character string, the second character string includes a character string formed by adding a target character after the first character string, the target character is a character determined by the server according to the first character string, the number of the target characters is N, and N is a positive integer;
the second receiving module is used for receiving a first character input by a user after the first character string;
and the first display module is used for displaying a candidate text corresponding to a first target character in the at least one first candidate text on the input method interface under the condition that the first character is matched with the first target character in the N target characters.
7. The apparatus of claim 6, further comprising:
and the second display module is used for displaying candidate texts matched with third character strings on the input method interface under the condition that the first character is not matched with each target character, wherein the third character strings comprise character strings formed by adding the first character after the first character strings.
8. The apparatus of claim 6, further comprising:
a first query module, configured to query a local input method text base for at least one local candidate text matching a fourth character string, where the fourth character string includes a character string formed by adding the first character after the first character string;
a first obtaining module, configured to obtain, from at least one local candidate text, a third candidate text except for a second candidate text, where each word in the second candidate text corresponds to a character in the fourth character string;
the first display module is used for:
displaying a candidate text corresponding to the first target character in the at least one first candidate text on the input method interface, and displaying the third candidate text.
9. The apparatus according to any one of claims 6 to 8, wherein the at least one candidate text further comprises a fourth candidate text matching the first character string;
the device further comprises:
the second query module is used for querying a fifth candidate text matched with the first character string in a local input method text library;
the mixing module is used for mixing the fourth candidate text and the fifth candidate text to obtain a candidate text sequence;
and the third display module is used for displaying the candidate texts in the candidate text sequence on the input method interface.
10. The apparatus of claim 9, further comprising:
the sorting module is used for sorting each candidate text in the candidate text sequence according to the word frequency information of each candidate text in the candidate text sequence to obtain a sorting result;
the third display module is configured to:
and displaying the candidate texts in the candidate text sequence on the input method interface according to the sorting result.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the text display method according to any one of claims 1 to 5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, carry out the steps of the text display method according to any one of claims 1 to 5.
CN202110407700.2A 2021-04-15 Text display method and device, electronic equipment and storage medium Active CN113515199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110407700.2A CN113515199B (en) 2021-04-15 Text display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110407700.2A CN113515199B (en) 2021-04-15 Text display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113515199A true CN113515199A (en) 2021-10-19
CN113515199B CN113515199B (en) 2024-05-10

Family

ID=

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070233463A1 (en) * 2006-04-03 2007-10-04 Erik Sparre On-line predictive text dictionary
US20190303298A1 (en) * 2018-03-27 2019-10-03 Microsoft Technology Licensing, Llc Low-latency hybrid client-server cooperation
CN110888539A (en) * 2019-11-18 2020-03-17 腾讯科技(深圳)有限公司 Name recommendation method, device, equipment and storage medium in input method
CN111522448A (en) * 2019-02-02 2020-08-11 北京搜狗科技发展有限公司 Method, device and equipment for providing input candidate items
CN111913593A (en) * 2020-08-06 2020-11-10 聚好看科技股份有限公司 Media data searching method and display equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070233463A1 (en) * 2006-04-03 2007-10-04 Erik Sparre On-line predictive text dictionary
US20190303298A1 (en) * 2018-03-27 2019-10-03 Microsoft Technology Licensing, Llc Low-latency hybrid client-server cooperation
CN111522448A (en) * 2019-02-02 2020-08-11 北京搜狗科技发展有限公司 Method, device and equipment for providing input candidate items
CN110888539A (en) * 2019-11-18 2020-03-17 腾讯科技(深圳)有限公司 Name recommendation method, device, equipment and storage medium in input method
CN111913593A (en) * 2020-08-06 2020-11-10 聚好看科技股份有限公司 Media data searching method and display equipment

Similar Documents

Publication Publication Date Title
CN109344291B (en) Video generation method and device
CN109190049B (en) Keyword recommendation method, system, electronic device and computer readable medium
KR101491843B1 (en) Conversation based search system and search method
US10564846B2 (en) Supplementing a virtual input keyboard
CN105378662A (en) Bundle package generation
CN106774975A (en) Input method and device
CN108573306B (en) Method for outputting reply information, and training method and device for deep learning model
CA3166742A1 (en) Method of generating text plan based on deep learning, device and electronic equipment
CN112417121A (en) Client intention recognition method and device, computer equipment and storage medium
CN111401044A (en) Title generation method and device, terminal equipment and storage medium
JP2013149273A (en) Method, apparatus and computer program for providing input order independent character input mechanism
CN114722292A (en) Book searching method, device, equipment and storage medium
CN114493786A (en) Information recommendation method and device
CN113515199A (en) Text display method and device, electronic equipment and storage medium
CN112148135A (en) Input method processing method and device and electronic equipment
CN111966894A (en) Information query method and device, storage medium and electronic equipment
CN113515199B (en) Text display method and device, electronic equipment and storage medium
CN114996578A (en) Model training method, target object selection method, device and electronic equipment
CN109829157B (en) Text emotion presenting method, text emotion presenting device and storage medium
CN114493781A (en) User behavior prediction method and device, electronic equipment and storage medium
CN111079000B (en) Content processing method, device, equipment and storage medium
CN113138677A (en) Method and device for determining candidate words of input method, electronic equipment and storage medium
CN114493683A (en) Advertisement material recommendation method, model training method and device and electronic equipment
CN110046384B (en) Model instantiation method and device, electronic equipment and computer-readable storage medium
CN113268179A (en) Session message processing method, device, equipment 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