WO2018032697A1 - 一种书写笔迹自动纠错方法及系统 - Google Patents

一种书写笔迹自动纠错方法及系统 Download PDF

Info

Publication number
WO2018032697A1
WO2018032697A1 PCT/CN2016/113334 CN2016113334W WO2018032697A1 WO 2018032697 A1 WO2018032697 A1 WO 2018032697A1 CN 2016113334 W CN2016113334 W CN 2016113334W WO 2018032697 A1 WO2018032697 A1 WO 2018032697A1
Authority
WO
WIPO (PCT)
Prior art keywords
inner code
error
combination
handwriting
group
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.)
Ceased
Application number
PCT/CN2016/113334
Other languages
English (en)
French (fr)
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.)
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shirui Electronics 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 Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shirui Electronics Co Ltd
Publication of WO2018032697A1 publication Critical patent/WO2018032697A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present invention relates to the field of writing input technology, and in particular, to a method and system for automatically correcting writing handwriting.
  • the writing input device allows the user to input desired characters by installing corresponding writing software, and the writing software works by: when the writing software detects that the user performs a writing input operation on the writing input device, by handwriting
  • the recognition technique converts the written handwriting of the user's writing input operation into an inner code, and converts the inner code into a corresponding character, and then displays the character on the display screen.
  • the writing software allows the user to conveniently input characters, phrases, and the like required by the user on the writing input device.
  • the handwriting recognition technology refers to the process of converting the ordered track information generated when writing on the handwriting device into the Chinese character inner code; and the inner code refers to the binary character code used in the computer Chinese character system, which is the communication input, output and
  • the exchange code between the system platforms can achieve the purpose of transmitting texts in a universal and efficient manner by using internal codes.
  • the existing writing software can not automatically correct the characters input by the user according to the context of the input content, so that when the user inputs the wrong character or the writing software recognizes the user's writing handwriting error, It is necessary for the user to delete the wrong characters and re-enter the correct characters, which will greatly consume the user's time, reduce the efficiency of the user's writing input, and also affect the user's operating experience.
  • an object of the present invention is to provide a writing handwriting automatic error correction method and system with high writing input efficiency and good user experience.
  • an aspect of the present invention provides an automatic handwriting error correction method, which includes the following steps:
  • S101 Listening the user's writing operation on the touch screen, converting the written handwriting recognized according to the writing operation into a corresponding current inner code, and saving the current inner code in the inner code database, and the current The handwriting corresponding to the inner code is displayed on the display screen;
  • S102 Generate an inner code group according to the current inner code and at least one generated inner code stored in the inner code database, and correct the inner code in the inner code group and the preset inner code error correction record library. Error combination for comparison, and within the judgment After the inner code error combination in the code error correction record library is consistent with the inner code group, the inner code group is replaced by an inner code correction combination corresponding to the inner code error combination;
  • the code error correction database stores an inner code error combination composed of at least two inner codes and an inner code correction combination corresponding to the inner code error combination;
  • step S102 is specifically:
  • S1022 Acquire an adjacent inner code corresponding to a previous storage address that is consecutive to a storage address of the end point;
  • the method for automatically correcting the writing handwriting further includes: determining that the inner code error combination in the inner code error correction recording library does not exist in the inner code group, and determining the inner code group Whether the number of codes is greater than a preset threshold; if yes, returning to step S101; if not, setting the storage address of the adjacent inner code as the end point, and returning to step S1022.
  • step S1022 the method further includes:
  • step S1023 is performed.
  • step S1025 is specifically:
  • the inner code group is replaced by an inner code correction combination corresponding to the inner code error combination;
  • the error flag is cleared when the user's operation for the error flag is not monitored within a preset time.
  • Another aspect of the present invention provides a writing handwriting automatic error correction system, comprising:
  • An identification display module configured to monitor a user's writing operation on the touch screen, convert the written handwriting recognized according to the writing operation into a corresponding current inner code, and save the current inner code in the inner code database, a handwriting corresponding to the current inner code is displayed on the display screen;
  • An inner code group error correction module configured to: according to the current inner code and at least one stored in the inner code database Generating an inner code to generate an inner code group, comparing the inner code group with an inner code error combination in a preset inner code error correction record library, and determining that the inner code error correction record library exists and After the inner code group is consistent with the inner code error combination, the inner code group is replaced by an inner code correction combination corresponding to the inner code error combination; wherein the inner code error correction database stores at least two An inner code error combination composed of inner codes and an inner code correction combination corresponding to the inner code error combination;
  • a handwriting error correction module for replacing a handwriting corresponding to the inner code in the inner code group with a handwriting corresponding to the inner code in the inner code correction combination on the display screen.
  • the inner code group error correction module specifically includes:
  • An endpoint setting unit configured to set a storage address of the current inner code in the inner code database as an end point
  • An obtaining unit configured to acquire a neighboring inner code corresponding to a previous storage address that is consecutive to a storage address of the end point;
  • An inner code group generating unit configured to generate an inner code group according to an inner code between the previous storage address and the storage address of the current inner code
  • a comparing unit configured to compare the inner code group with an inner code error combination in a preset inner code error correction record library
  • the inner code group replacing unit is configured to: after determining that the inner code error correction record library has an inner code error combination consistent with the inner code group, correcting the combination with the inner code corresponding to the inner code error combination The inner code group is replaced.
  • the writing handwriting automatic error correction system further includes:
  • a threshold value determining module configured to determine whether the number of inner codes in the inner code group is greater than a preset after determining that the inner code error correction record library does not have an inner code error combination consistent with the inner code group Threshold
  • a first returning module configured to notify the identification display module when the determination result of the threshold determination module is YES;
  • a setting module configured to: when the determination result of the threshold determination module is negative, set a storage address of the adjacent inner code as an end point, and notify the acquiring unit.
  • the writing handwriting automatic error correction system further includes:
  • a symbol inner code determining module configured to determine whether the adjacent inner code is an inner code corresponding to the symbol
  • a second returning module configured to notify the identification display module when the judgment result of the symbol inner code determination module is YES;
  • an execution module configured to notify the inner code group generating unit when the determination result of the symbol inner code determining module is negative.
  • the inner code group replacement unit includes:
  • the error flag subunit is configured to display an error on the handwriting corresponding to the inner code in the inner code group after determining that the inner code error correction record library has an inner code error combination consistent with the inner code group mark;
  • the inner code group replacement subunit is configured to replace the inner code group with an inner code correction combination corresponding to the inner code error combination if the user's operation for the error flag is monitored within a preset time deal with;
  • the error flag clearing unit is configured to clear the error flag if the user's operation for the error flag is not monitored within a preset time.
  • the invention provides an automatic error correction method and system for writing handwriting, which compares the inner code group with an inner code error combination in a preset inner code error correction record library, and determines the inner code correction After the error code combination in the error record library is consistent with the inner code group, the inner code group is replaced by the inner code correction combination corresponding to the inner code error combination, and finally on the display screen. A handwriting corresponding to the inner code in the inner code group is replaced with a handwriting corresponding to the inner code in the inner code correction combination.
  • the present invention can detect the error of the written handwriting written by the user, and can automatically replace the detected wrong handwriting with the correct character handwriting, without the user having to delete the wrong writing handwriting and then input. Correct handwriting, thus greatly improving the efficiency of writing input and also improving the user experience.
  • FIG. 1 is a flowchart of a method for automatically correcting writing handwriting according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for automatically correcting writing handwriting according to an embodiment of the present invention
  • FIG. 3 is a flowchart of another automatic writing error correction method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an automatic handwriting error correction system according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another automatic writing and writing error correction system according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another automatic writing and writing error correction system according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another automatic writing and writing error correction system according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of the inner code group error correction unit according to an embodiment of the present invention.
  • the invention provides a method for automatically correcting writing handwriting for improving the efficiency of writing input and the user experience. Please refer to FIG. 1 , which specifically includes steps S101 to S103:
  • the handwriting recognition technique converts the handwriting of the two characters into a Chinese character inner code that can be recognized by the computer, and then " The "end” is converted to GBK code "50345", and “to” is converted to GBK code "49332".
  • the current inner code is saved in the inner code database, and then "last” or “display” is displayed on the display screen. Come”.
  • the specific working process of “transforming the written handwriting recognized according to the writing operation into a corresponding current inner code” is: generating a user input operation by handwriting recognition technology.
  • the written handwriting analysis is processed into corresponding handwriting data and converted into the corresponding current inner code.
  • the handwriting data refers to a coordinate sequence that is analyzed and processed by disassembling the strokes of the written handwriting, and the handwriting data is passed through the current inner code corresponding to the current internal code as the main key.
  • the keyword saves the handwriting data to the handwriting storage database.
  • the primary key is referred to as a primary key, and is one or more fields in the table, and its value is used to uniquely identify a certain record in the table. In the relationship between two tables, the primary key is used to reference a specific record from another table in one table.
  • the handwriting recognition technology acquires the handwriting data of the "last” word and converts the "last” word into the GBK code "50345"
  • the current inner code "50345" is used in the text disassembly data table.
  • the primary key stores the stroke data "50345_01”, “50345_02”, “50345_03”, “50345_04” and “50345_05” corresponding to the "last" word in the text disassembly data table, and then in the stroke key point data table
  • the text data in the data table is disassembled as a primary key, and coordinate data corresponding to the stroke data is saved in the stroke key data table:
  • the primary key "50345_02" the coordinate data is "x0, y0; x2y2";
  • the primary key "50345_03" the coordinate data is "x0, y0; x3y3";
  • the primary key is "50345_05" and the coordinate data is "x0, y0; x5y5".
  • the inner code corresponding to the handwriting data may be first searched in the inner code database, and then the inner code is used. Obtaining, according to the primary key, the stroke data corresponding to the stroke data in the text disassembly data table, and then acquiring coordinate data corresponding to the stroke data in the stroke key point data table, and finally passing the coordinate data
  • the handwriting restoration technique restores the corresponding characters displayed on the display screen.
  • S102 Generate, according to the current inner code and at least one generated inner code stored in the inner code database. a code group, comparing the inner code group with an inner code error combination in a preset inner code error correction record library, and determining that the inner code error correction record library is consistent with the inner code group After the combination of the code errors, the inner code group is subjected to a replacement process by using an inner code correction combination corresponding to the inner code error combination; wherein the inner code error correction database stores an inner part composed of at least two inner codes. A code error combination and an inner code correction combination corresponding to the inner code error combination.
  • the current inner code and at least one of the inner codes that have been stored in the inner code database are in accordance with a sequence of storage time of the current inner code and the inner code or
  • the inner code is combined with a preset rule such as a sequence of the inner code and the handwriting conversion time of the inner code, wherein the inner code and the inner code are internally coded according to the order of the storage time.
  • the current inner code is combined with the inner code in the inner code database that is closest to the current inner code and before the storage time of the current inner code, and the inner code is combined.
  • the inner code is arranged in front of (or after) the current inner code in the inner code group, and at this time, the number of inner codes in the inner code group is two.
  • the current inner code and the inner code may also continue to perform inner code combination with other inner codes in the inner code database, thereby causing the The number of the inner codes in the inner code group is three or four, etc.; it can be understood that the manner of combining the other inner code with the current inner code and the inner code and the current inner code and the The manner of combining the inner codes is the same, and will not be described here.
  • the inner code is combined with the current inner code and the at least one inner code according to the order of the storage time. The way of combining is the same and will not be described here.
  • the preset rule may also be another internal code combination manner, which is not specifically limited herein.
  • the number of inner codes and the inner code group in the inner code group and the inner code error correction record library are combined.
  • the inner code error combination in which the number of inner codes is the same is compared, that is, whether there is an inner code error combination consistent with the inner code group in the inner code error correction record library.
  • the number of the inner code groups is two, and then the inner code group can be The inner code error combination, which is the same as the number of inner codes, is compared.
  • the inner code group is subjected to a replacement process by using an inner code correction combination corresponding to the inner code error combination. For example, when the "last" word and the "to” word that the user has written input have generated the inner code group "50345, 49332", and the "end” and “to” are acquired in the inner code error correction record library.
  • the inner code error correction combination "50345, 49332" this time will replace the "end” and “to” inner code group with "no” (internal code is "52916") and "come” Combine “52916, 49332".
  • the number of inner codes when it is judged that the number of inner codes is two inner code groups, the number of inner codes can be continuously determined to be three. Or the inner code group of four or the like, the judging process is the same as the judging process of the inner code group having two inner code numbers, and when it is judged that the inner code is present in the inner code error correction record library
  • the inner code error correction combination is the same for the group (the number of inner codes of the inner code group is three or four, etc.), the inner code group is the same as the replacement process of the inner code group described above.
  • the process of determining the inner code group may be based on the inner code error in the error code recording library of the inner code first.
  • the inner code group having two inner code numbers is combined and judged, when there is no inner code error combination consistent with the inner code group, the inner code combination having three inner code numbers is performed, and then the continuation is continued.
  • the number of internal codes in the code group reaches a preset threshold (for example, three or four, etc.); or it may be an internal code combination of different internal code numbers as needed (for example, the number of internal codes is two or three) Or four or the like of the inner code group), and then judging one by one with the inner code error in the inner code error correction record library until judging that the inner code error correction record library exists and The inner code error combination in which the inner code group is consistent or the inner code group is already He finished off.
  • the inner code error combination is to input an error-prone word or a sentence inner code combination into the inner code error correction record library in advance, and can also be upgraded continuously. Updating the inner code error combination in the inner code error correction record database, or allowing the user to enter a word, a sentence that is easy to write wrong, and convert the wrong word and sentence into a corresponding inner code error combination, and then The inner code error combination is stored in the inner code error correction record library, so that the number of the inner code error combinations in the inner code error correction record library can be increased. In addition, when a new inner code error combination is updated into the inner code error correction record library, a new inner code correction combination corresponding to the inner code error combination is also updated into the inner code error correction combination.
  • the code error correction record library is to input an error-prone word or a sentence inner code combination into the inner code error correction record library in advance, and can also be upgraded continuously. Updating the inner code error combination in the inner code error correction record database, or allowing the user to enter a word, a sentence that
  • the present invention by comparing the inner code group with the inner code error combination in the preset inner code error correction record library, and determining the inner code error correction record library After there is an inner code error combination consistent with the inner code group, the inner code group is replaced by an inner code correction combination corresponding to the inner code error combination, and finally, the display is used on the display screen.
  • the handwriting corresponding to the inner code in the inner code correction combination replaces the handwriting corresponding to the inner code in the inner code group. Therefore, the present invention can detect the error of the written handwriting written by the user, and can automatically replace the detected written handwriting with the correct character handwriting, without the user having to delete the wrong writing handwriting and then input the correct writing. Handwriting, thus greatly improving the efficiency of writing input and also improving the user experience.
  • S102 is specifically:
  • the storage address of the current inner code is set as an end point. It should be noted that when the user writes the first character on the touch screen, the storage address corresponding to the inner code of the character is set as the end point, and when the user continues to write and input the next character, The storage address corresponding to the inner code of the next character is set to the end point, and so on. For example, if the user first writes the input "end” word, then the storage address corresponding to the inner code "50345" is set as the end point, and when the user continues to write the input "come” word, then the inner code "49332" corresponds. The storage address is set to the end point, and the storage address corresponding to the "end” internal code is no longer the end point.
  • S1022 Acquire an adjacent inner code corresponding to a previous storage address that is consecutive to a storage address of the end point;
  • the storage addresses of the inner codes in the inner code database are consecutive and the inner codes are saved according to the order of the conversion times of the inner codes. For example, when the user has already input the word "last" on the touch screen, continue to input the word "coming", at this time, the storage address corresponding to the inner code of the word "to” is set as the end point, and then the storage address is obtained. The inner code of the "last" word before the storage address of the "to” word inner code.
  • an inner code group is generated by storing an inner code between an address of the adjacent inner code and a storage address of the current inner code, wherein a storage address of the inner code in the inner code group
  • the storage addresses of the inner codes in the continuous and inner code groups are sorted and combined from front to back. For example, when the user has already entered the word "last" on the touch screen, continue to input the word "coming", and this time, the inner code "50345" of the "end” and the inner code "49332" of the "come” are combined into one.
  • the inner code group is "50345, 49332".
  • the inner code error correction record library stores an inner code error combination composed of at least two inner codes and an inner code correction combination corresponding to the inner code error combination.
  • the inner code group is compared with the inner code error combination in which the number of inner codes and the number of inner codes in the inner code group are the same. For example, when the user has written the input "end” and “coming”, the inner code combination "50345, 49332" of "last” and “coming” and the inner code number in the inner code error correction record library are The two inner code errors are combined for comparison.
  • the inner code correction combination corresponding to the inner code error combination performs a replacement process on the inner code group.
  • the inner code correction combination corresponding to the inner code error combination is stored in the inner code error correction record library, and the inner code error correction record library is consistent with the inner code group.
  • the inner code error correction record library is consistent with the inner code group.
  • the automatic writing error correction method further includes steps S104-S106:
  • a commonly used phrase is a two-word word, a three-word word or a four-word idiom, so that the correction efficiency and the calculation efficiency are comprehensively considered, and the threshold is set to 3, that is, the inner code group
  • the number of internal codes in can be up to four.
  • the threshold may also be set to other values (greater than or equal to 2), which is not specifically limited in the present invention.
  • step S105 if yes, return to step S101.
  • the storage address corresponding to the inner code of the “empty” word is set as the end point, and then obtained.
  • the internal code of the "row” word preceding the storage address of the "empty” word code is stored, and it is determined that there is no inner code error in the inner code error correction record library that is consistent with the inner code group generated by the two characters. After the combination, it is determined that the number of inner codes in the inner code group corresponding to the two characters is not more than three. At this time, the storage address corresponding to the inner code of the "row” word is set as the end point, and then the storage is obtained.
  • the inner code of the "horse" word preceding the storage address of the inner code of the "row” word determines that there is no inner code error combination consistent with the inner code group generated by the three characters in the inner code error correction record library. Then, it is determined that the number of inner codes in the inner code group corresponding to the three characters is not more than three. At this time, the storage address corresponding to the inner code of the "horse” word is set as the end point, and then the storage address is obtained.
  • the present invention in some cases (for example, two words or more), it is necessary to perform inner code combination on the inner code corresponding to the plurality of characters to determine whether the inner code corresponding to the character has an error, so After determining that the inner code error correction record library does not have an inner code error combination that is consistent with the inner code group, determining whether the number of inner codes in the inner code group is greater than a preset threshold may be determined. When the inner code group is set, the number of inner codes in the inner code group may be two or more, thereby improving the accuracy of error correction.
  • steps S1031 to S1033 are further included:
  • S1031 Determine whether the adjacent inner code is an inner code corresponding to the symbol.
  • step S1032 if yes, return to step S101.
  • the adjacent inner code is an inner code converted by a symbol
  • step S1023 is performed.
  • the current inner code may be stopped.
  • the inner code converted by the symbol performs inner code combination, thereby saving computing resources, improving the generation efficiency of the inner code group, and further improving the judgment efficiency of the inner code group.
  • step S1025 specifically includes steps S10251 to S10253:
  • an error flag is displayed on the handwriting corresponding to the inner code in the inner code group. So that the user can be reminded of the display error flag There may be an error in the character handwriting.
  • the error flag may be displayed on the character handwriting corresponding to all the inner codes in the inner code group, or may be displayed on the character handwriting in the inner code group where the error occurs. For example, when it is detected that the inner code combination of "last" "coming” coincides with one of the inner code error correction combinations in the inner code error correction record library, at this time, "end” "come” can be used.
  • the error flag is displayed on the two character handwriting, and the error flag can also be displayed on the character handwriting of "last".
  • the error mark may be a descending line of the character handwriting displayed on the display screen, or may be a color displayed on the display screen different from the character handwriting having no error, for example, An uncharacterized character handwriting is displayed in black on the display screen, and an erroneous character handwriting is displayed in red on the display screen; it should be noted that the error flag may also be in other forms as long as the error flag is The form allows the user to easily distinguish the character handwriting having the error on the display screen, and is therefore within the scope of the present invention.
  • the inner code group is replaced with an inner code error correction combination corresponding to the inner code error combination.
  • the operation of the user for the error flag when the operation of the user for the error flag is monitored within a preset time, it indicates that the user wants to replace the inner code combination with the wrong inner code combination with the correct inner code combination.
  • the inner code error combination is combined with the inner code error correction combination.
  • the operation of the user for the error flag is preferably a click operation on the error mark on the touch screen.
  • the operation may also be another gesture operation, which is not specifically limited herein;
  • the time is preferably 1 second, and may of course be other time values, and is not specifically limited herein.
  • the user has written the words "end” and "to” on the touch screen, and acquired the inner code error correction combination "50345" of "end” and "to” in the inner code error correction record library.
  • the handwriting corresponding to the inner code in the inner code group is An error flag is displayed on the screen to prompt the user that the handwriting may input an error.
  • the user's operation for the error flag is monitored within a preset time, the user wants to replace the inner code combination with the error.
  • the inner code error correction combination in which the inner code group is replaced by the inner code error correction combination corresponding to the inner code error combination, so that when the user inputs the default character handwriting, the user can select according to the user's needs. Decide whether to correct it, so as to give the user the initiative in the process of character handwriting error correction, thereby improving the user experience.
  • the present invention provides an automatic handwriting correction system for improving the efficiency of writing input and the user experience. Please refer to FIG. 4, which specifically includes:
  • the identification display module 101 is configured to monitor a writing operation of the user on the touch screen, convert the written handwriting recognized according to the writing operation into a corresponding current inner code, and save the current inner code in the inner code database. Displaying a handwriting corresponding to the current inner code on the display screen;
  • the inner code group error correction module 102 is configured to generate an inner code group according to the current inner code and at least one already generated inner code stored in the inner code database, and the inner code group and the preset inner code Comparing the inner code error combinations in the error correction record library, and determining that the inner code error combination in the inner code error correction record library is consistent with the inner code error combination, and corresponding to the inner code error combination
  • the inner code correction combination performs a replacement process on the inner code group; wherein the inner code error correction database stores an inner code error combination composed of at least two inner codes and an inner code corresponding to the inner code error combination Correct the combination;
  • the handwriting error correction module 103 is configured to replace, on the display screen, a handwriting corresponding to the inner code in the inner code group with a handwriting corresponding to the inner code in the inner code correction combination.
  • the inner code group is compared with the inner code error combination in the preset inner code error correction record library by the inner code group error correction module 102, and the inner code group error correction module 102 determines After the inner code error correction record library has the inner code error combination consistent with the inner code group, the inner code group error correction module 102 corrects the combination with the inner code corresponding to the inner code error combination.
  • the inner code group performs replacement processing, and finally the handwriting error correction module 103 replaces the inner code in the inner code group with the handwriting corresponding to the inner code in the inner code correction combination on the display screen. Handwriting.
  • the present invention can detect the error of the written handwriting written by the user, and can automatically replace the detected wrong handwriting with the correct character handwriting, without the user having to delete the wrong writing handwriting and then input. Correct handwriting, thus greatly improving the efficiency of writing input and also improving the user experience.
  • the inner code group error correction module 102 specifically includes:
  • the destination setting unit 1021 is configured to set a storage address of the current inner code in the inner code database as an end point
  • the obtaining unit 1022 is configured to acquire a neighboring inner code corresponding to a previous storage address that is consecutive to the storage address of the end point;
  • the inner code group generating unit 1023 is configured to generate an inner code group according to an inner code between the previous storage address and the storage address of the current inner code;
  • the comparing unit 1024 is configured to compare the inner code group with an inner code error combination in a preset inner code error correction record library; the inner code group replacing unit 1025 is configured to determine the inner code error correction record library After there is an inner code error combination consistent with the inner code group, the inner code group is replaced by an inner code correction combination corresponding to the inner code error combination.
  • the sequence of the current internal code and the storage address of the inner code is used as the preset rule by the destination setting unit 1021 and the obtaining unit 1022, and then the inner code group is followed.
  • the generating unit 1023 performs inner code combination by using the preset rule, and then determines the inner code group by the comparing unit 1024, and finally performs inner code replacement processing by the inner code group replacing unit 1025, so that an error can be made.
  • the inner code group is replaced with the correct inner code group, so that the wrong handwriting can be replaced with the correct handwriting.
  • the writing handwriting automatic error correction system further includes:
  • the threshold value determining module 104 is configured to determine whether the number of inner codes in the inner code group is greater than a pre-determination after determining that there is no inner code error combination consistent with the inner code group in the inner code error correction record library Threshold
  • the first return module 105 if yes, notify the identification display module 103;
  • the setting module 106 is configured to, if not, set the storage address of the adjacent inner code as an end point, and notify the acquiring unit 1022.
  • the threshold value determining module 104 determines that there is no inner code error combination in the inner code error correction record library that is consistent with the inner code group, and determines, by the threshold value determining module 104, the inner code group Whether the number of inner codes is greater than a preset threshold may be such that the number of inner codes in the inner code group may be two or more when determining the inner code group, thereby improving the accuracy of error correction.
  • the writing handwriting automatic error correction system further includes: a symbol inner code determining module 1031, configured to determine whether the adjacent inner code is within the symbol
  • the second returning module 1032 is configured to notify the identification display module if yes
  • the execution module 133 is configured to notify the inner code group generating unit if not.
  • the intra-symbol code determining module 1031 determines whether the adjacent inner code is an inner code corresponding to the symbol, and may determine that the adjacent inner code is the inner code of the symbol. , stopping the current inner code and symbol The converted inner code performs inner code combination, thereby saving computing resources, improving the generation efficiency of the inner code group, and further improving the judgment efficiency of the inner code group.
  • the inner code group error correction unit 1025 includes:
  • the error flag subunit 10251 is configured to display, on the handwriting corresponding to the inner code in the inner code group, after determining that there is an inner code error combination in the inner code error correction record library that is consistent with the inner code group Error flag
  • the inner code group replacement subunit 10252 is configured to: if the user's operation for the error flag is monitored within a preset time, perform the inner code group with an inner code correction combination corresponding to the inner code error combination Replacement processing.
  • the error flag clearing sub-unit 10253 is configured to clear the error flag if the user's operation for the error flag is not monitored within a preset time.
  • the error flag subunit 10251 is An error flag is displayed on the handwriting corresponding to the inner code in the inner code group, so as to prompt the user that the handwriting may input an error, and when the user's operation for the error flag is monitored within a preset time, the user is indicated. It is desirable to replace the inner code combination with the error with the correct inner code combination, that is, the inner code error correction combination corresponding to the inner code error combination, at which time the sub-unit replacement unit 10252 is used by the inner code group.
  • the inner code error correction combination corresponding to the inner code error combination replaces the inner code group, so that when the user inputs the wrong character handwriting by default, the user can decide whether to correct the error according to the user's needs, thereby In the process of character handwriting error correction, the user can be given the initiative, thereby improving the user experience.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

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)
  • Character Discrimination (AREA)

