Skip to content
/ ngram Public

N-gram visualization of the Daily Princetonian archives

Notifications You must be signed in to change notification settings

dliu18/ngram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running the N-gram Viewer

Navigate to the Web folder to launch the Flask application (python ngram.py).

In addition to Flask, this project requires nltk. After installing nltk, make sure to download the vader_lexicon.txt data file. The download GUI is available via:

import nltk
nltk.download()

In the GUI, navigate to the "All Packages" tab and search for the identifier "vader_lexicon". Confirm data download by running:

from nltk.sentiment.vader import SentimentIntensityAnalyzer
sid = SentimentIntensityAnalyzer()

Notes

The "IW Presentation" folder contains a slide deck explaining the project.

My final research paper for this project can be found here.

About

N-gram visualization of the Daily Princetonian archives

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published