Postgraduate Course: Computer Programming for Speech and Language Processing (LASC11096)
|School||School of Philosophy, Psychology and Language Sciences
||College||College of Arts, Humanities and Social Sciences
|Credit level (Normal year taken)||SCQF Level 11 (Postgraduate)
||Availability||Available to all students
|Summary||This course introduces the concept of computer programming and the python programming language. It focuses on how to think about solving problems in ways that can be addressed algorithmically, with with examples relevant to processing human speech and language.
This course covers basic high-level concepts of computer programming in general and practical training for writing code in the Python language in particular. The goal is for students to learn to think in terms of computational approaches for solving problems, and then to implement those approaches by writing Python code.
We begin with the basics of computation (e.g. what is a computer? what can it do? how can a question be framed in computational terms?), and then move on to studying the tools that Python offers us as programmers for most of the semester (e.g. data structures, flow control, file input and output, object oriented design, regular expressions and other useful modules, etc). Examples and test problems are frequently taken from the context of speech and language processing, and we focus specifically on processing text and speech audio using Python for a week respectively.
The course does not assume prior experience with Python or any other programming language, so is suitable for beginners in that regard. Note, however, it aims to teach students enough Python to write varied and useful programmes by the end, so it must move fairly quickly to cover all the required topics. It can be challenging for a beginner to build up the necessary knowledge and skill in the space of a single semester, and therefore sustained commitment to several hours of study and practice each and every week is essential.
Entry Requirements (not applicable to Visiting Students)
||Other requirements|| None
|Additional Costs|| None
Information for Visiting Students
|High Demand Course?
Course Delivery Information
|Academic year 2022/23, Available to all students (SV1)
|Learning and Teaching activities (Further Info)
Lecture Hours 27,
Programme Level Learning and Teaching Hours 2,
Directed Learning and Independent Learning Hours
|Assessment (Further Info)
|Additional Information (Assessment)
||Practical programming assignment: 50%
||The formative feedback will comprise:
1. Tutor / lecturer interaction and feedback. The course operates along the lines of a flipped classroom model: students engage with the course website in their own time to cover all pre-recorded video and text material, and then spend up to 4 hours per week working on programming problems and other exercises under supervised lab conditions, i.e. with the lecturer and / or other experienced python programmers on hand to give advice and answer questions. This greatly increases opportunities for targeted interaction with the lecturer, tutors and fellow classmates.
2. Some exercises employ automated testing within a standard software engineering unit-testing framework, invoked at will by the student, which will give instant feedback on how successful each programming attempt has been. These are not part of summative assessment, but the lecturer can monitor pass/fail rates per student and exercise over time, to target students or topics that need more attention.
3. Short multiple choice quizzes will be used at points throughout the course, both at the whole-class lectures and the in-lab learning setting. Experience has shown students enjoy and appreciate these, as they provide feedback to students about their own level of understanding and developing knowledge.
4. Code review exercises are included at various points, including discussion of carefully chosen examples of good and bad computer code and double-blind peer-review of students' own code. Such code review exercises assist learning by giving opportunities to consider varying code styles and standards, critique the code of others, and to receive informal feedback on one's own coding performance. Code review is widely used in industry, so this is also a valuable transferable skill.
||Hours & Minutes
|Main Exam Diet S1 (December)||Computer Programming for Speech and Language Processing - MCQ||2:00|
On completion of this course, the student will be able to:
- understand and employ the basic principles of computer programming
- apply familiarity with the basics of the Python language to write useful programmes
- analyse and address problems from a computational perspective
- create programmes to manipulate, reorganise and process data (in particular speech and text) in non-trivial ways
- review and critique computer code written by others
|'Learning Python' by Mark Lutz is the recommended reading. |
In addition, pointers to other online resources for further reader are included on the course website.
|Graduate Attributes and Skills
||Python coding and code review skills, with particular emphasis on speech and natural language processing.
|Course organiser||Dr Korin Richmond
Tel: (0131 6)51 1769
|Course secretary||Ms Sasha Wood