A University of Kansas study analyzed over 500 dream reports using AI to assess how dream emotions affect morning mood.