Abstract

一种书写笔迹自动纠错方法,包括以下步骤:监听用户在触摸屏上的书写操作,将根据书写操作识别到的书写笔迹转化成相应的当前内码,并将当前内码保存在内码数据库中后,将与当前内码对应的笔迹显示在显示屏上(S101);根据当前内码及至少一个已经生成的内码生成内码组,将内码组与预设的内码纠错记录库中的内码错误组合进行对比,并在判断内码纠错记录库中存在与内码组一致的内码错误组合后,用与内码错误组合对应的内码纠正组合对内码组进行替换处理(S102);在显示屏上用与内码纠正组合中的内码对应的笔迹替换与对内码组中的内码对应的笔迹(S103)。所述方法提高了书写输入的效率和用户的体验。

Description

一种书写笔迹自动纠错方法及系统 技术领域
本发明涉及书写输入技术领域,尤其涉及一种书写笔迹自动纠错方法及系统。
背景技术
随着信息技术的发展,目前出现了各种书写输入设备,比如说智能手机,智能平板和手写板等。书写输入设备是通过安装有相对应的书写软件来让用户输入所需要的字符,而所述书写软件的工作过程是:当书写软件检测到用户在书写输入设备上进行书写输入操作时,通过手写识别技术将用户书写输入操作的书写笔迹转化为内码,并通过将内码转化为对应的字符,然后在显示屏上显示出该字符。书写软件可以让用户很方便地在书写输入设备上输入字符、词组等用户所需要的内容。其中,手写识别技术是指将在手写设备上书写时产生的有序轨迹信息化转化为汉字内码的过程;而内码是指计算机汉字系统中使用的二进制字符编码,是沟通输入、输出与系统平台之间的交换码,通过内码可以达到通用和高效率传输文本的目的。
但是现有的书写软件并不可以根据所输入的内容的前后文来对用户所输入的字符自动进行纠错,这样用户在输入错误的字符时或者是书写软件对用户的书写笔迹识别错误时,就需要用户删除错误的字符并重新输入正确的字符,这样会大大耗费用户的时间,降低了用户的书写输入的效率,而且也影响了用户的操作体验。
发明内容
针对上述问题,本发明的目的在于提供一种书写输入效率高且具有良好的用户体验的书写笔迹自动纠错方法及系统。
为了实现上述目的,本发明一方面提供了一种书写笔迹自动纠错方法,其包括以下步骤:
S101,监听用户在触摸屏上的书写操作,将根据所述书写操作识别到的书写笔迹转化成相应的当前内码,并将所述当前内码保存在内码数据库中后,将与所述当前内码对应的笔迹显示在显示屏上;
S102,根据所述当前内码及保存于所述内码数据库中的至少一个已经生成的内码生成内码组,将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比,并在判断所述内 码纠错记录库中存在与所述内码组一致的内码错误组合后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理;其中,所述内码纠错数据库内存储有由至少两个内码组成的内码错误组合及与所述内码错误组合对应的内码纠正组合;
S103,在所述显示屏上用与所述内码纠正组合中的内码对应的笔迹替换与对所述内码组中的内码对应的笔迹。
进一步地,步骤S102具体为:
S1021,将所述当前内码在所述内码数据库中的存储地址设为终点;
S1022,获取与所述终点的存储地址连续的前一个存储地址对应的相邻内码;
S1023,根据存储地址位于所述的前一个存储地址与所述当前内码的存储地址之间的内码,生成内码组;
S1024,将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比;
S1025,当判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理。
进一步地,所述书写笔迹自动纠错方法还包括:当判断所述内码纠错记录库中不存在与所述内码组一致的内码错误组合后,判断所述内码组中的内码的数量是否大于预设的阈值;若是,则返回步骤S101;若否,则将所述相邻内码的存储地址设置为终点,并返回步骤S1022。
进一步地,在步骤S1022之后,还包括:
判断所述相邻内码是否为与符号对应的内码;
若是,则返回步骤S101;
若否,则执行步骤S1023。
进一步地,步骤S1025具体为:
当判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,在与所述内码组中的内码对应的笔迹上显示错误标记;
当在预设时间内监听到用户针对所述错误标记的操作后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理;
当在预设时间内未监听到用户针对所述错误标记的操作后,则清除所述错误标记。
本发明另一方面提供了一种书写笔迹自动纠错系统,包括:
识别显示模块,用于监听用户在触摸屏上的书写操作,将根据所述书写操作识别到的书写笔迹转化成相应的当前内码,并将所述当前内码保存在内码数据库中后,将与所述当前内码对应的笔迹显示在显示屏上;
内码组纠错模块,用于根据所述当前内码及保存于所述内码数据库中的至少一个已经生 成的内码生成内码组,将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比,并在判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理;其中,所述内码纠错数据库内存储有由至少两个内码组成的内码错误组合及与所述内码错误组合对应的内码纠正组合;
笔迹纠错模块,用于在所述显示屏上用与所述内码纠正组合中的内码对应的笔迹替换与所述内码组中的内码对应的笔迹。
进一步地,所述内码组纠错模块具体包括:
终点设置单元,用于将所述当前内码在所述内码数据库中的存储地址设为终点;
获取单元,用于获取与所述终点的存储地址连续的前一个存储地址对应的相邻内码;
内码组生成单元,用于根据存储地址位于所述的前一个存储地址与所述当前内码的存储地址之间的内码,生成内码组;
对比单元,用于将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比;
内码组替换单元,用于当判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理。
进一步地,所述书写笔迹自动纠错系统还包括:
阀值判断模块,用于当判断所述内码纠错记录库中不存在与所述内码组一致的内码错误组合后,判断所述内码组中的内码的数量是否大于预设的阈值;
第一返回模块,用于在所述阈值判断模块的判断结果为是时,通知所述识别显示模块;
设置模块,用于在所述阈值判断模块的判断结果为否时,将所述相邻内码的存储地址设置为终点,并通知所述获取单元。
进一步地,所述书写笔迹自动纠错系统还包括:
符号内码判断模块,用于判断所述相邻内码是否为与符号对应的内码时;
第二返回模块,用于在所述符号内码判断模块的判断结果为是时,通知所述识别显示模块;
执行模块,用于在所述符号内码判断模块的判断结果为否时,通知所述内码组生成单元。
进一步地,所述内码组替换单元包括:
错误标记子单元,用于当判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,在与所述内码组中的内码对应的笔迹上显示错误标记;
内码组替换子单元,用于若当在预设时间内监听到用户针对所述错误标记的操作后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理;
错误标记清除单元,用于若当在预设时间内未监听到用户针对所述错误标记的操作后,则清除所述错误标记。
本发明提供的一种书写笔迹自动纠错方法及系统,通过将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比,并在判断出所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理,最后在所述显示屏上用与所述内码纠正组合中的内码对应的笔迹替换与所述内码组中的内码对应的笔迹。综上所述,本发明可以检测出用户书写输入的书写笔迹所存在的错误,并可以自动将检测出的错误的书写笔迹替换为正确的字符笔迹,无需用户重新删除错误的书写笔迹后再输入正确的书写笔迹,因此大大提高了书写输入的效率并且也提高了用户的体验。
附图说明
为了更清楚地说明本发明的技术方案,下面将对实施方式中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种书写笔迹自动纠错方法的流程图;
图2是本发明实施例提供的另一种书写笔迹自动纠错方法的流程图;
图3是本发明实施例提供的另一种书写笔迹自动纠错方法的流程图;
图4是本发明实施例提供的一种书写笔迹自动纠错系统的结构示意图;
图5是本发明实施例提供的另一种书写笔迹自动纠错系统的结构示意图;
图6是本发明实施例提供的另一种书写笔迹自动纠错系统的结构示意图;
图7是本发明实施例提供的另一种书写笔迹自动纠错系统的结构示意图;
图8是本发明实施例提供的所述内码组纠错单元的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明提供了一种书写笔迹自动纠错方法,用于提高书写输入的效率和用户的体验。请参见图1,其具体包括步骤S101~步骤S103:
S101,监听用户在触摸屏上的书写操作,将根据所述书写操作识别到的书写笔迹转化成 相应的当前内码,并将所述当前内码保存在内码数据库中后,将与所述当前内码对应的笔迹显示在显示屏上。
例如,当用户在所述触摸屏上书写输入“末”或者“来”这两个字符时,通过手写识别技术将这两个字符的手写笔迹转化为计算机能够识别的汉字内码,此时将“末”转化为GBK编码“50345”,将“来”转化为GBK编码“49332”。当“末”或者“来”都转化为相对应的所述当前内码时,将所述当前内码保存在所述内码数据库中,然后在所述显示屏上显示出“末”或者“来”。
需要说明的是,在本发明实施中,所述“将根据所述书写操作识别到的书写笔迹转化成相应的当前内码”的具体工作过程为:通过手写识别技术将用户书写输入操作所生成的书写笔迹分析处理为相对应的笔迹数据并将所述书写笔迹转化为相对应的所述当前内码。其中,所述笔迹数据指的是由书写笔迹的笔画经过拆解而分析处理出来的坐标序列,而且所述笔迹数据以与之相对应的所述当前内码作为主关键字,通过所述主关键字将所述笔迹数据保存到笔迹存储数据库中。其中,所述主关键字简称主键,是表中的一个或多个字段,它的值用于唯一地标识表中的某一条记录。在两个表的关系中,主关键字用来在一个表中引用来自于另一个表中的特定记录。
例如,当通过手写识别技术获取出“末”字的笔迹数据时并将“末”字转化为GBK编码“50345”,此时在文字拆解数据表中以所述当前内码“50345”作为主键,将与“末”字相对应的笔画数据“50345_01”、“50345_02”、“50345_03”、“50345_04”与“50345_05”保存在所述文字拆解数据表中,然后在笔画关键点数据表中以文字拆解数据表中的所述笔画数据作为主键,将与所述笔画数据相对应的坐标数据保存在所述笔画关键点数据表中:
主键“50345_01”,坐标数据为“x0,y0;x1y1”;
主键“50345_02”,坐标数据为“x0,y0;x2y2”;
主键“50345_03”,坐标数据为“x0,y0;x3y3”;
主键“50345_04”,坐标数据为“x0,y0;x4y4”;
主键“50345_05”,坐标数据为“x0,y0;x5y5”。
需要说明的是,当需要在所述显示屏上还原显示出该笔迹数据所对应的字符时,可以先在内码数据库中查找出与该笔迹数据相对应的内码,然后以所述内码作为主键在所述文字拆解数据表中获取与之对应的所述笔画数据,接着在所述笔画关键点数据表中获取与所述笔画数据相对应的坐标数据,最后将所述坐标数据通过笔迹还原技术在所述显示屏上还原显示为相对应的字符。
S102,根据所述当前内码及保存于所述内码数据库中的至少一个已经生成的内码生成内 码组,将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比,并在判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理;其中,所述内码纠错数据库内存储有由至少两个内码组成的内码错误组合及与所述内码错误组合对应的内码纠正组合。
在本发明实施例中,所述当前内码与已经存储在所述内码数据库中的至少一个所述内码是根据所述当前内码与所述内码的存储时间的先后顺序或者所述当前内码与所述内码的笔迹转化时间的先后顺序等预设的规则来进行内码组合的,其中,当所述当前内码与所述内码是根据存储时间的先后顺序进行内码组合时,所述当前内码与所述内码数据库中存储时间与所述当前内码最接近的且在所述当前内码的存储时间之前的所述内码进行内码组合,且所述内码在内码组中排在所述当前内码的前面(或者后面),这时,所述内码组中的内码数量为两个。另外所述当前内码与所述内码进行内码组合后,所述当前内码与所述内码也可以继续与所述内码数据库中的其他内码进行内码组合,从而使得所述内码组中的所述内码的数量为三个或者四个等;可以理解的是,其他内码与所述当前内码和所述内码的组合的方式与所述当前内码与所述内码的组合的方式是一样的,在此不在赘述。此外,所述当前内码与至少一个所述内码根据其笔迹转化时间的先后顺序进行内码组合时与所述当前内码与至少一个所述内码根据其存储时间的先后顺序进行内码组合的方式是一样的,在此不再赘述。需要说明的是,所述预设的规则还可以为其他的内码组合方式,在此不做具体限定。
当所述当前内码与所述内码数据库中的所述内码进行内码组合后,将所述内码组与所述内码纠错记录库中的内码数量和所述内码组中的内码数量相同的所述内码错误组合进行对比,即,判断所述内码纠错记录库中是否存在与所述内码组一致的内码错误组合。例如,当所述当前内码与其中一个所述内码数据库中的所述内码进行内码组合时,这时所述内码组中的数量为两个,然后可以将所述内码组与内码数量同样为两个的所述内码错误组合进行对比。即,当用户已经书写输入“末”和“来”时(即所述当前内码与所述内码进行内码组合成的所述内码组中的数量为两个),将“末”和“来”的内码组合“50345、49332”与所述内码纠错记录库中的所述内码数量为两个的所述内码错误组合进行对比。
当所述内码纠错记录库中存在与所述内码组一致的内码错误组合时,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理。例如,当已经将用户书写输入的“末”字和“来”字生成内码组“50345、49332”时,并在所述内码纠错记录库中获取到“末”和“来”的内码纠错组合“50345、49332”,这个时候就会将“末”和“来”的内码组替换为“未”(内码为“52916”)和“来”所组成的内码纠正组合“52916、49332”。
可以理解的是,当判断完内码数量为两个的所述内码组时,可以继续判断内码数量为三 个或者四个等的所述内码组,判断过程与内码数量为两个的所述内码组的判断过程一样,且当判断所述内码纠错记录库中存在与所述内码组(所述内码组的内码数量为三个或者四个等)一致的所述内码纠错组合时,所述内码组与上述的内码组的替换过程相同。
其中,判断所述内码组(所述内码组的内码数量可以为两个、三个或者四个等)过程可以是先根据所述内码纠错记录库中的所述内码错误组合判断完内码数量为两个的所述内码组的时候,当不存在与所述内码组一致的内码错误组合时再进行内码数量为三个的内码组合,然后再继续判断内码数量为三个的所述内码组,依次类推,直到判断出所述内码纠错记录库中存在与所述内码组相一致的所述内码错误组合或者是所述内码组中的内码数量达到预设的阀值(例如为三个或者四个等);也可以是根据需要先进行不同的内码数量的内码组合(例如内码数量为两个、三个或者是四个等的所述内码组),然后再逐个与所述内码纠错记录库中的内码错误组合进行判断,直到判断出所述内码纠错记录库中存在与所述内码组相一致的所述内码错误组合或者是所述内码组都已经判断完。特别指出的是当需要说明的是,所述内码错误组合是预先将容易出错的词语、句子的内码组合录入到所述内码纠错记录库中的,另外也可以通过升级的方式不断更新所述内码纠错记录数据库中的所述内码错误组合,或者也可以让用户自行录入自己容易写错的词语、句子并将错误的词语和句子转化为相应的内码错误组合,然后将该内码错误组合存储到所述内码纠错记录库中,这样可以增加所述内码纠错记录库中的所述内码错误组合的数量。此外,当有新的所述内码错误组合被更新进所述内码纠错记录库时,也会有新的与所述内码错误组合相对应的内码纠正组合被更新进所述内码纠错记录库中。
S103,在所述显示屏上用与所述内码纠错组合中的内码对应的笔迹替换与所述内码组中的内码对应的笔迹。
例如,在将“末”和“来”的内码组替换为“未”(内码为“52916”)和“来”所组成的内码纠正组合“52916、49332”后,这个时候就会在所述显示屏上将“未”和“来”的笔迹替换掉“末”和“来”的笔迹。
综上所述,在本发明实施例中,通过将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比,并在判断出所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理,最后在所述显示屏上用与所述内码纠正组合中的内码对应的笔迹替换与所述内码组中的内码对应的笔迹。因此,本发明可以检测出用户书写输入的书写笔迹所存在的错误,并可以自动将检测出的错误的书写笔迹替换为正确的字符笔迹,无需用户重新删除错误的书写笔迹后再输入正确的书写笔迹,因此大大提高了书写输入的效率并且也提高了用户的体验。
为了便于对本发明的理解,下面将对本发明的一些优选实施例作进一步描述:
第一种优选实施例:
将所述当前内码与所述内码的存储地址的前后顺序来作为所述的预设规则,并以此来进行内码组合和进行内码替换处理,其中,参见图2,可以将步骤S102具体为:
S1021,将所述当前内码在所述内码数据库中的存储地址设为终点。
具体地,当所述当前内码被保存在所述内码数据库中时,就将所述当前内码的存储地址设为终点。需要说明的是,当用户在所述触摸屏上书写输入第一个字符时,这时候就将该字符的内码所对应的存储地址设为终点,当用户继续书写输入下一个字符时,就将下一个字符的内码所对应的存储地址设为终点,依次类推。例如,用户首先书写输入“末”字,那么就将内码“50345”所对应的存储地址设为终点,当用户继续书写输入“来”字时,这时就将内码“49332”所对应的存储地址设为终点,而“末”的内码所对应的存储地址就不再作为终点。
S1022,获取与所述终点的存储地址连续的前一个存储地址对应的相邻内码;
具体地,所述内码数据库中的内码的存储地址是连续的且所述内码是根据所述内码的转化时间的先后顺序进行保存的。例如,当用户已经在所述触摸屏上已经输入“末”字时,继续输入“来”字,这时候就将“来”字的内码所对应的存储地址设为终点,然后获取存储地址在“来”字内码的存储地址之前的“末”字的内码。
S1023,根据存储地址位于所述的前一个存储地址与所述当前内码的存储地址之间的内码,生成内码组。
具体地,将存储地址在所述相邻内码的存储地址和所述当前内码的存储地址之间的内码来生成内码组,其中,所述内码组中的内码的存储地址连续且所述内码组中的所述内码的存储地址由前到后进行排序组合。例如,当用户已经在所述触摸屏上已经输入“末”字时,继续输入“来”字,这个时候就将“末”的内码“50345”和“来”的内码“49332”组成一个内码组“50345、49332”。
S10524,将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比。其中,所述内码纠错记录库内存储有由至少两个内码组成的内码错误组合及与所述内码错误组合对应的内码纠正组合。
优选地,所述内码组与内码数量和所述内码组中的内码数量相同的所述内码错误组合进行对比。例如,当用户已经书写输入“末”和“来”时,将“末”和“来”的内码组合“50345、49332”与所述内码纠错记录库中的所述内码数量为两个的所述内码错误组合进行对比。
S1025,当判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,用与所 述内码错误组合对应的内码纠正组合对所述内码组进行替换处理。
在本发明实施例中,与所述内码错误组合对应的内码纠正组合存储在所述内码纠错记录库中,当所述内码纠错记录库中存在与所述内码组一致的内码错误组合时,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理。例如,当已经将用户书写输入的“末”字和“来”字生成内码组“50345、49332”时,并在所述内码纠错记录库中获取到“末”和“来”的内码纠错组合“50345、49332”,这个时候就会将“末”和“来”的内码组替换为“未”(内码为“52916”)和“来”所组成的内码纠正组合“52916、49332”。
在本发明实施例中,通过将所述当前内码与所述内码的存储地址的前后顺序来作为所述的预设规则,并以此来进行内码组合和进行内码替换处理,可以将错误的内码组替换成正确的内码组,从而最终可以将错误的笔迹替换成正确的笔迹。
第二个优选实施例:
在第一个优选实施例的基础上,作为本发明的另一个优选实施例,请参见图2,所述书写笔迹自动纠错方法还包括步骤S104~S106:
S104,当判断所述内码纠错记录库中不存在与所述内码组一致的内码错误组合后,判断所述内码组中的内码的数量是否大于预设的阈值。
优选地,对于汉字来说,常用的词组为两字的词语、三字的词语或四字的成语,因此综合考虑纠正效率和计算效率,所述阀值设为3,即所述内码组中的内码的数量最多可以为4个。
当然,所述阀值还可以设为其他数值(大于或等于2),本发明不做具体限定。
S105,若是,则返回步骤S101。
S106,若否,则将所述相邻内码的存储地址设置为终点,并返回步骤S1022。
例如,当用户已经在所述触摸屏上依次手写输入“夫”“马”“行”“空”这五个字符时,将“空”字的内码所对应的存储地址设为终点,然后获取存储地址在“空”字内码的存储地址之前的“行”字的内码,判断所述内码纠错记录库中不存在与这两个字符所生成的内码组一致的内码错误组合后,接着判断出这两个字符所对应的内码组中的内码数量还没有大于3个,这个时候,将“行”字的内码所对应的存储地址设为终点,然后获取存储地址在“行”字内码的存储地址之前的“马”字的内码,判断所述内码纠错记录库中不存在与这三个字符所生成的内码组一致的内码错误组合后,接着判断出这三个字符所对应的内码组中的内码数量还没有大于3个,这个时候,将“马”字的内码所对应的存储地址设为终点,然后获取存储地址在“马”字内码的存储地址之前的“夫”字的内码,这时判断出所述内码纠错记录库 中存在与这四个字符所生成的内码组一致的内码错误组合,那么就用“天”“马”“行”“空”四个字所对应的内码所组成的内码纠正组合来对“夫”“马”“行”“空”四个字所对应的内码所组成的所述内码错误组合进行替换处理。
在本发明实施例中,因为在有些情况下(例如两个字词以上)需要对多个字符所对应的内码进行内码组合才能判断出所述字符对应的内码是否存在错误,因此在判断所述内码纠错记录库中不存在与所述内码组一致的内码错误组合后,通过判断所述内码组中的内码的数量是否大于预设的阈值,可以使得在判断所述内码组时所述内码组中的内码数量可以是两个以上,从而提高了纠错的准确性。
第三个优选实施例:
在步骤S1022之后与步骤S1023之前,还包括步骤S1031~S1033:
S1031,判断所述相邻内码是否为与符号对应的内码。
S1032,若是,则返回步骤S101。
即当所述相邻内码为符号所转化的内码时,表明所述当前内码所对应的字符的前面的其他字符是属于另外一个句子或分句,这个时候就不需要再执行下面的其他步骤,而是返回到步骤S101。
S1033,若否,则执行步骤S1023。
可以理解的是,根据文字与符号的组合并不能判断出文字或者符号是否错误,因此文字的内码与符号的内码进行内码组合没有意义。
在本优选实施例中,通过判断所述相邻内码是否为与符号对应的内码,可以在判断所述相邻内码为符号所述转化的内码时,停止所述当前内码与符号所转化的所述内码进行内码组合,从而节省了计算资源,提高了内码组的生成效率,并进而提高了对所述内码组的判断效率。
第四个优选实施例:
作为本发明的其中一个优选实施例,请参见图3,步骤S1025具体包括步骤S10251~S10253:
S10251,当判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,在与所述内码组中的内码对应的笔迹上显示错误标记。
在本发明实施例中,当所述内码纠错记录库中存在与所述内码组一致的内码错误组合时,在与所述内码组中的内码对应的笔迹上显示错误标记,这样可以向用户提醒所述显示错误标 记的字符笔迹可能存在错误。其中,所述错误标记可以显示在所述内码组中的所有内码所对应的字符笔迹上,也可以显示在所述内码组中的出现错误的那个字符笔迹上。例如,当检测到“末”“来”的内码组合与所述内码纠错记录库中的其中一个所述内码纠错组合一致时,这个时候,可以在“末”“来”这两个字符笔迹上显示出所述错误标记,也可以在“末”这个字符笔迹上显示出所述错误标记。另外所述错误标记可以为在所述显示屏上显示出的所述字符笔迹的下滑线,也可以为在所述显示屏上显示成与没有错误的所述字符笔迹所不同的颜色,例如,没有错误的字符笔迹在所述显示屏上显示为黑色,而错误的字符笔迹在所述显示屏上显示为红色;需要说明的是,所述错误标记还可以为其他形式,只要该错误标记的形式可以让用户能够容易的将存在错误的所述字符笔迹在所述显示屏上分辨出来,那么就均在本发明的保护范围之内。
S10252,当在预设时间内监听到用户针对所述错误标记的操作后,用与所述内码错误组合对应的内码纠错组合替换所述内码组。
在本发明实施例中,在预设时间内监听到用户针对所述错误标记的操作时,表明用户想将该存在错误的所述内码组合替换为正确的内码组合——即与所述内码错误组合对应的内码纠错组合。其中,用户针对所述错误标记的操作优选为在所述触摸屏上对所述错误标记的点击操作,当然所述操作也可以是其他手势操作,在这里不做具体限定;另外所述预设的时间优选为1秒,当然也可以为其他时间数值,在这里也不做具体限定。例如,用户已经在所述触摸屏上书写输入“末”字和“来”字,且在所述内码纠错记录库中获取到“末”和“来”的内码纠错组合“50345、49332”,这时就在“末”的笔迹上(或者是“末”和“来”的笔迹上)显示出所述错误标记,当在所述错误标记已经显示出的1秒内监听到用户再次在所述触摸屏上进行书写输入操作时,表明用户并想将“末”字在所述显示屏上替换为“未”字,这个时候就会将“末”和“来”的内码组“50345、49332”替换为“未”(内码为“52916”)和“来”所组成的内码纠正组合“52916、49332”。当在所述错误标记已经显示出的1秒内未监听到用户再次在所述触摸屏上进行书写输入操作时,表明用户并不想将“末”字在所述显示屏上替换为“未”字,这时“末”字依然会在所述显示屏上显示出来。
S1053,当在预设时间内未监听到用户针对所述错误标记的操作后,则清除所述错误标记。
在本发明的优选实施例中,当判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,通过在与所述内码组中的内码对应的笔迹上显示错误标记,这样来向用户提示所述笔迹可能输入错误,当在预设时间内监听到用户针对所述错误标记的操作后,即表明用户想将该存在错误的所述内码组合替换为正确的内码组合——即与所述内码错误组合对应的 内码纠错组合,这时就用与所述内码错误组合对应的内码纠错组合替换所述内码组,这样可以在用户输入默认为错误的字符笔迹时,可以根据用户的需要来决定是否对其进行纠错,从而在字符笔迹纠错的过程中可以赋予用户主动权,进而提高了用户的体验。
本发明提供了一种书写笔迹自动纠错系统,用于提高书写输入的效率和用户的体验。请参见图4,其具体包括:
识别显示模块101,用于监听用户在触摸屏上的书写操作,将根据所述书写操作识别到的书写笔迹转化成相应的当前内码,并将所述当前内码保存在内码数据库中后,将与所述当前内码对应的笔迹显示在显示屏上;
内码组纠错模块102,用于根据所述当前内码及保存于所述内码数据库中的至少一个已经生成的内码生成内码组,将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比,并在判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理;其中,所述内码纠错数据库内存储有由至少两个内码组成的内码错误组合及与所述内码错误组合对应的内码纠正组合;
笔迹纠错模块103,用于在所述显示屏上用与所述内码纠正组合中的内码对应的笔迹替换与所述内码组中的内码对应的笔迹。
在上述实施例中,通过内码组纠错模块102将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比,并在内码组纠错模块102判断出所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,通过所述内码组纠错模块102用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理,最后通过所述笔迹纠错模块103在所述显示屏上用与所述内码纠正组合中的内码对应的笔迹替换与所述内码组中的内码对应的笔迹。综上所述,本发明可以检测出用户书写输入的书写笔迹所存在的错误,并可以自动将检测出的错误的书写笔迹替换为正确的字符笔迹,无需用户重新删除错误的书写笔迹后再输入正确的书写笔迹,因此大大提高了书写输入的效率并且也提高了用户的体验。
为了便于对本发明的理解,下面将对本发明的一些优选实施例作进一步描述:
第一个优选实施例:
参见图5,所述内码组纠错模块102具体包括:
终点设置单元1021,用于将所述当前内码在所述内码数据库中的存储地址设为终点;
获取单元1022,用于获取与所述终点的存储地址连续的前一个存储地址对应的相邻内码;
内码组生成单元1023,用于根据存储地址位于所述的前一个存储地址与所述当前内码的存储地址之间的内码,生成内码组;
对比单元1024,用于将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比;内码组替换单元1025,用于当判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理。
在本发明实施例中,通过终点设置单元1021与所述获取单元1022将所述当前内码与所述内码的存储地址的前后顺序来作为所述的预设规则,接着所述内码组生成单元1023以所述的预设规则来进行内码组合,然后通过所述对比单元1024判断所述内码组,最后通过所述内码组替换单元1025进行内码替换处理,因此可以将错误的内码组替换成正确的内码组,从而最终可以将错误的笔迹替换成正确的笔迹。
第二个优选实施例:
请参见图6,所述书写笔迹自动纠错系统还包括:
阀值判断模块104,用于当判断所述内码纠错记录库中不存在与所述内码组一致的内码错误组合后,判断所述内码组中的内码的数量是否大于预设的阈值;
第一返回模块105,用于若是,则通知所述识别显示模块103;
设置模块106,用于若否,则将所述相邻内码的存储地址设置为终点,并通知所述获取单元1022。
在本发明实施例中,因为在有些情况下(例如两个字词以上)需要对多个字符所对应的内码进行内码组合才能判断出所述字符对应的内码是否存在错误,因此在所述阀值判断模块104判断所述内码纠错记录库中不存在与所述内码组一致的内码错误组合后,并通过所述阀值判断模块104判断所述内码组中的内码的数量是否大于预设的阈值,可以使得在判断所述内码组时所述内码组中的内码数量可以是两个以上,从而提高了纠错的准确性。
第三个优选实施例:
作为本发明的其中一种优选实施例,请参见图7,所述书写笔迹自动纠错系统还包括:符号内码判断模块1031,用于判断所述相邻内码是否为与符号对应的内码;第二返回模块1032,用于若是,则通知所述识别显示模块;执行模块133,用于若否,则通知所述内码组生成单元。
在本优选实施例中,通过所述符号内码判断模块1031判断所述相邻内码是否为与符号对应的内码,可以在判断所述相邻内码为符号所述转化的内码时,停止所述当前内码与符号 所转化的所述内码进行内码组合,从而节省了计算资源,提高了内码组的生成效率,并进而提高了对所述内码组的判断效率。
第四个优选实施例:
作为本发明的另一种优选实施例,请参见图8,所述内码组纠错单元1025包括:
错误标记子单元10251,用于当判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,在与所述内码组中的内码对应的笔迹上显示错误标记;
内码组替换子单元10252,用于若当在预设时间内监听到用户针对所述错误标记的操作后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理。
错误标记清除子单元10253,用于若当在预设时间内未监听到用户针对所述错误标记的操作后,则清除所述错误标记。
在本发明的优选实施例中,当所述对比单元1024判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,通过所述错误标记子单元10251在与所述内码组中的内码对应的笔迹上显示错误标记,这样来向用户提示所述笔迹可能输入错误,当在预设时间内监听到用户针对所述错误标记的操作后,即表明用户想将该存在错误的所述内码组合替换为正确的内码组合——即与所述内码错误组合对应的内码纠错组合,这时就通过所述内码组替换子单元10252用与所述内码错误组合对应的内码纠错组合替换所述内码组,这样可以在用户输入默认为错误的字符笔迹时,可以根据用户的需要来决定是否对其进行纠错,从而在字符笔迹纠错的过程中可以赋予用户主动权,进而提高了用户的体验。
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。

