This repository contains the Jupyter Notebooks for DIGHUM160: Critical Digital Humanities, at the UC Berkeley Digital Humanities Summer Minor.
This course confronts hermeneutic philosophy with computational text analysis. Hermeneutics refers to a long-standing intellectual tradition in the humanities that focuses on the theory and methods of interpretation.
In the lectures and discussions, we will deal with leading hermeneutic philosophers such as Hans-Georg Gadamer and Don Ihde, focusing on issues such as dialogicality, reflexivity, and the scientific status of technologically mediated interpretation. The other half of the course involves project-based research using Python to analyze interactions in communities on social news website Reddit.
You are not expected to have prior programming knowledge, and you are not graded on your coding skills. However, this course does make extensive use of Jupyter Notebooks and Python code, so previous exposure to Python will be highly beneficial.
Before attending the workshop, you should install Python and Jupyter on your computer. If you need help, please make sure to come to the weekly seminar (see bCourses for more information).
Anaconda is software that allows you to run Python and Jupyter Notebooks on your computer. Installing Anaconda is the easiest way to make sure you have all the necessary software to run the materials for this workshop. Complete the following steps:
- Download and install Anaconda. Click "Skip registration" and then download the Distribution for your machine.
If you have a Mac, make sure to download the correct distribution for either Apple Silicon (for M1-M3 chips) or Intel (for Intel chips; typically, these can be found in pre-2021 MacBooks). If you don't know which chip you have, click on the Apple icon on your screen, click on "About This Mac", and look under "Chip".
- Download the materials in this repository:
- Click the green "Code" button in the top right of the repository information.
- Click "Download Zip".
- Extract/Unzip this file to a folder on your computer where you can easily access it (we recommend Desktop). If you need help on how to do this: Mac / Windows.
- You can install the package dependencies using the following terminal command (after navigating to the
DIGHUM160-main
folder):
pip install -r requirements.txt
Now that you have all the required software and materials, you need to run the code:
-
Open the Anaconda Navigator application. You should see the green snake logo appear on your screen. Note that this can take a few minutes to load up the first time.
-
Click the "Launch" button under "Jupyter Lab" and navigate through your file system to the
DIGHUM160
folder you downloaded above. -
Navigate to the "Notebooks" folder, and to "Week1".
-
Open the
Preprocessing_Lesson.ipynb
file to begin. -
Press Shift + Enter (or Ctrl + Enter) to run a cell.
If you do not have Anaconda installed and the materials loaded on your workshop by the time it starts, you can use the UC Berkeley DataHub to run the materials for these lessons. You can access the DataHub by clicking this button:
The DataHub downloads this repository, along with any necessary packages, and allows you to run the materials in a Jupyter notebook that is stored on UC Berkeley's servers. No installation is necessary from your end - you only need an internet browser and a CalNet ID to log in. By using the DataHub, you can save your work and come back to it at any time. When you want to return to your saved work, just go straight to DataHub, sign in, and click on the DIGHUM160
folder.
-
notebooks/ Your Jupyter Notebooks, including accompanying video's on what is happening in them. You are expcted to swap out data with your own as soon as possible when using these.
-
data/ The Data directory contains several example datasets we will work through.
-
img/ Has the images used throughout this repository.
-
.gitignore A file for ignoring changes to this repository
-
README.md Contains the text on this page.
-
requirements.txt Python libraries needed to run this repo.
Learn more about the Berkeley Digital Humanities Summer Minor: https://summerdigitalhumanities.berkeley.edu/