Changes between Initial Version and Version 1 of en/NlpInPracticeCourse/2022/AnaphoraResolution


Ignore:
Timestamp:
Sep 13, 2023, 2:44:00 PM (8 months ago)
Author:
Ales Horak
Comment:

copied from private/NlpInPracticeCourse/AnaphoraResolution

Legend:

Unmodified
Added
Removed
Modified
  • en/NlpInPracticeCourse/2022/AnaphoraResolution

    v1 v1  
     1= Anaphora resolution =
     2
     3[[https://is.muni.cz/auth/predmet/fi/ia161|IA161]] [[en/NlpInPracticeCourse|NLP in Practice Course]], Course Guarantee: Aleš Horák
     4
     5Prepared by: Marek Medveď
     6
     7== State of the Art ==
     8
     9Anaphora resolution (or pronoun resolution) is the problem of resolving references to earlier or later items in the discourse. [[BR]]
     10Main approaches:
     111. Knowledge-rich approaches:
     12     1. Syntax-based approaches
     13     2. Discourse-Based Approaches
     14     3. Hybrid Approaches
     15     4. Corpus based Approaches
     161. Knowledge-poor Approaches:
     17     1. Machine learning techniques
     18=== References ===
     19
     20 1. Anaphora Resolution, Studies in Language and Linguistics by Mitkov, R., 2014, Taylor & Francis
     21 1. A neural entity coreference resolution review. Stylianou, N. and Vlahavas, I. (2021)
     22 1. A comprehensive review on feature set used for anaphora resolution. Lata, K., Singh, P., and Dutta, K. (2020).
     23 1. Efficient and interpretable neural models for entity tracking. Toshniwal, S. (2022)
     24
     25== Practical Session ==
     26
     27Student has to understand Hobbs' definition of anaphora resolution and according to it implement the main function of Hobbs' algorithm in the proposed python script that contains all necessary functions. According to real data (syntactic trees) students test their adjusted program and evaluate it. At the end of the session students hand in the results to prove completing the task. An additional task is to find sentence structures that are not covered by Hobbs' algorithm.
     28
     29The task:
     30 1. download the script with data from [[raw-attachment:hobbs.zip|here]] -> correct solution  [[raw-attachment:hobbs_correct.py|here]]
     31 1. NLTK package is required for `hobbs.py`. When running at your computer, paste
     32    {{{
     33pip3 install nltk --user
     34}}}
     35    in the terminal to install NLTK package. Faculty machines should have `nltk` already installed.
     36 1. understand Hobbs' definition of anaphora resolution and replace `XXX` function calls with correct ones
     37 1. find 20 nontrivial sentences with anaphora: 10 that Hobbs algorithm can recognize and 10 sentences it dos not. You
     38 can use [https://nlp.fi.muni.cz/projekty/qa/parser/ the Stanford parser]
     39 to test new sentences - copy the tree to one line and remove the ROOT tag.
     40 1. submit your `hobbs.py` script with 10 examples that are correctly recognized with `hobbs.py` and 10 examples that are not correctly recognized by `hobbs.py` in the homework vault. For each unrecognized example write an explanation into one separate file `unrecognized_notes.txt` (first column: ''example id'', second column: ''explanation'').
     41
     42Commands:
     43 1. execute Hobbs script:
     44    {{{
     45python3 ./hobbs.py demosents.txt He
     46}}}