Skip to content

Named-entity sentiment analysis of James Joyce’s 800-page masterpiece. In this NLP project, I scraped the novel Ulysses from the web, tokenized the text, mapped the names of 30 characters, and computed sentiment scores for each of these characters.

License

Notifications You must be signed in to change notification settings

MyreLab/ulysses-sentiment-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

James Joyce's Ulysses: Named-Entity Sentiment Analysis

"Stately, plump Buck Mulligan came from the stairhead, bearing a bowl of lather on which a mirror and a razor lay crossed. A yellow dressinggown, ungirdled, was sustained gently behind him on the mild morning air. He held the bowl aloft and intoned: Introibo ad altare Dei." - James Joyce

In this project, I scraped the novel Ulysses from the website Project Gutenberg using the Python package requests. Then, I extracted and tokenized the text from html using BeautifulSoup and nltk. Finally, I dived into a sentiment analysis of 30 characters from the novel using nltk and Vader.

About

Named-entity sentiment analysis of James Joyce’s 800-page masterpiece. In this NLP project, I scraped the novel Ulysses from the web, tokenized the text, mapped the names of 30 characters, and computed sentiment scores for each of these characters.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published