Claims (10)

  1. 一种书写笔迹自动纠错方法,其特征在于,包括以下步骤:
    S101,监听用户在触摸屏上的书写操作,将根据所述书写操作识别到的书写笔迹转化成相应的当前内码,并将所述当前内码保存在内码数据库中后,将与所述当前内码对应的笔迹显示在显示屏上;
    S102,根据所述当前内码及保存于所述内码数据库中的至少一个已经生成的内码生成内码组,将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比,并在判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理;其中,所述内码纠错数据库内存储有由至少两个内码组成的内码错误组合及与所述内码错误组合对应的内码纠正组合;
    S103,在所述显示屏上用与所述内码纠正组合中的内码对应的笔迹替换与所述内码组中的内码对应的笔迹。
  2. 根据权利要求1所述的书写笔迹自动纠错方法,其特征在于,步骤S102具体为:
    S1021,将所述当前内码在所述内码数据库中的存储地址设为终点;
    S1022,获取与所述终点的存储地址连续的前一个存储地址对应的相邻内码;
    S1023,根据存储地址位于所述的前一个存储地址与所述当前内码的存储地址之间的内码,生成内码组;
    S1024,将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比;
    S1025,当判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理。
  3. 根据权利要求2所述的书写笔迹自动纠错方法,其特征在于,还包括:
    当判断所述内码纠错记录库中不存在与所述内码组一致的内码错误组合后,判断所述内码组中的内码的数量是否大于预设的阈值;
    若是,则返回步骤S101;
    若否,则将所述相邻内码的存储地址设置为终点,并返回步骤S1022。
  4. 根据权利要求2所述的书写笔迹自动纠错方法,其特征在于,在步骤S1022之后,还包括:
    判断所述相邻内码是否为与符号对应的内码;
    若是,则返回步骤S101;
    若否,则执行步骤S1023。
  5. 根据权利要求2所述的书写笔迹自动纠错方法,其特征在于,步骤S1025具体为:
    当判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,在与所述内码组中的内码对应的笔迹上显示错误标记;
    当在预设时间内监听到用户针对所述错误标记的操作后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换;
    当在预设时间内未监听到用户针对所述错误标记的操作后,则清除所述错误标记。
  6. 一种书写笔迹自动纠错系统,包括:
    识别显示模块,用于监听用户在触摸屏上的书写操作,将根据所述书写操作识别到的书写笔迹转化成相应的当前内码,并将所述当前内码保存在内码数据库中后,将与所述当前内码对应的笔迹显示在显示屏上;
    内码组纠错模块,用于根据所述当前内码及保存于所述内码数据库中的至少一个已经生成的内码生成内码组,将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比,并在判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理;其中,所述内码纠错数据库内存储有由至少两个内码组成的内码错误组合及与所述内码错误组合对应的内码纠正组合;
    笔迹纠错模块,用于在所述显示屏上用与所述内码纠正组合中的内码对应的笔迹替换与所述内码组中的内码对应的笔迹。
  7. 根据权利要求6所述的书写笔迹自动纠错系统,其特征在于,所述内码组纠错模块具体包括:
    终点设置单元,用于将所述当前内码在所述内码数据库中的存储地址设为终点;
    获取单元,用于获取与所述终点的存储地址连续的前一个存储地址对应的相邻内码;
    内码组生成单元,用于根据存储地址位于所述的前一个存储地址与所述当前内码的存储地址之间的内码,生成内码组;
    对比单元,用于将所述内码组与预设的内码纠错记录库中的内码错误组合进行对比;
    内码组替换单元,用于当判断所述内码纠错记录库中存在与所述内码组一致的内码错误 组合后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理。
  8. 根据权利要求7所述的书写笔迹自动纠错系统,其特征在于,所述书写笔迹自动纠错系统还包括:
    阀值判断模块,用于当判断所述内码纠错记录库中不存在与所述内码组一致的内码错误组合后,判断所述内码组中的内码的数量是否大于预设的阈值;
    第一返回模块,用于在所述阈值判断模块的判断结果为是时,通知所述识别显示模块;
    设置模块,用于在所述阈值判断模块的判断结果为否时,将所述相邻内码的存储地址设置为终点,并通知所述获取单元。
  9. 根据权利要求7所述的书写笔迹自动纠错系统,其特征在于,所述书写笔迹自动纠错系统还包括:
    符号内码判断模块,用于判断所述相邻内码是否为与符号对应的内码时;
    第二返回模块,用于在所述符号内码判断模块的判断结果为是时,通知所述识别显示模块;
    执行模块,用于在所述符号内码判断模块的判断结果为否时,通知所述内码组生成单元。
  10. 根据权利要求7所述的书写笔迹自动纠错系统,其特征在于,所述内码组替换单元包括:
    错误标记子单元,用于当判断所述内码纠错记录库中存在与所述内码组一致的内码错误组合后,在与所述内码组中的内码对应的笔迹上显示错误标记;
    内码组替换子单元,用于若当在预设时间内监听到用户针对所述错误标记的操作后,用与所述内码错误组合对应的内码纠正组合对所述内码组进行替换处理;
    错误标记清除单元,用于若当在预设时间内未监听到用户针对所述错误标记的操作后,则清除所述错误标记。
