Course details

Natural Language Processing (in English)

ZPJa Acad. year 2023/2024 Winter semester 5 credits

Foundations of the natural language processing, historical perspective, statistical NLP and modern era dominated by machine learning and, specifically, deep neural networks. Meaning of individual words, lexicology and lexicography, word senses and neural architectures for computing word embeddings, word sense classification and inferrence. Constituency and dependency parsing, syntactic ambiguity, neural dependency parsers. Language modeling and its applications in general architectures. Machine translation, historical perspective on the statistical approach, neural translation and evaluation scores. End-to-end models, attention mechanisms, limits of current seq2seq models. Question answering based on neural models, information extraction components, text understanding challenges, learning by reading and machine comprehension. Text classification and its modern applications, convolutional neural networks for sentence classification. Language-independent representations, non-standard texts from social networks, representing parts of words, subword models. Contextual representations and pretraining for context-dependent language modules. Transformers and self-attention for generative models. Communication agents and natural language generation. Coreference resolution and its interconnection to other text understanding components.


Course coordinator

Language of instruction



Examination (written)

Time span

  • 26 hrs lectures
  • 26 hrs projects

Assessment points

  • 51 pts final exam (written part)
  • 9 pts mid-term test (written part)
  • 40 pts projects



Learning objectives

To understand natural language processing and to learn how to apply modern machine learning methods in this field. To get acquainted with advanced deep learning architectures that proved to be successful in various NLP tasks. To

understand the use of neural networks for sequential language modelling, to understand  their use as conditional language models for transduction tasks, and to approaches employing these techniques in combination with other mechanisms for advanced applications.

The students will get acquainted with natural language processing and will understand a range of neural network models that are commonly applied in the field. They will also grasp basics of neural implementations of attention mechanisms and sequence embedding models and how these modular components can be combined to build state of the art NLP systems. They will be able to implement and to evaluate common neural network models for various NLP applications.
Students will improve their programming skills and their knowledge and practical experience with tools for deep learning as well as with general processing of textual data.

Why is the course taught

More and more people use natural language processing (NLP) in their everyday life - machine translators, virtual assistants, etc. Most NLP tasks have been recently realised by means of deep neural networks. Students of this course will learn, how the computer translates texts between languages, how it recognizes what a review author likes or dislikes about a new product, and how virtual asistants can answer questions on the Wikipedia text.

Prerequisite knowledge and skills

Knowledge of Python programming and fundamental elements of calculus.

Study literature

  • Géron, Aurélien. Hands-on machine learning with Scikit-Learn and TensorFlow: concepts, tools, and techniques to build intelligent systems. " O'Reilly Media, Inc.", 2017.

Syllabus of lectures

  1. Introduction, history of NLP, and modern approaches based on deep learning
  2. Word senses and word vector
  3. Dependency parsing
  4. Language models
  5. Machine translation
  6. Seq2seq models and attention
  7. Question answering
  8. Convolutional neural networks for sentence classification
  9. Information from parts of words: Subword models
  10. Modeling contexts of use: Contextual representations and pretraining
  11. Transformers and self-attention for generative models 
  12. Natural language generation 
  13. Coreference resolution

Syllabus - others, projects and individual work of students

  • Individually assigned project

Progress assessment

  • Mid-term test - up to 9 points
  • Individual project - up to 40 points
  • Written final exam - up to 51 points

The evaluation includes mid-term test, individual project, and the final exam. The mid-term test does not have a correction option, the final exam has two possible correction runs.

Exam prerequisites

  • Realized individual project


Mon exam 2024-01-22 A112 13:0014:50 3. termín
Mon lecture lectures G202 14:0015:5080 1EIT 1MIT 2EIT 2MIT INTE NSPE xx Fajčík
Thu exam 2024-01-04 E105 14:0015:50 řádná
Fri exam 2024-01-12 A112 15:0016:50 2. termín

Course inclusion in study plans

Back to top