determining tone mood and purpose of the author