# US 2023/0419703 A1 · Advanced formatting of ink data using spatial information and semantic context

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

- Number: US 2023/0419703 A1
- Document ID: US20230419703A1
- Status: Published application
- Kind: A1
- Application number: 17/851,237
- Filed: 2022-06-28
- Published: 2023-12-28
- Earliest claimed: 2022-06-28
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Steven N. BATHICHE; Moshe R. LUTZ
- Web page: https://patentgrep.com/patent/US20230419703A1

## CPC

- G06V 30/32: Digital ink
- G06V 30/347: {Sampling; Contour coding; Stroke extraction}
- G06F 3/03545: {Pens or stylus}
- G06F 3/038: Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06F 40/171: by use of digital ink
- G06F 40/274: Converting codes to words; Guess-ahead of partial word inputs
- G06V 10/82: using neural networks
- G06V 30/222: of characters separated by spaces
- G06V 30/2268: {using stroke segmentation}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In some examples, systems and methods for formatting ink are provided. Ink stroke data may be received, letters may be identified from the ink stroke data, and spacing may be identified between the letters. A user command and semantic context may be received. An action may be determined based on the user command, the semantic context, and the spacing between the letters. Further, the action may be performed.

## Claims

### Claim 1

A system for formatting ink comprising:
at least one processor;
memory storing instructions that, when executed by the at least one processor, causes the system to perform a set of operations, the set of operations comprising:
receiving ink stroke data;
identifying letters from the ink stroke data;
identifying spacing between the letters;
receiving a user command, and semantic context;
determining an action based on the user command, the semantic context, and the spacing between the letters; and
performing the action.

### Claim 2 (depends on 1)

The system of claim 1, wherein the user command corresponds to selecting a location for new ink stroke data.

### Claim 3 (depends on 2)

The system of claim 2, wherein the action comprises changing spacing at the location for the new ink stroke data.

### Claim 4 (depends on 3)

The system of claim 3, wherein the changing spacing comprises increasing spacing between two letters that were identified from the ink stroke data.

### Claim 5 (depends on 1)

The system of claim 1, wherein the user command corresponds to deleting ink stroke data.

### Claim 6 (depends on 5)

The system of claim 5, wherein the action comprises changing spacing at the location of the deleted ink stroke data.

### Claim 7 (depends on 6)

The system of claim 6, wherein the changing spacing comprises decreasing spacing between two letters that were identified from the ink stroke data.

### Claim 8

A system for formatting ink comprising:
at least one processor;
memory storing instructions that, when executed by the at least one processor, causes the system to perform a set of operations, the set of operations comprising:
receiving ink stroke data;
identifying paragraphs from the ink stroke data;
identifying spacing between the paragraphs;
receiving a user command and semantic context;
determining an action based on the user command, the semantic context, and the spacing between the paragraphs; and
performing the action.

### Claim 9 (depends on 8)

The system of claim 8, wherein the user command corresponds to selecting a location for new ink stroke data.

### Claim 10 (depends on 9)

The system of claim 9, wherein the action comprises changing spacing at the location for the new ink stroke data.

### Claim 11 (depends on 10)

The system of claim 10, wherein the changing spacing comprises increasing spacing between two paragraphs that were identified from the ink stroke data.

### Claim 12 (depends on 8)

The system of claim 8, wherein the user command corresponds to deleting ink stroke data.

### Claim 13 (depends on 12)

The system of claim 12, wherein the action comprises changing spacing at the location of the deleted ink stroke data.

### Claim 14 (depends on 13)

The system of claim 13, wherein the changing spacing comprises decreasing spacing between two paragraphs that were identified from the ink stroke data.

### Claim 15

A method for formatting ink, the method comprising:
receiving ink stroke data, the ink stroke data being configured to be formatted on a document with one or more elements;
receiving a user command and semantic context;
identifying the one or more elements;
identifying spacing between the ink stroke data and the one or more elements;
determining an action based on the user command, the spacing, and the semantic context; and
performing the action.

### Claim 16 (depends on 15)

The method of claim 15, wherein the one or more elements comprise a first location on the document, and wherein the user command corresponds to translating the one or more elements from the first location on the document to a second location on the document.

### Claim 17 (depends on 16)

The method of claim 16, wherein the action comprises reflowing the ink stroke data based on the translation of the one or more elements from the first location to the second location.

### Claim 18 (depends on 17)

The method of claim 17, wherein reflowing the ink stroke data comprises:
reflowing ink stroke data around each of the one or more elements, while preserving a logical flow of language corresponding to the ink stroke data, based on the semantic context.

### Claim 19 (depends on 15)

The method of claim 15, wherein an indication of the action is displayed on a screen of a computing device.

### Claim 20 (depends on 15)

The method of claim 15, wherein the user command is one of a keyboard input, a mouse input, a touchpad input, and a gesture input.
