1. A computer-implemented method, comprising: retrieving a document from a data source, wherein the document has a structure type; generating a customized data model for the document in accordance with its structure type; identifying one or more candidate chunks within the customized data model in accordance with a set of heuristic rules associated with the structure type.