Changes between Version 12 and Version 13 of private/NlpInPracticeCourse/AnaphoraResolution
- Timestamp:
- Dec 10, 2019, 6:08:05 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
private/NlpInPracticeCourse/AnaphoraResolution
v12 v13 32 32 1. download script with data is available [[attachment:hobbs-ward-IA161.zip|here]] 33 33 1. understand Hobbs' definition of anaphora resolution and replace 'XXX' function call with correct one 34 1. try to find senteces that can not be resolved by Hobbs' algorithm. You34 1. find 20 nontrivial sentences wit anaphora: 10 that Hobbs algorithm can recognize and 10 sentences it dos not. You 35 35 can use [http://nlp.stanford.edu:8080/parser/index.jsp the Stanford parser] 36 36 to test new sentences - copy the tree to one line and remove the ROOT tag. 37 37 1. submit hobbs.py script to homework vault 38 38 39 Important commands (aisa): 40 1. python with nltk (version 3.0.2.): /home/xmedved1/nlp/python-env/bin/python 41 1. copy /home/xmedved1/nltk_data/ to your home directory 42 1. execute Hobbs script: /home/xmedved1/nlp/python-env/bin/python ./hobbs.py demosents.txt He 39 Commands: 40 1. execute Hobbs script: python ./hobbs.py demosents.txt He