Skip to content

About

Text as Data (NTU NTLDEV 7191, 2026 Fall) 互動學習講義:學生自製、經授課老師同意分享,非官方教材 / Student-made interactive study notes, shared with the instructor's permission (unofficial)

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

125 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

National Taiwan University (NTU) logo

Text as Data: Computational Methods for Social Science Research


National Taiwan University (NTU) / 國立臺灣大學
Semester: Fall 2026 (115-1) Instructor: Yen-Chieh Liao 廖彥傑

Office hours: Instructor · TA (Matt Lee)

Announcements

Last updated November 27, 2026 (Taipei).

  1. Call for Proposals: 14th Annual Meeting of Asian Political Methodology. Submission deadline: October 9, 2026.

  2. Research title + abstract due: October 23, 2026 (Week 7). You are welcome to book instructor office hours to discuss your research ideas, title, or abstract before the deadline.

  3. Call for Proposals: 84th Annual MPSA Conference (2027). Paper proposal deadline: October 27, 2026.

  4. Call for Abstracts: IPSA World Congress of Political Science 2027 (Rome), panel “Special Interest Influence and the Quality of Democratic Representation.” The abstract deadline has been extended to November 11, 2026. The panel welcomes theoretical, empirical, and comparative research from different approaches and areas. IPSA submission instructions.

  5. Call for Papers: EPSS 2027 Conference (Copenhagen). Submission deadline: November 13, 2026, 23:59 CET (November 14, 2026, 06:59 Taipei time).

  6. Call for Papers: 22nd TASPAA Annual Conference (2027). Abstract and panel proposal deadline: December 1, 2026. Conference: May 14–15, 2027, at National Taipei University, Sanxia Campus.

  7. Call for Papers: 6th European PolMeth Meeting (Berlin). Abstract submission deadline: December 15, 2026. The meeting takes place May 24–25, 2027, at the Hertie School. Submission form (300 words max.).

  8. Call for Papers: 9th International COMPTEXT Conference (Prague). Submission deadline: December 15, 2026. The conference takes place May 27–29, 2027, at the Faculty of Social Sciences, Charles University. Acceptance notifications will be sent by January 20, 2027.

  9. Poster format guidelines: How to Make a Poster by Yusaku Horiuchi. Please read this guide when preparing your poster draft for the Week 14 workshop and Week 15 presentations. It covers the main message, layout, readable figures and tables, final PDF checks, and a short spoken explanation. You can also use its advice on presenting a pre-analysis plan if your results are not yet available.

Use HTML to view slides in your browser, PDF for a downloadable copy, and Source ZIP for editable slide files.

If the HTML link shows an external-content notice, select Open the page to view the slides.

Resources

Slides and Lab Sessions

Week Date Slides Lab
Week 1 Sep 11 PDF · HTML · Source ZIP
Week 2 Sep 18 PDF · HTML · Source ZIP Lab HTML · R script · Lab ZIP · Instructions
Week 3 Sep 25 Mid-Autumn Festival
Week 4 Oct 2 PDF · HTML · Source ZIP Lab HTML · R script · Lab ZIP · Instructions
Week 5 Oct 9 Compensation Holiday for Happy Double 10th Day
Week 6 Oct 16 PDF · HTML · Source ZIP Lab HTML · R script · Lab ZIP · Instructions
Week 7 Oct 23 PDF · HTML · Source ZIP Lab HTML · R script · Lab ZIP · Instructions
Week 8 Oct 30 PDF · HTML · Source ZIP Lab HTML · R script · Lab ZIP · Instructions
Week 9 Nov 6 PDF · HTML · Source ZIP Lab HTML · R script · Lab ZIP · Instructions
Week 10 Nov 13 PDF · HTML · Source ZIP Lab HTML · Lab ZIP · Instructions
Week 11 Nov 20 NTU Sports Day
Week 12 Nov 27
Week 13 Dec 4
Week 14 Dec 11
Week 15 Dec 18
Week 16 Dec 25 Constitution Day Holiday

Week 10 materials updated: November 27, 2026. The Lab starts with packages, shared data and the two supervised notebook approaches, then adds an NLI stance demonstration. Printed outputs distinguish preparation checks, saved 2024 training records and the new NLI inference.

Course Schedule

Week 1: Introduction to Quantitative Text Analysis

Introduces the basic concepts of quantitative text analysis and natural language processing, outlines course structure and expectations, and surveys the text-as-data paradigm in social science research.

