Automatizing Two Creative Functions for Advertising