learning Data Driven Documents