Last Updated on: 2023-02-22


Important course information will be posted on this web page and announced in class. You are responsible for all material that appears here and should check this page for updates frequently.

Course Description

The objective of this course is to provide a comprehensive introduction to programming languages with a special focus on its application in linguistic analyses. This course is especially tailored to those who do not have any background or experiences in coding. We will start from the very basic concepts, such as data types, variable assignments, control structures, to more complex procedures such as routines, functions, and other exploratory project-based tasks. The course consists of a series of theme-based hands-on tutorials, which demonstrate how the flexibility of the programming language can help you become a more efficient and productive data scientist.

Specifically, this course will cover coding skills for basic text analytics, including R, Python and shell scripting basics, with the language R being our featuring programming language. We will introduce you to R, Rstudio, and a collection of R packages designed to work together to make linguistic analyses fast, fluent, and fun. Furthermore, we will show you how you can make use of the integrated RStuido for Python and shell scripting. By the end of the course, students should have a working knowledge of coding and an initial ability to advance a project independently as a data scientist.

Course Schedule

(This schedule is tentative and subject to change. Please pay attention to the announcements made during the class.)

Week Date Topic
Week 1 2023-02-24 Data Science and R
Week 2 2023-03-03 R Fundamentals
Week 3 2023-03-10 Code Format Convention, Subsetting
Week 4 2023-03-17 Conditions and Loops
Week 5 2023-03-24 Functions
Week 6 2023-03-31 Data Visualization
Week 7 2023-04-07 Data Manipulation
Week 8 2023-04-14 Data Manipulation
Week 9 2023-04-21 Midterm Exam
Week 10 2023-04-28 String Manipulation
Week 11 2023-05-05 Regular Expressions
Week 12 2023-05-12 Regular Expressions
Week 13 2023-05-19 Data IO and Iteration
Week 14 2023-05-26 Data IO and Iteration
Week 15 2023-06-02 Data Analysis and Text Analytics: A Primer
Week 16 2023-06-09 Final Exam

Course Requirement

Course Materials

All the course materials are available on the course website. Please consult the instructor for the direct link to the course materials. They will be provided as a series of online packets (i.e., handouts, script source codes etc.) on the course website. These teaching materials are based on the following recommended readings.

Email Address

You can reach me at

Office Hours

By appointment.


For more information related to this course, please see the FAQ on our course website or write me at any time at:

Course Website

We have a course website. You may need a password to get access to the course materials. If you are an officially enrolled student, please ask the instructor for the access code.

Disclaimer & Agreement

While I have made every attempt to ensure that the information contained on the Website is correct, I am not responsible for any errors or omissions, or for the results obtained from the use of this information. All information on the Website is provided “as is”, with no guarantee of completeness, accuracy, timeliness or of the results obtained from the use of this information, and without warranty of any kind, express or implied.

You may print a copy of any part of this website for your personal or non-commercial use. Without the author’s prior written consent, you cannot disclose confidential information of the website (e.g., log-in username and password) to any third party.