# US 2015/0149893 A1 · Multi-level List Detection Engine

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

- Number: US 2015/0149893 A1
- Document ID: US20150149893A1
- Status: Published application
- Kind: A1
- Application number: 13/808,052
- Filed: 2012-07-06
- Published: 2015-05-28
- Earliest claimed: 2012-07-06
- Assignees: Microsoft Corporation
- Applicants: Microsoft Corporation
- Inventors: Dusan Lukic; Victor Jitlin; Milos Raskovic
- Web page: https://patentgrep.com/patent/US20150149893A1

## CPC

- G06F 40/103: Formatting, i.e. changing of presentation of documents (automatic justification G06F40/189; automatic line break hyphenation G06F40/191)
- G06F 40/151: Transformation
- G06F 40/166: Editing, e.g. inserting or deleting
- G06F 40/205: Parsing
- G06F 40/258: Heading extraction; Automatic titling; Numbering
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A multi-level list detection engine. The multi-level list detection engine detects text obtained from a fixed format document that is formatted as a static multi-level list and creates a dynamic multi-level list object in a flow format document. The resulting dynamic multi-level list object automatically updates as the end user edits the multi-level list in the flow format document. The multi-level list detection engine identifies list elements in the fixed format text based on the presence of a list identifier. The list elements are grouped into lists based on the properties of each list element relative to other list elements. List elements are then assigned to a list level based on the relative properties of the list elements within a list. Finally, level list assignments are verified and corrected, the levels are merged, as necessary, and the lists are consistently formatted as appropriate to create a final well-formed dynamic multi-level list object.

## Claims

### Claim 1

A method of converting a fixed format document into a flow format document including one or more multi-level lists that dynamically update when edited by an end user, said method comprising:
identifying each text object in a collection of text objects that begins with a list identifier as a list element, said text objects derived from said fixed format document;
creating a new list when said list element and a previous list element in said list do not have selected properties that are substantially similar;
adding said list element to an existing list when said list element and said previous list element in said list have said selected properties that are substantially similar;
assigning said list element to a list level based on said selected properties;
determining a list level format for each said list level based on common properties of list elements belonging to said list level; and
determining a list format from each said list level format.

### Claim 2 (depends on 1)

The method of claim 1 characterized in that assigning said list element to a list level based on said selected properties further comprises assigning said list element to a new list level when said list element does not continue a numbering sequence of the last list element in said list.

### Claim 3 (depends on 1)

The method of claim 1 characterized in that assigning said list element to a list level based on said selected properties further comprises assigning said list element to the same list level as the last list element in said list when said list identifier of said list element follows said last list element list identifier in sequence.

### Claim 4 (depends on 1)

The method of claim 1 characterized in that assigning said list element to a list level based on said selected properties further comprises assigning said list element to the highest list level in said list when said list identifier of said list element continues the numbering sequence of said first list level.

### Claim 5 (depends on 1)

The method of claim 1 characterized in that assigning said list element to a list level based on said properties further comprises assigning said list element to a list level other than a highest list level when said list element has a list identifier comprising a multi-number.

### Claim 6 (depends on 1)

The method of claim 1 further comprises merging a lower said list level having a first numbering scheme with a higher said list level having a second numbering scheme when said first numbering scheme and said second numbering scheme use the same list identifier format and said first numbering scheme and said second numbering scheme begin with same number and there is at least one list element of list level higher than both said list levels between them.

### Claim 7 (depends on 1)

The method of claim 1 further comprises merging a lower said list level with a higher said list when said lower list level continues the numbering sequence of said higher list level.

### Claim 8 (depends on 1)

The method of claim 1 further comprising discarding each said list containing a single list element.

### Claim 9 (depends on 1)

The method of claim 1 further comprising moving at least one selected said list level into a separate list.

### Claim 10

A system for generating a flow format document including a multi-level list object from a fixed format document, said system comprising a multi-level list detection engine application operable to:
identify a first text object as a first list element when the first text object begins with a first list identifier;
create a first list beginning with a first list element;
add said first list element to a first list level having a first numbering sequence;
identify a second text object as a second list element when the second text object begins with a second list identifier;
determine whether said second list identifier continues said first numbering sequence;
add said second list element to said first list level when said second list identifier continues said first numbering sequence;
compare a first value corresponding to an indentation of one or more list elements in said first list level to a second value corresponding to an indentation of said second list element to obtain a first indentation comparison result; and
add said second list element to a second list level having a second numbering sequence when said second list identifier does not continue said first numbering sequence, and said first indentation comparison result indicates that said indentation of said second list element is greater than said indentation of at least one list element in said first list level.

### Claim 11 (depends on 10)

The system of claim 10 characterized in that said multi-level list detection engine application is further operable to:
determine a list level format for each said list level based on selected properties of each list element in said first list belonging to the same list level; and
define a list format based on each said list level format.

### Claim 12 (depends on 10)

The system of claim 10 characterized in that said multi-level list detection engine application is further operable to create a second list beginning with said second list element when said second indentation is less than said first indentation and said second list identifier does not continue said first numbering sequence.

### Claim 13 (depends on 10)

The system of claim 10 characterized in that said multi-level list detection engine application is further operable to:
identify a third text object as a third list element when the third text object begins with a third list identifier;
determine whether said third list identifier continues said second numbering sequence;
add said third list element to said second list level when said third list identifier continues second first numbering sequence;
compare a third value corresponding to an indentation of said third list element to said first value to obtain a second indentation comparison result; and
add said third list element to a third list level when said third list identifier does not continue said second numbering sequence and said second indentation comparison result indicates that said indentation of said third list element is greater than said indentation of at least one list element in said first list level.

### Claim 14 (depends on 10)

The system of claim 10 characterized in that said multi-level list detection engine application is further operable to merge said third list level with said first list level when said list elements in said third list level continue said first numbering sequence.

### Claim 15 (depends on 13)

The system of claim 13 characterized in that said multi-level list detection engine application is further operable to create a second list beginning with said third list element when said third list element does not continue said first numbering sequence or said second numbering sequence and said second indentation comparison result indicates that said indentation of said third list element is less than or substantially equal to said indentation of at least one list element in said first list level.

### Claim 16

A computer readable medium containing computer executable instructions which, when executed by a computer, perform a method of generating a flow format document including a multi-level list object from a fixed format document, said method comprising:
identifying a list element appearing in the text obtained from the fixed format document;
making a first comparison between at least one property associated with said list element and at least one list element appearing in a first list;
placing said list element in said first list when said first comparison has a first result;
making a second comparison between at least one property associated with said list element and a second list element appearing in a first list after said first list element;
assigning said second list element to a list level based on said second comparison;
making a third comparison between at least one property of said list element and other list elements in said first list at a selected list level; and
adjusting said list level of said list element based on said third comparison.

### Claim 17 (depends on 16)

The computer readable medium of claim 16 characterized in that said list element appears after a first list element and a second list element in the text obtained from the fixed format document.

### Claim 18 (depends on 16)

The computer readable medium of claim 16 characterized in that said method further comprises determining a list level format for each said list level based on selected properties of each list element belonging to the same list level.

### Claim 19 (depends on 18)

The computer readable medium of claim 18 characterized in that said method further comprises defining a list format based on each list level format.

### Claim 20 (depends on 16)

The computer readable medium of claim 16 characterized in that adjusting said list level of said list element based on said third comparison includes merging said list level containing said list element with said selected list level when said third comparison indicates that said list element belongs to said selected list level.
