NLP for the Humanities — Interactive Textbook

Python · Jupyter Book · HuggingFace · Scikit-learn · Google Colab · GitHub Pages

Interactive textbook built from scratch for course FLP0478 — Natural Language Processing for the Humanities (DCP-USP), under the supervision of Prof. Lorena G. Barberia. The material covers beginner to advanced topics, with examples applied to real social science data.

  • Problem: No Portuguese-language teaching material that takes humanities researchers from zero to advanced NLP techniques without requiring local installation or prior technical background.
  • Solution: Interactive Jupyter Book published via GitHub Pages, with each chapter linked directly to Google Colab.
  • Content: Basic and advanced Python · Data analysis and visualization · Machine Learning · Deep Learning · Natural Language Processing · Text classification with language models.
  • Audience: Social Sciences and Humanities researchers with no prior technical background.
  • Status: Actively used at DCP-USP. Continuously updated.

About the Course

FLP0478 is an introductory NLP course applied to the humanities, offered by the Department of Political Science at USP for social science students without a technical background. As a teaching assistant, I was responsible for supporting lab sessions and developing all the interactive teaching materials used in the course.