sentiment analysis on contrast comments on two youtube videos - one containing so-called "freak fight" (poor mans box) and second with "good vibes" music due to nlp model/corpora I would use english online resources
;; https://www.youtube.com/watch?v=plNJOq9pMnY&ab_channel=FAMEMMA https://www.youtube.com/watch?v=YwNj8ZycZMI&ab_channel=SlapFightingChampionship
;; https://www.youtube.com/watch?v=2DiP0mMeaT8&ab_channel=DawidPodsiad%C5%82o https://www.youtube.com/watch?v=1Pg1RguhqxY&ab_channel=ememusicVEVO
in order to run it locally you need to provide environmental variable called
YOUTUBE_API_KEY
and set it accordingly
- you should value the comments by the number of reactions to it - relevance
- use conn manager https://cljdoc.org/d/clj-http/clj-http/3.12.3/api/clj-http.conn-mgr#make-reusable-conn-manager
- cache results - save youtube api quota
-
libpython-clj + spacy interop example: https://github.com/gigasquid/libpython-clj-examples/blob/master/src/gigasquid/spacy.clj
-
spacy - sentiment analysis using textblob https://spacy.io/universe/project/spacy-textblob https://textblob.readthedocs.io/en/dev/quickstart.html#sentiment-analysis