Simon was trying to apply the AFINN Sentiment Analysis list once again, following a whole playlist of tutorials by Daniel Shiffman. This time things got more complicated as Simon has built a Sentiment Analysis API and attempted to talk to it from a web page by building a simple front end client with HTML and the p5.js library.
He did finish building the text field and the area where he could submit new words and their values to the Sentiment Analysis list. At the very end of the project he got stuck. When entering a text on his front end client he got all the words from the AFINN list as the response, instead of just the words from the text he entered.
He was thinking about where the bug might be, while riding back home from our vacation.
Unfortuneately this turned out to be a wrong guess. He hasn’t discovered what is wrong as of now.