FUNDAMENTALS OF COMPUTER PROGRAMMING FOR TEXT ANALYSIS
cod. 1011738

Academic year 2025/26
1° year of course - Second semester
Professor
Gianfranco LOMBARDO
Academic discipline
Sistemi di elaborazione delle informazioni (ING-INF/05)
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 text on the computer.

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 - Dictionaries - Read and write from files

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 and practical activities.

Assessment methods and criteria

The final exam will consists into a practical project with Python to be realized as homework. Then the student will present his/her activity during an oral exam where the homework will be evaluated in terms of: - Correctness - Complexity - Quality of the documentation - Quality of the discussion Moreover, during the oral presentation, the student will be evaluated in any part of the course programm with open questions or simple exercises.

Other information

The frequency of the lectures is highly suggested.

2030 agenda goals for sustainable development

Not applicable

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