HumanitiesTutorial
This is code that we will cover in my Hacking the Humanities class at Leiden University. Video tutorials will be uploaded to my YouTube channel at https://www.youtube.com/channel/UCSarHXwz_HKtiZ3vNTX1rfw
Install / Use
/learn @vierth/HumanitiesTutorialREADME
This repository contains all of the code we will cover in the Fall 2018 edition of my Hacking the Humanities class, which I teach at Leiden University as part of the Digital Humanities minor program.
This code accompanies the Hacking the Humanities tutorial video that I filmed (https://www.youtube.com/playlist?list=PL6kqrM2i6BPIpEF5yHPNkYhjHm-FYWh17). The goal is to create a resource for students so we can spend less time in class talking about the technical details of coding and more about how we can use this code to study human culture.
While this should serve as a functional introduction to Python, it is not meant to be comprehensive. Instead, it is designed to help students with no knowledge of coding at all learn how to do text analysis and data visualization.
This code is written assuming you have installed the Anaconda distribution of Python 3 (and should be compatible with Python 3.6 and up).
As of October 1st 2018, this is fully complete, but I will update the code as I catch errors.
Note
Code in the stylometry files opens texts from a folder called "corpus." This folder is created by code in the 20_corpusrep1_dividing.py, so run that before you try to run the stylometry code. The two fed (federalist papers) examples do NOT require this corpus folder, so feel free to run those immediately.
Updates
Renamed files to aid organization. Added DataFrames, Corpus Basics, matplotlib, stylometry, topic modeling, word2vec, apis, and webscraping.
Related Skills
qqbot-channel
349.2kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
claude-opus-4-5-migration
109.5kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
docs-writer
100.3k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
349.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
