Assess the sentiment intensity of the tweet "You can be discouraged by failure or you can learn from it. -- Thomas J. Watson,#motivationalquote,#success" based on the mood of the author. Offer a numerical rating between 0 and 1, with 1 representing highly positive and 0 representing highly negative.