CODE | LLT2510 | ||||||||
TITLE | Introduction to Programming for Language Applications | ||||||||
UM LEVEL | 02 - Years 2, 3 in Modular Undergraduate Course | ||||||||
MQF LEVEL | 5 | ||||||||
ECTS CREDITS | 4 | ||||||||
DEPARTMENT | Institute of Linguistics and Language Technology | ||||||||
DESCRIPTION | This study-unit will provide a gentle introduction to programming concepts using the Python programming language (https://www.python.org/). It is intended for students with little or no prior experience of programming and who intend to write programs for solving natural language related problems, among other things. Generic programming topics that this study-unit will focus on are: - the various data types available in Python; - some common libraries that are available in Python; - loops and conditional statements; - organising code using functions and object oriented programming. Natural language specific topics this study-unit will focus on are: - reading and writing text files and the meaning of character encoding; - searching and substituting text using regular expressions; - corpus processing. Study-unit Aims: - To provide a practical introduction to computer programming concepts making use of the Python programming language; - To encourage students in the language sciences as well as in the humanities and social sciences to use programming in their projects. Learning Outcomes: 1. Knowledge & Understanding By the end of the study-unit the student will be able to: - translate English instructions into Python code; - write structured Python code that is easy to test, read, and maintain. 2. Skills By the end of the study-unit the student will be able to: - write programs that solve practical problems, especially linguistic ones; - use Jupyter Notebooks to write presentable code; - use regular expressions to quickly modify and search text. Main Text/s and any supplementary readings: - Downey, A., Wentworth, P., Elkner, J., & Meyers, C. (2016). How to think like a computer scientist: Learning with Python 3, 3rd release (2020) available at: http://openbookproject.net/thinkcs/python/english3e/ |
||||||||
STUDY-UNIT TYPE | Lecture and Practicum | ||||||||
METHOD OF ASSESSMENT |
|
||||||||
LECTURER/S | Marc Tanti |
||||||||
The University makes every effort to ensure that the published Courses Plans, Programmes of Study and Study-Unit information are complete and up-to-date at the time of publication. The University reserves the right to make changes in case errors are detected after publication.
The availability of optional units may be subject to timetabling constraints. Units not attracting a sufficient number of registrations may be withdrawn without notice. It should be noted that all the information in the description above applies to study-units available during the academic year 2024/5. It may be subject to change in subsequent years. |