Text input system and method
By combining the set input method and speech recognition technology, the text input system is optimized, and the database is used to adjust the text priority, which solves the problem of low input efficiency of Pinyin input method and achieves more efficient and accurate text input.
Patent Information
- Application Number
- CN202111655137.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2041-12-30
AI Technical Summary
Existing text input methods, especially Pinyin input method, have low input efficiency and cannot input Chinese characters whose pronunciation is not understood, resulting in difficulty in input.
Design a text input system that combines set input methods and speech recognition technology, optimizes the text input module through the text database and association database, uses voice data to adjust the priority and sorting of text, and improves input efficiency and accuracy.
It improves the efficiency and accuracy of text input and simplifies the input process, especially for the input of Chinese characters that are not commonly used or whose pronunciation is not known.
Smart Images

Figure CN114356114B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of electronic information technology, and relates to an input system, and in particular to a text input system and method. Background Art
[0002] In people's work, study and life, they need to use many electronic devices, such as computers and mobile phones. In the process of using these electronic devices, text input is often required. Existing text input methods usually include: input using a keyboard and a set input method, handwriting input on a touch screen, and voice input. Nowadays, the most commonly used method is still input using a keyboard and a set input method.
[0003] Among users who input Chinese characters using keyboards, most use the Pinyin input method. The reason is that compared with the Wubi input method, the Pinyin input method conforms to the human brain's habit of perceiving language and is easy to learn. However, the input efficiency of the Pinyin input method is poor, and it takes a long time to search for some Chinese characters that are not frequently used. In addition, it is impossible to input Chinese characters whose pronunciation is unknown.
[0004] In view of this, there is an urgent need to design a new text input method to overcome at least some of the above-mentioned defects of the existing text input methods. Summary of the invention
[0005] The invention provides a text input system and method, which can improve the efficiency and accuracy of text input.
[0006] To solve the above technical problem, according to one aspect of the present invention, the following technical solution is adopted:
[0007] A text input system, the text input system comprising:
[0008] A first text input module, used to input a set character or character combination through a set input method;
[0009] A character database module is used to store the characters or character combinations corresponding to each character under the set input method, the characters for selection corresponding to each character or character combination, and the corresponding priority data representing the order;
[0010] A first character comparison module is used to compare the characters or character combinations input by the first character input module with the characters stored in the character database module, obtain at least one character that may be input, and the priority data of the character, and sort the characters from high to low according to the priority data of each character;
[0011] An input text selection module, used to select a set number of texts from the texts obtained by the first text comparison module and display them in a text selection area;
[0012] A voice acquisition module, used to acquire voice data;
[0013] A speech recognition module, used to recognize the speech data acquired by the speech acquisition module;
[0014] An association acquisition module, used for acquiring association data between the selectable text corresponding to the character or character combination input by the first text input module and the voice data recognized by the voice recognition module;
[0015] An associated text selection module, used for selecting at least one text associated with the voice data according to the associated data acquired by the associated acquisition module;
[0016] A text selection adjustment module, used to adjust the priority data of the corresponding text according to the text selected by the associated text selection module, and adjust the order of the text displayed in the text selection area according to the adjusted priority data;
[0017] An association database for storing association data of each character; the association database stores association points of the characters; the association points include at least one of part of speech, number of strokes, character structure, Chinese character radical, synonym, usage scenario, applied phrase or sentence, and sequence number located in the character selection area;
[0018] The association acquisition module is used to determine whether the speech data recognized by the speech recognition module is the same as the association relationship data of the text input through the first text input method; if they are the same, the priority data of the corresponding input text is increased, and its ranking is increased to make it more advanced;
[0019] The speech recognition module is used to identify the number of segments of the speech data; for speech data containing at least two segments, the speech data is segmented into a segment header part and a main part;
[0020] The speech recognition module is used to recognize the header part of the speech data and obtain the association point of the speech data, the association point corresponds to the set column of the association relationship database, and the column is used as the query column;
[0021] The speech recognition module is used to recognize the main part of the speech data as the query content of the speech data, so as to query in the query column whether the query column corresponding to each character contains the corresponding query content.
[0022] According to another aspect of the present invention, the following technical solution is adopted: a text input system, the text input system comprising:
[0023] A first text input module, used to input a set character or character combination through a set input method;
[0024] A character database module is used to store the characters or character combinations corresponding to each character under the set input method, the characters for selection corresponding to each character or character combination, and the corresponding priority data representing the order;
[0025] A first character comparison module is used to compare the characters or character combinations input by the first character input module with the characters stored in the character database module, obtain at least one character that may be input, and the priority data of the character, and sort the characters from high to low according to the priority data of each character;
[0026] An input text selection module, used to select a set number of texts from the texts obtained by the first text comparison module and display them in a text selection area;
[0027] A voice acquisition module, used to acquire voice data;
[0028] A speech recognition module, used to recognize the speech data acquired by the speech acquisition module;
[0029] An association acquisition module, used for acquiring association data between the selectable text corresponding to the character or character combination input by the first text input module and the voice data recognized by the voice recognition module;
[0030] An associated text selection module, used for selecting at least one text associated with the voice data according to the associated data acquired by the associated acquisition module;
[0031] The text selection adjustment module is used to adjust the priority data of the corresponding text according to the text selected by the associated text selection module, and adjust the text displayed in the text selection area according to the adjusted priority data.
[0032] As an implementation mode of the present invention, the character input system further comprises an association relationship database, wherein the association relationship database is used to store association relationship data of each character;
[0033] The association acquisition module is used to determine whether the voice data recognized by the voice recognition module is the same as the association relationship data of the text input through the first text input method; if the same, the priority data of the corresponding input text is increased and its ranking is increased to make it more forward.
[0034] As an embodiment of the present invention, the association relationship database stores association points of characters; the association points include at least one of part of speech, number of strokes, character structure, Chinese character radicals, synonyms, usage scenarios, applied phrases or sentences, and serial numbers located in the character selection area.
[0035] As an implementation mode of the present invention, the speech recognition module is used to identify the number of segments of speech data; for speech data containing at least two segments, the speech data is segmented into a segment header part and a main part;
[0036] The speech recognition module is used to recognize the header part of the speech data and obtain the association point of the speech data, the association point corresponds to the set column of the association relationship database, and the column is used as the query column;
[0037] The speech recognition module is used to recognize the main part of the speech data as the query content of the speech data, so as to query in the query column whether the query column corresponding to each character contains the corresponding query content.
[0038] According to another aspect of the present invention, the following technical solution is adopted: a text input system, the text input system comprising:
[0039] The first character input step is to input a set character or character combination by using a set input method;
[0040] A first character comparison step is to compare the character or character combination input in the first character input step with the characters stored in the character database module, obtain at least one character that may be input, and priority data of the character, and sort the characters from high to low according to the priority data of each character; the character database module stores the character or character combination corresponding to each character under the set input method, the characters for selection corresponding to each character or character combination, and the corresponding priority data representing the order;
[0041] A step of inputting text for selection, selecting a set number of texts from the texts obtained in the first text comparison step and displaying them in a text selection area;
[0042] A voice acquisition step, acquiring voice data;
[0043] A speech recognition step for recognizing the speech data acquired in the speech acquisition step;
[0044] an association acquisition step, acquiring association data between the selectable text corresponding to the character or character combination input in the first text input step and the voice data recognized in the voice recognition step;
[0045] an associated character selection step, selecting at least one character associated with the voice data according to the associated data acquired in the associated acquisition step;
[0046] a text selection adjustment step, adjusting the priority data of the corresponding text according to the text selected in the associated text selection step, and adjusting the text displayed in the text selection area according to the adjusted priority data;
[0047] The text input method further comprises: storing the correlation data of each text in an association database; storing the correlation points of the text in the association database; the correlation points include at least one of part of speech, number of strokes, structure of the character, radical of Chinese character, synonym, usage scenario, applied phrase or sentence, and sequence number located in the text selection area;
[0048] In the association acquisition step, whether the voice data recognized in the voice recognition step is the same as the association relationship data of the text input through the first text input method; if they are the same, the priority data of the corresponding input text is increased, and its ranking is increased to make it more forward;
[0049] The speech recognition step comprises:
[0050] Identify the number of segments of the voice data; for the voice data including at least two segments, segment the voice data into a segment header part and a main part;
[0051] Identify the header of the voice data and obtain a correlation point of the voice data, the correlation point corresponds to a set column of the correlation relationship database, and the column is used as a query column;
[0052] The main part of the voice data is identified as the query content of the voice data, so as to query in the query column whether the query column corresponding to each character contains the corresponding query content.
[0053] According to another aspect of the present invention, the following technical solution is adopted: a text input method, the text input method comprising:
[0054] The first character input step is to input a set character or character combination by using a set input method;
[0055] A first character comparison step is to compare the character or character combination input in the first character input step with the characters stored in the character database module, obtain at least one character that may be input, and priority data of the character, and sort the characters from high to low according to the priority data of each character; the character database module stores the character or character combination corresponding to each character under the set input method, the characters for selection corresponding to each character or character combination, and the corresponding priority data representing the order;
[0056] A step of inputting text for selection, selecting a set number of texts from the texts obtained in the first text comparison step and displaying them in a text selection area;
[0057] A voice acquisition step, acquiring voice data;
[0058] A speech recognition step for recognizing the speech data acquired in the speech acquisition step;
[0059] an association acquisition step, acquiring association data between the selectable text corresponding to the character or character combination input in the first text input step and the voice data recognized in the voice recognition step;
[0060] an associated character selection step, selecting at least one character associated with the voice data according to the associated data acquired in the associated acquisition step;
[0061] The step of adjusting the text for selection adjusts the priority data of the corresponding text according to the text selected in the associated text selection step, and adjusts the text displayed in the text selection area according to the adjusted priority data.
[0062] As an implementation mode of the present invention, the character input method further comprises: a correlation database storing correlation data of each character;
[0063] In the association acquisition step, it is determined whether the voice data recognized in the voice recognition step is the same as the association relationship data of the text input through the first text input method; if they are the same, the priority data of the corresponding input text is increased, and its ranking is increased to be closer to the front.
[0064] As an embodiment of the present invention, the association relationship database stores association points of characters; the association points include at least one of part of speech, number of strokes, character structure, Chinese character radicals, synonyms, usage scenarios, applied phrases or sentences, and serial numbers located in the character selection area.
[0065] As an implementation mode of the present invention, the speech recognition step includes:
[0066] Identify the number of segments of the voice data; for the voice data including at least two segments, segment the voice data into a segment header part and a main part;
[0067] Identify the header of the voice data and obtain a correlation point of the voice data, the correlation point corresponds to a set column of the correlation relationship database, and the column is used as a query column;
[0068] The main part of the voice data is identified as the query content of the voice data, so as to query in the query column whether the query column corresponding to each character contains the corresponding query content.
[0069] The beneficial effect of the present invention is that the text input system and method proposed by the present invention can improve the efficiency and accuracy of text input. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 FIG. 1 is a schematic diagram of the composition of a text input system in one embodiment of the present invention.
[0071] Figure 2 Flow chart of a text input method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0072] The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0073] In order to further understand the present invention, preferred embodiments of the present invention are described below in conjunction with examples. However, it should be understood that these descriptions are only for further illustrating the features and advantages of the present invention, rather than limiting the claims of the present invention.
[0074] The description in this section is only for several typical embodiments, and the present invention is not limited to the scope of the embodiments. The same or similar prior art means and some technical features in the embodiments are mutually replaced within the scope of the present invention.
[0075] The description of the steps in each embodiment in the specification is only for the convenience of description, and the implementation of the present application is not limited by the order of the steps. The "connection" in the specification includes both direct connection and indirect connection.
[0076] The present invention discloses a text input system. Figure 1 is a schematic diagram of the composition of a text input system in one embodiment of the present invention; please refer to Figure 1 The text input system includes: a first text input module 1, a text database module 2, a first text comparison module 3, an input text selection module 4, a voice acquisition module 5, a voice recognition module 6, an associated acquisition module 7, an associated text selection module 8 and a selectable text adjustment module 9.
[0077] The first text input module 1 is used to input a set character or character combination through a set input method. It can be input through a variety of input methods; for Chinese text input, for example, it can be input through the pinyin input method, the Wubi input method, etc. The set characters can be input in the set area of the electronic device (such as a mobile phone, a computer, or even an industrial device).
[0078] The text database module 2 is used to store the characters or character combinations corresponding to each text under the set input method, the selectable text corresponding to each character or character combination, and the corresponding priority data representing the order.
[0079] The first text comparison module 3 is used to compare the characters or character combinations input by the first text input module 1 with the characters stored in the text database module 2, obtain at least one possible input character and the priority data of the character, and sort the characters from high to low according to the priority data of each character. The first text comparison module 3 can obtain the corresponding character priority based on the existing text input technology.
[0080] The input text selection module 4 is used to select a set number of texts from the texts obtained by the first text comparison module 3 and display them in a text selection area. For example, a bar frame can be displayed near the input area to display a set number of texts or text combinations for user selection.
[0081] The voice acquisition module 5 is used to acquire voice data. The voice acquisition module 5 may include a microphone to receive the user's voice data.
[0082] The speech recognition module 6 is used to recognize the speech data acquired by the speech acquisition module 5. The speech recognition module 6 can acquire the speech data acquired by the speech acquisition module 5 and perform recognition using existing speech recognition technology.
[0083] The association acquisition module 7 is used to obtain association data between the selectable text corresponding to the character or character combination input by the first text input module 1 and the voice data recognized by the voice recognition module 6 .
[0084] In one embodiment of the present invention, the text input system further includes an association database 10, and the association database 10 is used to store association data of each text. In one embodiment, the association database 10 stores association points of the text; the association points include at least one of part of speech, number of strokes, structure of the character, radical of Chinese characters, synonyms, usage scenarios, applied phrases or sentences, and serial numbers located in the text selection area.
[0085] The associated text selection module 8 is used to select at least one text associated with the voice data according to the associated data obtained by the associated acquisition module 7 .
[0086] The selectable text adjustment module 9 is used to adjust the priority data of the corresponding text according to the text selected by the associated text selection module, and adjust the text displayed in the text selection area according to the adjusted priority data.
[0087] The association acquisition module 7 is used to determine whether the voice data recognized by the voice recognition module 6 is the same as the association relationship data of the text input through the first text input method; if the same, the priority data of the corresponding input text is increased and its ranking is increased to make it more forward.
[0088] For example, the text display area (bar) displays six text combinations; the user inputs changch, and the bar displays: 1 Great Wall; 2 Changchun; 3 Taste; 4 Often; 5 Strength; 6 Long Chuan. The user's voice is changcha; the associated text selection module 8 analyzes the text combination with the pinyin of changcha in the corresponding database module, and increases its priority to facilitate the user's search.
[0089] In one embodiment of the present invention, the speech recognition module 6 is used to identify the number of segments of speech data; for speech data containing at least two segments, the speech data is segmented into a segment header part and a main part.
[0090] The speech recognition module 6 can be used to recognize the header part of the speech data and obtain the association point of the speech data, which corresponds to a set column of the association relationship database, and the column is used as a query column.
[0091] The speech recognition module 6 can be used to recognize the main part of the speech data as the query content of the speech data, so as to query whether the query column corresponding to each character in the query column contains the corresponding query content.
[0092] The present invention further discloses a text input method, Figure 2 is a flowchart of a text input method according to an embodiment of the present invention; please refer to Figure 2 , the text input method includes:
[0093] [Step S1] A first text input step, inputting a set character or character combination through a set input method;
[0094] [Step S2] A first character comparison step, comparing the character or character combination input in the first character input step with the characters stored in the character database module, obtaining at least one character that may be input and the priority data of the character, and sorting the characters from high to low according to the priority data of each character; the character database module stores the character or character combination corresponding to each character under the set input method, the selectable characters corresponding to each character or character combination, and the corresponding priority data representing the order;
[0095] [Step S3] a text selection step, in which a set number of characters are selected from the characters obtained in the first character comparison step and displayed in a text selection area;
[0096] [Step S4] Voice acquisition step, acquiring voice data;
[0097] [Step S5] A voice recognition step, identifying the voice data acquired in the voice acquisition step;
[0098] [Step S6] an association acquisition step, acquiring association data between the selectable text corresponding to the character or character combination input in the first text input step and the voice data recognized in the voice recognition step;
[0099] [Step S7] an associated text selection step, selecting at least one text associated with the voice data according to the associated data obtained in the associated acquisition step;
[0100] [Step S8] A text selection adjustment step, adjusting the priority data of the corresponding text according to the text selected in the associated text selection step, and adjusting the text displayed in the text selection area according to the adjusted priority data.
[0101] In one embodiment of the present invention, the text input method further includes: an association relationship database stores association relationship data of each text; in one embodiment, the association relationship database stores association points of the text; the association points include part of speech, number of strokes, structure of the character, Chinese character radicals, synonyms, usage scenarios, applied phrases or sentences, and at least one of the serial numbers located in the text selection area.
[0102] In the association acquisition step, it is determined whether the voice data recognized in the voice recognition step is the same as the association relationship data of the text input through the first text input method; if they are the same, the priority data of the corresponding input text is increased, and its ranking is increased to be closer to the front.
[0103] In one embodiment of the present invention, the speech recognition step includes:
[0104] Identify the number of segments of the voice data; for the voice data including at least two segments, segment the voice data into a segment header part and a main part;
[0105] Identify the header of the voice data and obtain a correlation point of the voice data, the correlation point corresponds to a set column of the correlation relationship database, and the column is used as a query column;
[0106] The main part of the voice data is identified as the query content of the voice data, so as to query in the query column whether the query column corresponding to each character contains the corresponding query content.
[0107] In summary, the text input system and method proposed in the present invention can improve the efficiency and accuracy of text input. In one use scenario of the present invention, the present invention can combine multiple text input methods to improve the efficiency of text input while ensuring the accuracy of text input.
[0108] It should be noted that the present application can be implemented in software and / or a combination of software and hardware; for example, it can be implemented using an application-specific integrated circuit (ASIC), a general-purpose computer, or any other similar hardware device. In some embodiments, the software program of the present application can be executed by a processor to implement the above steps or functions. Similarly, the software program of the present application (including related data structures) can be stored in a computer-readable recording medium; for example, a RAM memory, a magnetic or optical drive or a floppy disk and the like. In addition, some steps or functions of the present application can be implemented in hardware; for example, as a circuit that cooperates with a processor to perform various steps or functions.
[0109] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0110] The description and application of the present invention here are illustrative, and it is not intended to limit the scope of the present invention to the above-mentioned embodiments. The effects or advantages involved in the embodiments may not be embodied in the embodiments due to interference from various factors, and the description of the effects or advantages is not used to limit the embodiments. The deformation and change of the embodiments disclosed here are possible, and the replacement of the embodiments and the various equivalent parts are well known to those of ordinary skill in the art. It should be clear to those skilled in the art that the present invention can be implemented in other forms, structures, arrangements, proportions, and with other components, materials and parts without departing from the spirit or essential features of the present invention. Other deformations and changes can be made to the embodiments disclosed here without departing from the scope and spirit of the present invention.
Claims
1. A text input system, characterized in that: The text input system comprises: A first text input module, used to input a set character or character combination through a set input method; A character database module is used to store the characters or character combinations corresponding to each character under the set input method, the characters for selection corresponding to each character or character combination, and the corresponding priority data representing the order; A first character comparison module is used to compare the characters or character combinations input by the first character input module with the characters stored in the character database module, obtain at least one character that may be input, and the priority data of the character, and sort the characters from high to low according to the priority data of each character; An input text selection module, used to select a set number of texts from the texts obtained by the first text comparison module and display them in a text selection area; A voice acquisition module, used to acquire voice data; A speech recognition module, used to recognize the speech data acquired by the speech acquisition module; An association acquisition module, used for acquiring association data between the selectable text corresponding to the character or character combination input by the first text input module and the voice data recognized by the voice recognition module; An associated text selection module, used for selecting at least one text associated with the voice data according to the associated data acquired by the associated acquisition module; A text selection adjustment module, used to adjust the priority data of the corresponding text according to the text selected by the associated text selection module, and adjust the order of the text displayed in the text selection area according to the adjusted priority data; An association database for storing association data of each character; the association database stores association points of the characters; the association points include at least one of part of speech, number of strokes, character structure, Chinese character radical, synonym, usage scenario, applied phrase or sentence, and sequence number located in the character selection area; The association acquisition module is used to determine whether the speech data recognized by the speech recognition module is the same as the association relationship data of the text input through the first text input method; if they are the same, the priority data of the corresponding input text is increased, and its ranking is increased to make it more advanced; The speech recognition module is used to identify the number of segments of the speech data; for speech data containing at least two segments, the speech data is segmented into a segment header part and a main part; The speech recognition module is used to recognize the header part of the speech data and obtain the association point of the speech data, the association point corresponds to the set column of the association relationship database, and the column is used as the query column; The speech recognition module is used to recognize the main part of the speech data as the query content of the speech data, so as to query in the query column whether the query column corresponding to each character contains the corresponding query content.
2. A text input method, characterized in that: The text input method comprises: The first character input step is to input a set character or character combination by using a set input method; A first character comparison step is to compare the characters or character combinations input in the first character input step with the characters stored in the character database module, obtain at least one character that may be input, and priority data of the character, and sort the characters from high to low according to the priority data of each character; the character database module stores the characters or character combinations corresponding to each character under the set input method, the characters to be selected corresponding to each character or character combination, and the priority data representing the corresponding order; the character database module stores the characters or character combinations corresponding to each character under the set input method, the characters to be selected corresponding to each character or character combination, and the priority data representing the corresponding order; A step of inputting text for selection, selecting a set number of texts from the texts obtained in the first text comparison step and displaying them in a text selection area; A voice acquisition step, acquiring voice data; A speech recognition step for recognizing the speech data acquired in the speech acquisition step; an association acquisition step, acquiring association data between the selectable text corresponding to the character or character combination input in the first text input step and the voice data recognized in the voice recognition step; an associated character selection step, selecting at least one character associated with the voice data according to the associated data acquired in the associated acquisition step; a text selection adjustment step, adjusting the priority data of the corresponding text according to the text selected in the associated text selection step, and adjusting the text displayed in the text selection area according to the adjusted priority data; The text input method further comprises: storing the correlation data of each text in an association database; storing the correlation points of the text in the association database; the correlation points include at least one of part of speech, number of strokes, structure of the character, radical of Chinese character, synonym, usage scenario, applied phrase or sentence, and sequence number located in the text selection area; In the association acquisition step, whether the voice data recognized in the voice recognition step is the same as the association relationship data of the text input through the first text input method; if they are the same, the priority data of the corresponding input text is increased, and its ranking is increased to make it more forward; The speech recognition step comprises: Identify the number of segments of the voice data; for the voice data including at least two segments, segment the voice data into a segment header part and a main part; Identify the header of the voice data and obtain a correlation point of the voice data, the correlation point corresponds to a set column of the correlation relationship database, and the column is used as a query column; The main part of the voice data is identified as the query content of the voice data, so as to query in the query column whether the query column corresponding to each character contains the corresponding query content.
