A text input method and device

A text input and input technology, applied in the field of input methods, can solve the problems of low recommendation accuracy, user input errors, sparse data, etc., and achieve the effect of improving recommendation accuracy

Active Publication Date: 2021-08-03
BEIJING XINMEI HUTONG TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem of low recommendation accuracy due to the sparse data of the N-gram language model used in the input method in the prior art and low recommendation accuracy due to user input errors, the present invention discloses a text input method and device through the following embodiments

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A text input method and device
  • A text input method and device
  • A text input method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] In order to solve the problem of low recommendation accuracy due to data sparsity in the N-gram language model used in the prior art and low recommendation accuracy due to user input errors, the present invention discloses a text input method and device through the following embodiments.

[0068] The first embodiment of the present invention discloses a text input method, see figure 1 In the schematic diagram of the workflow shown, the text input method disclosed in the embodiment of the present invention includes the following steps:

[0069] Step S11, receiving the word that has been input by the user and the initial key code string being input.

[0070] In the initial keycode string, include each character the user is typing.

[0071] Step S12, through the RNN language model, determine each first candidate word of the input word, obtain the first character string similarity between each target character contained in the initial key code string and the first candidat...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a text input method and device. In this method, the first candidate word is determined through the input word and the RNN language model, and the word score of the first candidate word is obtained by synthesizing the first character string similarity and the first word frequency score of the first candidate word. After receiving the initial key code string being input, determine the surrounding characters of the target character contained in the initial key code string, and obtain the second string similarity between the initial key code string and each word in the dictionary according to the target character and surrounding characters , determine the second candidate word according to the second character string similarity, and combine the second character string similarity and the second word frequency score of the second candidate word to obtain the word score of the second candidate word. This method solves the problem of low recommendation accuracy caused by the sparse N-gram language model data in the prior art, and when obtaining the second candidate word, the method takes into account the surrounding characters of the target character, which can play a role in error correction. Further improve the recommendation accuracy.

Description

technical field [0001] The present application relates to the technical field of input methods, in particular to a text input method and device. Background technique [0002] With the development of science and technology, a variety of terminal devices have emerged, such as mobile phones, iPads, and computers, to meet the various needs of users in work and life. In addition, users often need to input text into the terminal equipment during the process of using various terminal equipment. For example, when using the communication software installed in the terminal equipment and recording information with the terminal equipment, it is necessary to input text into the terminal equipment. [0003] When inputting text into a terminal device, generally, corresponding information is recommended to the user according to the content input by the user, so as to simplify the input steps of the user. For example, when the user inputs "happy", the terminal device may recommend multiple ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/023G06F40/216G06F40/242G06F16/903
CPCG06F3/0237G06F16/90344G06F40/216G06F40/242
Inventor 马士杰
Owner BEIJING XINMEI HUTONG TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products