1. A method for finding repeated structure for data extraction from document images, said method comprising: identifying one or more reference records and one or more reference fields thereof, from one or more document images; generating one or more candidate fields for each of the reference fields; finding one or more best candidate records from the candidate fields using a probabilistic model, where the search is performed by one or more processors; and, determining an optimal record set from the best candidate records.