Patent ID: 9658989
Date: 2017-05-23
CPC Classifications: G06F

Claim:
1. A method for preparing a display document for analysis comprising: extracting character data from said display document, wherein a language of said character data in said display document is unknown when said character data is extracted; determining a first order associated with processing of said character data and a second order associated with a logical order of said character data, including comparing said character data against a set of dictionaries to determine said second order based on a match between said character data and a word listed in a dictionary of said set of dictionaries, each dictionary corresponding to a particular language and listing words of that language, wherein comparing said character data against a set of dictionaries further comprises, if a first comparison of said character data to said dictionaries does not determine a language of said character data, reversing an order of said character data and making a second comparison of said reversed character data against said set of dictionaries; determining whether said first order is different from said second order; and reversing at least a portion of said character data in response to said determination that said first order is different from said second order.