Automatically generating a data dictionary