Introduction to Python and Natural Language Technologies
A tantárgyleírás hatályossága
| Subject name (Hungarian, English) |
Bevezetés a Python és nyelvtechnológia világába
Introduction to Python and Natural Language Technologies
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Subject code | BMEVIAUAV35 | ||||||||||||
| Subject type | — | ||||||||||||
| Training Level | — | ||||||||||||
| Course types and hours (weekly/semester) |
|
||||||||||||
| Assessment type | vizsga | ||||||||||||
| Credits | 4 | ||||||||||||
| Subject coordinator |
Dr. Gulyás Gábor György
contact:
gulyas@aut.bme.hu
|
||||||||||||
| Responsible department |
—
|
||||||||||||
| Faculty | |||||||||||||
| Subject website | — | ||||||||||||
| Primary curriculum type | — | ||||||||||||
| Direct prerequisites – Strong prerequisite | none | ||||||||||||
| Direct prerequisites – Weak prerequisite | none | ||||||||||||
| Direct prerequisites – Parallel prerequisite | none | ||||||||||||
| Direct prerequisites – Milestone prerequisite | none | ||||||||||||
| Direct prerequisites – Exclusion | none |
Objectives
|
|
Lecture Topic |
Lab Topic |
|
1 |
Introduction: what is natural language processing,
typical applications, history, major areas of NLP/CL, relationship to
computer science and linguistics |
Setting up - using the provided VMs, git repository,
basic NLP tools |
|
2 |
Introduction to Python, basic syntax, built-in
types, operators, functions, file manipulation |
Using Jupyter. Writing simple functions. Handling text
files. |
|
3 |
Built-in types in detail (list, set, dict), immutability.
Advanced string manipulation, encodings, Regular expressions. |
Typical string manipulation exercises. Writing a
simple parser with regular expressions. |
|
4 |
Object-oriented Python, properties, static methods,
class methods, magic methods, operator overloading. Iterators, generators.
Context managers. |
Complex OOP exercise. Writing our own iterator and
context manager. |
|
5 |
Decorators. Functional programming in Python. Writing
command line applications in Python. Using Linux command line applications
for text processing. IO redirection, pipelines. |
Writing a simple command line application. Using it in
the terminal, interacting with built-in Linux commands via pipes. |
|
6 |
Scientific Python. Numpy, scipy. Basic matrix
operations. Sparse matrices. |
Matrix manipulation. Working with large sparce
matrices. |
|
7 |
Data science. Handling text data. Basic shell
commands. Pandas. |
Handling text data exercises. Data cleaning. Pandas
exercises. |
|
8 |
Deep learning for NLP. Feed forward neural networks,
recurrent neural networks. LSTM, GRU. |
PyTorch basics. Defining neural networks, training and
evaluation loops |
|
9 |
Textual sequence modeling: sequence labeling and
classification, sequence-to-sequence models. Attention. |
Sequence modeling in PyTorch. |
|
10 |
Language modeling. Word vectors. Contextualized
language models. Transformers. BERT. |
Exploring pretrained models: word2vec, GloVe,
fastText, BERT, ELMo |
|
11 |
Dependency parsing. Universal dependencies. |
Working with Universal Dependencies. Multilingual
models and problems. |
|
12 |
NLP applications I.: neural machine translation,
sentiment analysis, question answering, summarization, dialogue. |
NLP in practice. Using pretrained models for machine
translation, question answering etc. |
|
13 |
NLP applications II.: knowledge bases. |
NLP in practice II. Homework consultation. |
|
14 |
Practical session |
Practical session |
Learning outcomes
Ez a tantárgy a KKK rendeletben meghatározott, következő kompetenciák fejlesztését szolgálja:
Knowledge
No learning outcomes recorded.
Skills
No learning outcomes recorded.
Attitudes
No learning outcomes recorded.
Autonomy and responsibility
No learning outcomes recorded.
Oktatási módszertan
Tanulástámogató anyagok
Online források
Recommended preliminary knowledge for completing the subject
General rules
Assessment methods
In-term assessments
No detailed assessments provided.
Weight of in-term assessments
No weights provided.
Exam-period assessments
No detailed assessments provided.
Weight of exam elements
No weights provided.
Grade calculation
No grade thresholds provided.
Attendance requirements
No attendance requirements provided.
Rules for retake and resubmission
Not provided.
Short description
Not provided.
Detailed description
Not provided.
Recommended courses
Workload to complete the subject
No workload breakdown provided.
Validity of subject requirements
Curriculum placement
No curriculum placements recorded for this subject version.