PCT/CN2016/113334 2016-08-17 2016-12-30 一种书写笔迹自动纠错方法及系统 Ceased WO2018032697A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610681620.5A CN106325596B (zh) 2016-08-17 2016-08-17 一种书写笔迹自动纠错方法及系统
CN201610681620.5 2016-08-17

Publications (1)

Publication Number Publication Date
WO2018032697A1 true WO2018032697A1 (zh) 2018-02-22

Family

ID=57743609

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113334 Ceased WO2018032697A1 (zh) 2016-08-17 2016-12-30 一种书写笔迹自动纠错方法及系统

Country Status (2)

Country Link
CN (1) CN106325596B (zh)
WO (1) WO2018032697A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112257820A (zh) * 2019-07-22 2021-01-22 珠海金山办公软件有限公司 一种信息修正方法及装置
CN115620309A (zh) * 2022-09-30 2023-01-17 深圳市沃特沃德信息有限公司 笔记内容的更正方法、装置、设备
CN116069197A (zh) * 2023-02-02 2023-05-05 深圳市锦上科技有限公司 一种电磁感应式手写板的控制方法及系统

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108648519B (zh) * 2018-05-11 2019-08-20 尤辉煌 一种英语多媒体教学装置
CN111078676A (zh) * 2019-10-14 2020-04-28 梁剑 一种基于数据分析的智能机器人的纠错逻辑判断系统
CN110879686B (zh) * 2019-11-13 2021-05-18 讯飞幻境(北京)科技有限公司 一种标注擦除方法、装置及电子设备
CN115061621A (zh) * 2022-05-25 2022-09-16 山东蓝贝思特教装集团股份有限公司 一种双稳态液晶书写装置书写笔迹显示控制方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501273A (zh) * 2002-11-12 2004-06-02 联想(北京)有限公司 一种将手写笔记转换为文字文本的方法及其移动设备
CN102156890A (zh) * 2011-04-25 2011-08-17 汉王科技股份有限公司 手写公式的笔画切分方法及装置
US20130162544A1 (en) * 2011-12-23 2013-06-27 Motorola Solutions, Inc. Method and device for a multi-touch based correction of a handwriting sentence system
CN103632169A (zh) * 2013-12-10 2014-03-12 步步高教育电子有限公司 一种文字书写自动纠错方法和设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458583B (zh) * 2007-12-11 2011-11-30 中国银联股份有限公司 一种识别手写输入的方法及识别手写输入的电子笔记本
CN101894266A (zh) * 2010-06-30 2010-11-24 北京捷通华声语音技术有限公司 一种手写识别方法及系统
CN102184051B (zh) * 2011-06-17 2013-08-14 盛乐信息技术(上海)有限公司 一种触屏手写识别系统及方法
CN103914444B (zh) * 2012-12-29 2018-07-24 高德软件有限公司 一种纠错方法及其装置
CN103778818B (zh) * 2014-01-20 2017-04-26 广东小天才科技有限公司 一种提示书写错误的方法及装置
CN104915264A (zh) * 2015-05-29 2015-09-16 北京搜狗科技发展有限公司 一种输入纠错方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501273A (zh) * 2002-11-12 2004-06-02 联想(北京)有限公司 一种将手写笔记转换为文字文本的方法及其移动设备
CN102156890A (zh) * 2011-04-25 2011-08-17 汉王科技股份有限公司 手写公式的笔画切分方法及装置
US20130162544A1 (en) * 2011-12-23 2013-06-27 Motorola Solutions, Inc. Method and device for a multi-touch based correction of a handwriting sentence system
CN103632169A (zh) * 2013-12-10 2014-03-12 步步高教育电子有限公司 一种文字书写自动纠错方法和设备

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112257820A (zh) * 2019-07-22 2021-01-22 珠海金山办公软件有限公司 一种信息修正方法及装置
CN112257820B (zh) * 2019-07-22 2024-09-03 珠海金山办公软件有限公司 一种信息修正方法及装置
CN115620309A (zh) * 2022-09-30 2023-01-17 深圳市沃特沃德信息有限公司 笔记内容的更正方法、装置、设备
CN116069197A (zh) * 2023-02-02 2023-05-05 深圳市锦上科技有限公司 一种电磁感应式手写板的控制方法及系统
CN116069197B (zh) * 2023-02-02 2023-10-20 深圳市锦上科技有限公司 一种电磁感应式手写板的控制方法及系统

