Patent ID: 7310773

Claim:
A method for removing lines of extraneous text from a plurality of pages of text, comprising: identifying similarities between lines of text on each page and corresponding lines on a selected subset of pages; associating different weight values with different line numbers of a page, each weight value indicating a degree of likelihood that a line of text at the line number contains extraneous text; selectively removing one or more lines of text at corresponding line numbers from each of the plurality of the pages as a function of the similarities and associated weight values of line numbers of the lines of text; identifying non-body pages of text; logically grouping body pages of text in a first set of pages and non-body pages in a second set of pages; wherein the selected subset of pages used in identifying similarities between corresponding lines of text includes pages of the first set and the second set; and identifying similarities between lines of text of each page in the second set and corresponding lines on a selected subset of the second set of pages.