Computer programming techniques for collecting and analyzing data in linguistic research. Introduction to regular expressions, and Python scripting. Hands-on experience gathering, formatting, and manipulating corpus, field, and experimental data, combining data from multiple sources, and working with existing tools. Knowledge of computer programming not required. Units: 1-4
There are many ways to participate: asking questions and offering solutions during class and during optional hacking sessions, completing optional exercises on Ed Stem, posting questions and answers on Ed Stem, sharing external programming work you're doing with me, and probably other ways too. I will decide on how to decide these points in an individualized way based on what I know about programming backgrounds, personal circumstances, etc.
Weekly assignments (80%)
The assignments are distributed on Tuesdays and due one week later, before the start of class (3:15 pm Pacific).
Assigments should be submitted on Canvas.
The primary goal of these assignments is to give you practice problem-solving in Python, so that you become a fluent programmer.
Right from the start, you will be doing interesting things that you can connect with your work. To make this possible, the assignments typically involve code-fragments that you flesh out into (more or less) complete solutions. Part of doing the assignment is studying and thinking about the code provided, so that you can adapt it to other tasks later in the course, and to your own projects.
Penalties for late work: unless permission is given in advance, for each assignment A, 1 points off your total points earned for A for each calendar day it is late. An assigment becomes one day late at 3:15 pm on its due date. The absolute deadline for all work is December 7, 11:59 pm Pacific.
Taking the class for fewer than 4 units
- If you do the class for 3 units, then you are required to do all the work.
- If you do the class for 2 units, then you need to complete only 6 of the 8 assignments; all other requirements are the same.
- If you do the class for 1 unit, then you need to do only 4 of the 8 assignments; all other requirements are the same.
You are always welcome to do more than the required work, of course!
Relationship between numerical grades and final letter grades
This is the Python code that will be used to map numerical scores to final grades
def to_letter(n): n = float(n) let = "" if n >= 100: return "A+" elif n >= 94: return "A" elif n >= 90: let = "A" elif n >= 80: let = "B" elif n >= 70: let = "C" elif n >= 60: let = "D" else: return "F" deg = n % 10 if deg >= 7: let += "+" elif deg >= 4: let += "" else: let += "-" return let
Please familiarize yourself with Stanford's honor code. We will adhere to it and follow through on its penalty guidelines.
A special note about collaboration: you are permitted to work together on the assignments (though not the final project), but you have to turn in your own implementations, done from scratch (though possibly based on your discussions with others).
Students with documented disabilities
Students who may need an academic accommodation based on the impact of a disability must initiate the request with the Student Disability Resource Center (SDRC) located within the Office of Accessible Education (OAE). SDRC staff will evaluate the request with required documentation, recommend reasonable accommodations, and prepare an Accommodation Letter for faculty dated in the current quarter in which the request is being made. Students should contact the SDRC as soon as possible since timely notice is needed to coordinate accommodations. The OAE is located at 563 Salvatierra Walk (phone: 723-1066).