FUNDAMENTALS OF COMPUTER PROGRAMMING FOR TEXT ANALYSIS
cod. 1011738

Academic year 2026/27
1° year of course - Second semester
Professor
Gianfranco LOMBARDO
Academic discipline
Sistemi di elaborazione delle informazioni (IINF-05/A)
Field
Attività formative affini o integrative
Type of training activity
Related/supplementary
30 hours
of face-to-face activities
6 credits
hub: PARMA
course unit
in ITALIAN

Learning objectives

The aim of the course is to provide skills in the field of Python programming in the context of simple Natural Language Processing applications. At the end of the course the students: 1) will know the elementary data structures and basic programming constructs; 2) they will be able to modify and write programs written in Python that manipulate and analyze texts, acquiring useful skills for humanists. 3) They will know the basics of representing

Prerequisites

No requirements

Course unit content

Introduction to Text Mining; Introduction to Coding in Python Practical lectures on coding

Full programme

1) Introduction to Text Mining: - Text representation (ASCII) - N-grams - Tokenization - Edit distance - Hints about modern language models 2) Introduction to Python - Variables and list - For with iterators - If instruction - While cycle - Dict

Bibliography

- How to Think Like a Computer Scientist (Learning with Python): http://openbookproject.net/thinkcs/python/english3e/
- Python 101: http://python101.pythonlibrary.org/index.htm
- Speech and Language Processing, Jurafsky (2023) (First chapter as introduction

Teaching methods

Lecture in a computer lab to combine theoretical

Assessment methods and criteria

The final exam consists of two components:

1) An oral examination, held on the official examination dates, to assess students' understanding of all the topics covered during the course (70% of the final grade).
2) A practical Python programming assignment assigned by the instructor (30% of the final grade), to be submitted via the Elly platform before the oral examination together with a written report.

Other information

The frequency of the lectures is highly suggested

Contact for this course


Student registry office

Contact the service desk unipr for information on your career and enrollment procedures.

Teaching quality service

T. +39 0521 033501
E. dusic.lettere@unipr.it

Education manager:
Anna Maria Teresa Deiana

President of the degree course

Marco Gentile

Career guidance delegate

Carlo Alberto Gemignani

Erasmus delegate

Marco Settecase

Quality assurance manager

Paola Volpini

> Modulo segnalazioni al RAQ

Internships

Giulia Raboni

Student tutors

Ilaria Bacher
E. ilaria.bacher@studenti.unipr.it

Camilla D'Angelo
E. camilla.dangelo@studenti.unipr.it

Gaia Mantovani
E. gaia.mantovani1@studenti.unipr.it

Fabio Zarroli
E. fabio.zarroli@unipr.it