KR 2019 homework part 1: overall task

Allikas: Lambda
Redaktsioon seisuga 6. veebruar 2019, kell 10:54 kasutajalt Tammet (arutelu | kaastöö) (→Popular toolkits for NLP)
Mine navigeerimisribale Mine otsikasti

Task

The task of the first lab is to build and demonstrate a system which can

  • tokenize the text (input and question)
  • run a NER tool on the text giving wikipedia url-s as output. See webaida. Notice that:
    • some NER-s do not give wiki URL-s, but just types. This is also useful.
    • for the second overall scenario (like wikidata) we do need wiki urls, though.
  • run and experiment with a pre-trained word2vec system: as an example, see this tutorial. We will come back to that.
  • run and experiment with parser tool on the text. There are several ways to parse, some more useful for our purposes than others. We will come back to that.

The second lab will build upon the results here. In particular, some choices in the second lab depend on what you managed to do with ner, word2vec and parsers.

Technology and tools

You are free to use any programming language, but Python is recommended.

You are free to use NLP tools and API-s and datasets, but your program should drive them from the beginning to end (ie your program takes input files, calls tools, modifies and prints output). It is better to use the tools than not to use them!

Popular toolkits for NLP

The recommendation is to take the first (spacy) or the second (nltk) toolkit.

Web APIs