Abstract: A method comprising receiving an image of an electronic document comprising data fields and corresponding textual regions; processing said image to obtain (i) a collection of said data fields comprising an indication of a location and a field type, and (ii) an array of said textual regions comprising an indication of a location and a content; creating a mapping comprising associations of data fields in said collection with textual regions in said array based, at least in part, on analyzing a geometric relationship between each of said data fields and each of said textual regions; deriving at least one context rule for evaluating said associations, based, at least in part, on identifying a structure of said electronic document; and determining a correctness of at least one of said associations in said mapping, based, at least in part, on said at least one context rule.
Abstract: A method comprising receiving an image of an electronic document comprising data fields and corresponding textual regions; processing said image to obtain (i) a collection of said data fields comprising an indication of a location and a field type, and (ii) an array of said textual regions comprising an indication of a location and a content; creating a mapping comprising associations of data fields in said collection with textual regions in said array based, at least in part, on analyzing a geometric relationship between each of said data fields and each of said textual regions; deriving at least one context rule for evaluating said associations, based, at least in part, on identifying a structure of said electronic document; and determining a correctness of at least one of said associations in said mapping, based, at least in part, on said at least one context rule.