# US 2008/0304719 A1 · Bi-directional handwriting insertion and correction

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0304719 A1
- Document ID: US20080304719A1
- Status: Published application
- Kind: A1
- Application number: 11/811,367
- Filed: 2007-06-08
- Published: 2008-12-11
- Earliest claimed: 2007-06-08
- Assignees: Microsoft Corporation
- Inventors: David V. Winkler
- Web page: https://patentgrep.com/patent/US20080304719A1

## CPC

- G06V 30/32: Digital ink
- G06F 18/28: Determining representative reference patterns, e.g. by averaging or distorting; Generating dictionaries
- G06V 30/1423: {the instrument generating sequences of position coordinates corresponding to handwriting (preprocessing or recognising digital ink G06V30/32)}
- G06V 30/274: {Syntactic or semantic context, e.g. balancing}
- G06V 30/10: Character recognition
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Various technologies and techniques are disclosed for providing bi-handwriting directional handwriting recognition and correction. A combined handwriting recognizer is provided that supports left-to-right and right-to-left language recognition by using a combined dictionary. The combined dictionary includes a dictionary from a language in a first direction, along with a backwards version of a dictionary from a language in a second direction. The combined recognizer is used with the combined dictionary to generate a most likely recognition result for mixed direction hand written input received from a user. Character by character correction is provided for mixed left-to-right and right-to-left text. The most likely recognition result is displayed in a visual order. The user can correct a particular character to a different character. When recognized text needs to be sent to a separate application, an inverse bi-directional process is performed to convert the ext from the visual order to the logical order.

## Claims

### Claim 1

A computer-readable medium having computer-executable instructions for causing a computer to perform steps comprising:
provide a combined handwriting recognizer that supports left-to-right and right-to-left language recognition by using a combined dictionary, with the combined dictionary including a first dictionary from a language in a first direction, along with a backwards version of a second dictionary from a language in a second direction.

### Claim 2 (depends on 1)

The computer-readable medium of claim 1, further having computer-executable instructions for causing a computer to perform the step comprising:
provide a correction feature that supports character by character correction of mixed left-to-right and right-to-left text in a visual order.

### Claim 3 (depends on 2)

The computer-readable medium of claim 2, wherein the character by character correction can be performed in a handwriting input area.

### Claim 4 (depends on 1)

The computer-readable medium of claim 1, further having computer-executable instructions for causing a computer to perform the step comprising:
provide an inverse bi-directional process that can send mixed text from a handwriting input area to another application in a logical order.

### Claim 5 (depends on 4)

The computer-readable medium of claim 4, wherein the mixed text includes some text that was corrected by a user.

### Claim 6 (depends on 4)

The computer-readable medium of claim 4, wherein the inverse bi-directional process uses a beam search to produce the logical order.

### Claim 7 (depends on 6)

The computer-readable medium of claim 6, wherein the beam search uses a cost function that determines how well a plurality of desired goals are achieved for a given state within an iteration.

### Claim 8 (depends on 1)

The computer-readable medium of claim 1, wherein the combined dictionary includes additional items than just the first dictionary and the backwards version of the second dictionary.

### Claim 9 (depends on 8)

The computer-readable medium of claim 8, wherein the additional items include regular expressions that are generators for strings.

### Claim 10

A method for providing character by character correction of mixed left-to-right and right-to-left text comprising the steps of:
using a combined recognizer with a combined dictionary to generate a most likely recognition result for mixed hand written input received from a user;
displaying the most likely recognition result in a visual order; and
receiving input from the user to correct a particular character to a different character in a combined character set.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
displaying the corrected character along with a remaining set of uncorrected characters in the recognition result.

### Claim 12 (depends on 11)

The method of claim 11, wherein the receiving input from the user and the displaying the corrected character stages are repeated for a plurality of characters that the user wishes to correct.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
receiving a selection from the user to send the recognition result to a separate application.

### Claim 14 (depends on 13)

The method of claim 13, wherein upon receiving the selection from the user to send the recognition result to the separate application, an inverse bi-directional process is performed to convert the recognized text from the visual order to a logical order.

### Claim 15 (depends on 14)

The method of claim 14, wherein the logical order of the recognized text is then sent to the separate application.

### Claim 16 (depends on 14)

The method of claim 14, wherein the inverse bi-directional process uses a beam search.

### Claim 17 (depends on 10)

A computer-readable medium having computer-executable instructions for causing a computer to perform the steps recited in claim 10.

### Claim 18

A method for performing an inverse bi-directional process for handwriting recognition comprising the steps of:
receiving an original visual string for handwriting that has been recognized by a combined recognizer;
performing a beam search that uses a heuristic cost function to estimate a promise of each node being examined; and
when the beam search finishes, producing a best guess of a logical order of the visual string.

### Claim 19 (depends on 18)

The method of claim 18, wherein the logical order of the visual string is passed to a separate application for further manipulation by a user.

### Claim 20 (depends on 18)

A computer-readable medium having computer-executable instructions for causing a computer to perform the steps recited in claim 18.