Week 2: Text Preparation in R and Python: Collaborative Workflow

Covers the use of R and Python for text analysis and sets up development environments (RStudio and Positron). Using supplied corpora, students practice text cleaning, tokenization, and building document-feature matrices in preparation for Week 4. They also check data coverage, metadata, and access for their research projects.

Week 3: Mid-Autumn Festival (No Class)

No class on September 25.

Week 4: Tokenisation, Document-Feature Matrices, Dictionaries, and Sentiment Analysis

Connects preprocessing decisions and bag-of-words representations to dictionary-based measurement. A single workflow moves from a documented corpus to tokens, document-feature matrices, sentiment scores, and validation in political texts. Students also check corpus boundaries and access conditions for potential projects.

Week 5: National Day Observed (No Class)

No class on October 9.

Week 6: Human Coding and Document Classification

Covers human coding, training-set construction, supervised document classification, validation, and performance metrics. Students connect coding rules and annotation quality to the substantive claims a classifier can support.

Week 7: Supervised, Unsupervised, and Semi-Supervised Scaling

Introduces Wordscores, Wordfish, and Latent Semantic Scaling (LSS) for estimating positions from text, with attention to anchors, assumptions, and external validation. Individual research abstract due: October 23.

Week 8: Topic Models and Their Variants

Covers LDA, structural topic models, and keyword-assisted topic models, with emphasis on interpreting topics, comparing issue attention, and validating topics as social-science measures.

Week 9: Describing and Comparing Texts: Readability, Similarity, and Word Embeddings

Uses four political-science cases to study party positions, semantic change, nostalgia and differences in word use. The Lab introduces Flair word vectors and PCA figures, then uses conText to compare the contexts in which parties use a word. Readability and further model comparisons are available as supplementary exercises.

Week 10: Transformers: Concepts, Classification and NLI

Introduces Transformer architecture, from tokens and self-attention to pretraining and fine-tuning. Three classification cases show how text labels become research evidence, including Sentiment is Not Stance. A separate section introduces natural language inference (NLI) and stance-detection applications in Political Analysis and Political Science Research and Methods.

The English Lab first integrates the supplied Flair and Hugging Face Transformers notebooks on the same Irish policy excerpts and existing data splits. A separate NLI exercise adapts Burnham's official stance tutorial, pairing short texts with complete hypotheses without target-task fine-tuning. Students follow code and explanations, read outputs, and compare the inputs and training required by the two setups. Historical 2024 supervised-model scores, preparation checks and new NLI predictions are clearly separated.

Week 11: NTU Sports Day (No Class)

No class on November 20.

Week 12: Large Language Models and Multi-Agent Systems

Introduces LLMs for annotation, classification, summarization, and multi-agent workflows. Students assess the reproducibility, validity, and bias of model outputs and consider when human evidence is still needed.

Week 13: New Forms of Textual Data: Multilingual and Multimodal Sources

Explores research with multilingual texts, political speech recordings, and audiovisual sources. Students examine how machine translation, speech recognition, and model-generated annotations change the evidence available for political and social research, using published applications and a guided comparison of original and transformed text. Midterm research design report due: December 4.

Week 14: Poster Workshop: Format, Visual Presentation, and 5-Minute Talk

This session focuses on poster format, visual presentation, and the 5-minute talk. We will review poster drafts together and discuss revisions before the Week 15 presentations.

Week 15: Final Poster Presentations

Students present final research posters, deliver 5-minute presentations, join in-class discussion, and provide peer feedback.

Week 16: Constitution Day Holiday (No Class)

No class on December 25. Students revise their projects independently after the poster session. Manuscript due: TBA. Bonus claim deadline: TBA. Submit the final research paper through Overleaf with instructor editing access; include any bonus claim and its supporting documents in a shared Overleaf project.


Acknowledgments: The design of this course draws primarily on Stefan Müller's quantitative text analysis syllabus (@stefan-mueller). The lab exercises and teaching materials are adapted from those developed by Martijn Schoonvelde (@hjmschoonvelde) for the 2026 Essex Summer School course “Introduction to QTA.”

About

Text as Data (NTU NTLDEV 7191, 2026 Fall) 互動學習講義:學生自製、經授課老師同意分享,非官方教材 / Student-made interactive study notes, shared with the instructor's permission (unofficial)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages