Skip to content

fipl-hse/2022-2-level-ctlr

Repository files navigation

Technical Track of Computer Tools for Linguistic Research (2022/2023)

As a part of a compulsory course Computer Tools for Linguistic Research in National Research University Higher School of Economics.

This technical track is aimed at building basic skills for retrieving data from external WWW resources and processing it for future linguistic research. The idea is to automatically obtain a dataset that has a certain structure and appropriate content, perform morphological analysis using various natural language processing (NLP) libraries. Dataset requirements.

Instructors:

Project Timeline

  1. Scrapper:
    1. Short summary: Your code can automatically parse a media website you are going to choose, save texts and its metadata in a proper format.
    2. Deadline: April, 14
    3. Format: each student works in their own PR.
    4. Dataset volume: 5-7 articles.
    5. Design document: ./lab_5_scrapper/README.md.
    6. List of media websites to select from: at the Resources section on this page.
  2. Pipeline:
    1. Short summary: Your code can automatically process raw texts from previous step, make point-of-speech tagging and basic morphological analysis.
    2. Deadline: May, 12
    3. Format: each student works in their own PR.
    4. Dataset volume: 5-7 articles.
    5. Design document: ./lab_6_pipeline/README.md

Lectures history

Date Lecture topic Important links
13.03.2023 Lecture: Introduction to technical track. Lab no. 5 description
17.03.2023 Seminar: 3rd party libraries. N/A
20.03.2023 Lecture: Requests and HTML. Listing
24.03.2023 Seminar: Headers and introduction to bs4. Listing
27.03.2023 EXAM WEEK: skipping lecture and seminars. N/A
03.04.2023 Lecture: Access file system via pathlib. Listing, Listing
07.04.2023 Seminar: Early version of HTMLParser. Listing
10.04.2023 Lecture: Working with dates via datetime. Listing
14.04.2023 First deadline: crawler assignment. N/A
17.04.2023 Lecture: Assignment no. 6: concept and details. N/A
21.04.2023 Seminar: CorpusManager implementation. N/A
24.04.2023 Lecture: Automated morphological analysis. Listing, Listing
28.04.2023 Seminar: pymystem3API. Listing, Listing
01.05.2023 HOLIDAYS: skipping lecture and seminars. N/A
05.05.2023 HOLIDAYS: skipping lecture and seminars. N/A
08.05.2023 HOLIDAYS: skipping lecture and seminars. N/A
12.05.2023 Second deadline: pipeline assignment. N/A

You can find a more complete summary from lectures as a list of topics.

Technical solution

Module Description Component Need to get
pathlib working with file paths scrapper 4
requests downloading web pages scrapper 4
BeautifulSoup4 finding information on web pages scrapper 4
lxml Optional parsing HTML scrapper 6
datetime working with dates scrapper 6
json working with json text format scrapper, pipeline 4
pymystem3 module for morphological analysis pipeline 6
pymorphy2 module for morphological analysis pipeline 10

Software solution is built on top of three components:

  1. scrapper.py - a module for finding articles from the given media, extracting text and dumping it to the file system. Students need to implement it.
  2. pipeline.py - a module for processing text: point-of-speech tagging and basic morphological analysis. Students need to implement it.
  3. article.py - a module for article abstraction to encapsulate low-level manipulations with the article.

Handing over your work

Order of handing over:

  1. Lab work is accepted for oral presentation.
  2. A student has explained the work of the program and showed it in action.
  3. A student has completed the min-task from a mentor that requires some slight code modifications.
  4. A student receives a mark:
    1. That corresponds to the expected one, if all the steps above are completed and mentor is satisfied with the answer.
    2. One point bigger than the expected one, if all the steps above are completed and mentor is very satisfied with the answer.
    3. One point smaller than the expected one, if a lab is handed over one week later than the deadline and criteria from 4.1 are satisfied.
    4. Two points smaller than the expected one, if a lab is handed over more than one week later than the deadline and criteria from 4.1 are satisfied.

NOTE: A student might improve their mark for the lab, if they complete tasks of the next level after handing over the lab.

A lab work is accepted for oral presentation if all the criteria below are satisfied:

  1. There is a Pull Request (PR) with a correctly formatted name: Scrapper, <NAME> <SURNAME> - <UNIVERSITY GROUP NAME>. Example: Scrapper, Valeriya Kuznetsova - 19FPL1.
  2. Has a filled file target_score.txt with an expected mark. Acceptable values: 4, 6, 8, 10.
  3. Has green status.
  4. Has a label done, set by mentor.

Resources

  1. Academic performance: link
  2. Media websites list: link
  3. Python programming course from previous semester: link
  4. Scrapping tutorials: YouTube series (russian)
  5. HOWTO: Set up your fork
  6. HOWTO: Running tests
  7. HOWTO: Running assignments in terminal

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published