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.
DIS-AGREE Grant: TheEuropean Campus „Seed Money“
Das geisteswissenschaftliche Projekt aus der Linguistik steht unter der Leitung der Universität Freiburg und wird gemeinsam mit den Universitäten Basel, Haute-Alsace und Strasbourg umgesetzt. Information und Kontakt
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.