Patent Document ID: 10055391
Application ID: 14980998

Base Claim:
1. A method, comprising: receiving, by a computer, an unstructured input document; extracting, by the computer, a plurality of tokens from the input document, each token of the plurality of tokens having a corresponding visual style of a plurality of visual styles; producing, by the computer for a first token of the plurality of tokens, a first probability distribution of the first token, the first probability distribution comprising a plurality of first probabilities each indicating a probability that the first token belongs to a corresponding class of a plurality of classes that are each: related to information conveyed by the plurality of tokens; and specific to a type of unstructured data items of the input document; determining, by the computer from the plurality of tokens, a plurality of surrounding tokens that occur near the first token within the input document; determining, by the computer, a first classification probability of the plurality of surrounding tokens, the first classification probability identifying the class in which the plurality of surrounding tokens are most likely to be classified; modifying, by the computer based on the class identified by the first classification probability, each of the plurality of first probabilities to produce a corresponding second probability of a plurality of second probabilities in a second probability distribution; producing, by the computer based on the visual style of the first token and the second probability distribution, a third probability distribution comprising a plurality of third probabilities each associated with a corresponding second probability of the plurality of second probabilities; determining, by the computer based at least on the third probability distribution, a classification of the first token into one of the plurality of classes; and forming, by the computer, a structured document from the first token and the classification.

---

Claim 2:
2. The method of claim 1 , wherein the input document comprises an image, and extracting the plurality of tokens comprises detecting a column in the image, correcting the perspective of the image, super-sampling the image, or performing optical character recognition on the image.