Skip to content

kevandotorg/nanogenmo-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nanogenmo-2022

This was my entry for NaNoGenMo 2022. It takes the original text of Charles Dickens' A Tale of Two Cities and analyses each paragraph for positive and negative sentiment, dividing up the text into two smaller books - the first containing all net-positive paragraphs, and the second containing all the negatives.

The script uses the VADER sentiment lexicon. (Hutto, C.J. & Gilbert, E.E. (2014). VADER: A Parsimonious Rule-based Model for Sentiment Analysis of Social Media Text. Eighth International Conference on Weblogs and Social Media (ICWSM-14). Ann Arbor, MI, June 2014.)

Example output, the first paragraph of the book

Example output, a section from The Worst of Times

Full output: https://kevan.org/nanogenmo/2022/cities.html

About

A Tale of Two Sentiment-Analysed Cities

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages