Text this: AI training for automated data extraction from clinical records