Changes between Version 19 and Version 20 of private/NlpInPracticeCourse/AnaphoraResolution


Ignore:
Timestamp:
Dec 1, 2021, 12:32:18 PM (2 years ago)
Author:
Ales Horak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • private/NlpInPracticeCourse/AnaphoraResolution

    v19 v20  
    3030
    3131The task:
    32  1. download script with data is available [[attachment:hobbs.zip|here]]
    33  1. NLTk package is required for hobbs.py. Paste 'pip3 install nltk --user' to terminal to install NLTK package.
    34  1. understand Hobbs' definition of anaphora resolution and replace 'XXX' function call with correct one
     32 1. download the script with data from [[attachment:hobbs.zip|here]]
     33 1. NLTK package is required for `hobbs.py`. When running at your computer, paste {{{pip3 install nltk --user}}} to terminal to install NLTK package. Faculty machines should have nltk already installed.
     34 1. understand Hobbs' definition of anaphora resolution and replace 'XXX' function call with the correct one
    3535 1. find 20 nontrivial sentences wit anaphora: 10 that Hobbs algorithm can recognize and 10 sentences it dos not. You
    3636 can use [http://nlp.stanford.edu:8080/parser/index.jsp the Stanford parser]
    3737 to test new sentences - copy the tree to one line and remove the ROOT tag.
    38  1. submit 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).
     38 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'').
    3939
    4040Commands:
    41  1. execute Hobbs script: python ./hobbs.py demosents.txt He
     41 1. execute Hobbs script:
     42    {{{
     43python3 ./hobbs.py demosents.txt He
     44}}}