This page needs JavaScript! Please enable it to continue.

This website uses JavaScripts. If you use an adblocker, content may not be displayed or may not be displayed correctly.

Workshop: Python coding basics (4)

Lecturer(s)Axel Bohmann
Contact personAxel Bohmann
Emailaxel.bohmann@anglistik.uni-freiburg.de
DateFriday, 28th January 2022, 10:00 - 16:00
RegistrationRegistration required
LocationRempartstraße 15 79098 Freiburg im Breisgau Germany
Save this event iCal

Regular expressions, introduction to some Python libraries for linguistic analysis

This series of workshops introduces participants to basic coding in the programming language Python with the specific goal of enabling them to process, manipulate, and analyze digitized language data. Students will acquire an understanding of fundamental Python data structures, methods, and operations as well as specific applications designed for machine-based text analysis. Among the tasks students will learn to handle are the following:

  • Searching text for individual words and comparing words in context across different texts
  • Counting words, multi-word sequences, parts-of-speech, etc.
  • Calculating frequency distributions of all words in a text or corpus
  • Reading from and writing to external files (e.g. reading corpus material into Python and writing results of a search query to a spreadsheet)
  • Searching for complex patterns in natural language by means of regular expressions.

Given the current pandemic situation and attendant uncertainties, the workshops will be conducted via BigBlueButton. Please contact the instructor to receive links to the meeting room and the repository with course materials.

The individual sessions build on each other and are intended as a complete series. Take-home exercises will be given in between sessions to practice the acquired skills. However, it is possible to participate in only some of the workshops, according to participants’ availability. In this case, it is expected that the content of previous workshops (provided asynchronously) will have been thoroughly reviewed and the exercises completed. Submission of the relevant exercises will be a precondition for joining a workshop session.