Notebooks for the Introduction to Human Language Technology Lab sessions.
Master courses: Research Master Humanities and Text Mining.
This GitHub contains the python notebooks for the course Introduction into Human Language Technology at the Vrije Universiteit Amsterdam, Faculty of Humanities. This course targets Text Mining Master students and Research Master students. We assume you have some basic knowledge of Python or are following the Python for NLP course that runs in parallel.
The notebooks are grouped in 4 lab sessions:
- lab1: getting started and learn to work with Natural Language Processing toolkits
- lab2: modeling the meaning of words: wordnets and distributional models
- lab3: machine learning for Natural Language Processing
- lab4: contextualized language models
Lab5 contains the instructions for the final assignment that is graded.
During the first LAB session you are getting prepared to work with different tools and text data.
We want you to work on your own computer so that you can create your own code and freely experiment. A solid laptop and substantial disk space helps. We are going to use the following applications and toolkits:
- The Terminal under Linux or Mac OS, the command line under windows.
- Anaconda environment: https://anaconda.org, which also installs Python 3.8 or higher
- Jupyter notebooks: https://jupyter.org. (you also may want to check out this: https://towardsdatascience.com/bringing-the-best-out-of-jupyter-notebooks-for-data-science-f0871519ca29
To prepare for the course, make sure you have installed Anaconda and you familiarised yourself with the environment and with notebooks. We assume that you have basic programming skills in Python and that you can work in the Command Line from a terminal. Please follow the instruction in the document getting-started.pdf.
In addition to the above tools, you need a plain text editor to inspect text files that form your data. Note that this is not the same as Word or Adobe. Word and PDF files are binary files and contain many other things besides the text (just like HTML files on websites continue instructions how to visualise text). The following text editors can be used:
- Windows: Notepad++
- Mac OS/Linux: Atom, BBEdit
Tip: to find out the difference between proper text files and other types of document, open one of the above text editors and load a Word, Pdf or Html file. You will see immediately a lot of stuff that is not text.