Extract the sentiment data from the received messages