Some code for scraping Dylan lyrics, and quantifying references to places.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
data
data_mining_dylan
dylan-scraper
notebooks
old notebooks
.gitignore
README.md
analysis.py
dylan_scraper.py
myapp.py
requirements.txt
viz_tools.py

README.md

data-mining-dylan

Some code for scraping Dylan lyrics, and quantifying references to places.

Installation

# create virtual environment
conda create --no-default-packages -n dylan python
source activate dylan

# upgrade pip
pip install --upgrade pip

# install jupyter, then exit/enter environment
conda install jupyter
conda install -c conda-forge jupyterlab
source deactivate
source activate dylan

# install bokeh and its jupyterlab extension
conda install bokeh
jupyter labextension install jupyterlab_bokeh

# add geojson extension
jupyter labextension install @jupyterlab/geojson-extension

# install spacy and its english language module
conda install -c conda-forge spacy
python -m spacy download en

# more
conda install pandas