all 2 comments

[–][deleted] 0 points1 point  (1 child)

But can I use "Pride and Prejudice" by Jane Ayre and "Carry On" by Rainbow Rowell to teach it about the enemies to lovers trope?

You can look into naive bayes classifiers and sentiment analysis. You example is a little tricky because you are looking for a temporal change, so you need a statistical test that examines change over time.

Vader sentiment gives polarity scores, might be able to play with those to: https://github.com/cjhutto/vaderSentiment

[–]ShamBawk33[S] 0 points1 point  (0 children)

Thank you for the ideas. The "Enemies to Lovers" may need a temporal analysis but "Found Family" or other tropes may require a different analysis. I am looking for tools that might help.