Strumenti Utente

Strumenti Sito


mds:txa:start

Text Analytics (635AA) A.Y. 2023/24

Teacher

Laura Pollacci (laura.pollacci [at] di [dot] unipi [dot] it)

Office hours:

Schedule

Day Hour Room
Thursday 16-18 Fib C1
Friday 11-13 Fib M1

Team of the class

Objectives

The course targets text analytics systems and applications to respond to business problems by discovering and presenting knowledge that is otherwise locked in textual form. The main objectives of the course are:

  1. Learning essential techniques, algorithms, and models used in natural language processing.
  2. Understanding of the architectures of typical text analytics applications and of libraries for building them.
  3. Expertise in design, implementation, and evaluation of applications that exploit analysis, interpretation, and transformation of texts.

Background

  • Background: Natural Language Processing, Information Retrieval and Machine Learning
  • Mathematical background: Probability, Statistics and Algebra
  • Linguistic essentials: words, lemmas, morphology, Part of Speech (PoS), syntax
  • Basic text processing: regular expression, tokenisation
  • Data collection: scraping
  • Basic modelling: collocations, language models
  • Introduction to Machine Learning: theory and practical tips
  • Libraries and tools: NLTK, Spacy, Keras, pytorch
  • Classification/Clustering
  • Sentiment Analysis/Opinion Mining
  • Information Extraction/Relation Extraction/Entity Linking
  • Transfer learning
  • Quantification

Lecture Notes

Date Lecture Slides Material / Reference
2023/09/21 Introduction to the course, NLP & Text Analytics. 1 - Introduction to the Text Analytics courseJ. Eisenstein. Introduction to Natural Language Processing. MIT Press. Chp. 1.
2023/09/22 Reminds on probability. 2 - Reminds on probability
2023/09/28 Introduction to Python. 3 - Introduction to Python L3_Introduction_to_Python.ipynb
2023/09/29 Introduction to Python - part 2. Project and Dates 4 - Project and Dates

Exam

Attending students

The exam for attending students will consist of the development of a project to be agreed upon with the teacher and an oral exam. The outcome of the project will be some code and a report of the activity (4-10 pages is the typical length range). The oral exam will consist of the presentation and discussion of the project. Projects may be based on challenges proposed in either research forums (Semeval, Evalita) or other platforms (Kaggle). Students are also invited to propose a project based on other sources (e.g., recent papers on ArXiv CL or AI), or their own interests. Students may work in 3-5 people groups.

Non-Attending students

The exam for non attending students will consist in a written exam with open question and exercises, and an oral discussion on the topics of the course.

Written test example.

Textbooks

It is recommended to read selected chapters from:

  1. D. Jurafsky, J.H. Martin, Speech and Language Processing. 3nd edition, Prentice-Hall, 2018.
  2. S. Bird, E. Klein, E. Loper. Natural Language Processing with Python.

Further bibliography will be indicated as a material for the single lessons.

Previous editions

mds/txa/start.txt · Ultima modifica: 29/09/2023 alle 09:04 (3 ore fa) da Laura Pollacci