Linguistics 460: Textual Data Analysis with R
UNC-Chapel Hill Linguistics
Fall 2025
Elliott Moreton

Week 17, 2025.12.12.Fr: FINAL EXAM, 4-7 p.m.

Week 16, 2025.12.02.Tu

Week 15, 2025.11.25.Tu

Week 14, 2025.11.19.Th

Week 14, 2025.11.17.Tu

Week 13, 2025.11.13.Th

Week 13, 2025.11.11.Tu

Week 12, 2025.11.06.Th

Week 12, 2025.11.04.Tu

Week 11, 2025.10.30.Th

Week 11, 2025.10.28.Tu

Week 10, 2025.10.23.Th

Week 10, 2025.10.21.Tu

Week 9, 2025.10.14.Tu

Week 8, 2025.10.09.Th

Week 7, 2025.10.02.Th

MIDTERM

Week 7, 2025.09.30.Tu

Review day for midterm

Topics: Midterm review

Class:

Week 6, 2025.09.25.Th

Topics: LASSO regression for document classification.

Class:

Week 6, 2025.09.23.Tu

Topics: Evaluating classifier performance. Changing parameters to optimize performance

Before class: Please install the naivebayes and psych packages.

Class:

Assignment:

Reminder: Midterm on Thursday, October 2. (Midterm syllabus available on Thursday, September 25.)

Week 5, 2025.09.18.Th

Topics: Naive Bayes classifiers for document classification.

Class:

Assignments:

Announcement: The midterm will be on Thursday, October 2. A midterm syllabus will be available on Thursday, September 27.

Week 5, 2025.09.16.Tu

Topics: Document classification using supervised learning. Document-term matrices. Intro to Naive Bayes classifiers.

Before class: Please make sure these packages are installed:

Class:

Assignments:

Week 4, 2025.09.11.Th

Topics: Sentiment analysis.

Class:

Assignments:

Week 4, 2025.09.09.Tu

Topics: Sentiment analysis.

Before class:

Class:

Assignment for 9/11 Th:

Week 3, 2025.09.04.Th

Topics: "Tidy" data and tidy text.

Before class:

Class:

Assignment for 9/09 Tu:

Week 3, 2025.09.02.Tu

Topics: "Tidy" data and tidy text.

Before class:

Class:

Assignment for 9/04 Th:

Week 2, 2025.08.28.Th

Topics: Regular expressions.

Before class:

Class:

Assignment for 9/02 Tu:

Week 2, 2025.08.26.Tu

Topics: Data filtering and transformation. Strings.

Before class:

Class:

Assignment for 8/28 Th:

Week 1, 2025.08.21.Th

Topics: Data frames and data visualization.

Before class:

Class:

Assignment for 8/26 Tu:

Week 1, 2025.08.19.Tu

Topics: Course organization. R and RStudio.

Class:

i Assignment for 8/21 Th:

Week 0: Before the semester even starts

Assignment for 8/19 Tu: