Changes between Version 32 and Version 33 of private/NlpInPracticeCourse/AnaphoraResolution
- Timestamp:
- Dec 2, 2024, 2:28:32 PM (8 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
private/NlpInPracticeCourse/AnaphoraResolution
v32 v33 29 29 30 30 The task: 31 1. download the script with data from [[raw-attachment:hobbs.zip|here]] 32 1. NLTK package is required for `hobbs.py`. When running at your computer, paste 33 {{{ 34 pip3 install nltk --user 35 }}} 36 in the terminal to install NLTK package. Faculty machines should have `nltk` already installed. 31 1. Open [https://colab.research.google.com/drive/1MfOiehuxtStzTu-eVRFNQauLUTGcu3Xw?usp=sharing Google Colab notebook IA161-AnaphoraResolution.ipynb]. 37 32 1. understand Hobbs' definition of anaphora resolution and replace `XXX` function calls with correct ones 38 1. find 20 nontrivial sentences with anaphora: 10 that Hobbs algorithm can recognize and 10 sentences it dos not. You 39 can use [https://nlp.fi.muni.cz/projekty/qa/parser/ the Stanford parser] 40 to test new sentences - copy the tree into file formated into one line. 33 1. find 20 nontrivial sentences with anaphora: 10 that Hobbs algorithm can recognize and 10 sentences it dos not. 41 34 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''). 42 35