Also Published As

Publication number Publication date
CN106325596A (zh) 2017-01-11
CN106325596B (zh) 2019-04-30

Similar Documents

Publication Publication Date Title
WO2018032697A1 (zh) 一种书写笔迹自动纠错方法及系统
US9122376B1 (en) System for improving autocompletion of text input
US9047268B2 (en) Character and word level language models for out-of-vocabulary text input
TW202020691A (zh) 特徵詞的確定方法、裝置和伺服器
CN111753914A (zh) 模型优化方法和装置、电子设备及存储介质
CN107679032A (zh) 语音转换纠错方法和装置
CN112036162A (zh) 文本纠错的适配方法、装置、电子设备及存储介质
CN110472701B (zh) 文字纠错方法、装置、电子设备和存储介质
US20220245340A1 (en) Electronic device for processing user's inquiry, and operation method of the electronic device
US10402734B2 (en) Temporal based word segmentation
US20170004120A1 (en) Corrections for natural language processing
CN106601256B (zh) 语音识别的方法及移动终端
CN105824804A (zh) 基于词库的英语拼写纠错工具和方法
US10120843B2 (en) Generation of parsable data for deep parsing
CN112528610B (zh) 一种数据标注方法、装置、电子设备及存储介质
CN110287286A (zh) 短文本相似度的确定方法、装置及存储介质
US9460067B2 (en) Automatic sentence punctuation
WO2021129074A1 (zh) 用于处理程序代码中的变量的引用的方法和系统
WO2016041428A1 (zh) 一种英文的输入方法和装置
CN112328710B (zh) 实体信息处理方法、装置、电子设备和存储介质
US20180018086A1 (en) Pressure-based gesture typing for a graphical keyboard
CN112560493B (zh) 命名实体纠错方法、装置、计算机设备和存储介质
CN112597768B (zh) 文本审核方法、装置、电子设备、存储介质及程序产品
CN112949282A (zh) 配置文件检查方法及装置
CN112765963A (zh) 语句分词方法、装置、计算机设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16913449

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16913449

Country of ref document: EP

Kind code of ref document: A1