With nowadays technology and also the growing quantified self movement, analyzing data is a big thing. It’s probably only a matter of time till we start analyzing our dreams through AI. So I started a simple experiments where I analyze my dream reports on emotions with the help of IBMs Watson AI and the open API called Tone Analyzer.
Tone Analyzer uses linguistic analysis to detect three types of tones in written text: emotions, social tendencies, and writing style. Use the Tone Analyzer service to understand emotional context of conversations and communications. Use this insight to respond in an appropriate manner.
With the help of Stamplay, I’ve managed to connect text messages send to a corresponding DreamAnalyzer Bot from Telegram with IBMs Tone Analyzer API. Those messages will then be analyzed for five emotional states:
joy: Joy or happiness has shades of enjoyment, satisfaction and pleasure. There is a sense of well-being, inner peace, love, safety and contentment.
fear: A response to impending danger. It is a survival mechanism that is a reaction to some negative stimulus. It may be a mild caution or an extreme phobia.
sadness: Indicates a feeling of loss and disadvantage. When a person can be observed to be quiet, less energetic and withdrawn, it may be inferred that sadness exists.
disgust: An emotional response of revulsion to something considered offensive or unpleasant. It is a sensation that refers to something revolting.
anger: Evoked due to injustice, conflict, humiliation, negligence or betrayal. If anger is active, the individual attacks the target, verbally or physically. If anger is passive, the person silently sulks and feels tension and hostility.
For each emotion, a score of less 0.5 indicates that the emotion is unlikely to be perceived in the content. Likewise, a score greater than 0.75 indicates high likelihood that the emotion will be perceived.
Afterwards a bot can send a message with the analyzed data back to the dreamer or can even give more personal feedback. This experiments is currently on going.
A more speculative approach to this could be a Dream Prediction AI, that could tell you beforehead what you will dream about. (sounds scary to me!) You can find the method set for this experiment here: Dream Prediction