Repository the 2nd homework of the NLP 2021 course at Sapienza University of Rome.
Source code in this repo is an extension of NLP TA's code (see requirements below). As in the assignement, I only edited the following folders and files:
hw2/stud/
model/
requirements.txt
- Additional data:
- python nltk package
- python textblob package
TA's code and other requirements to use this code are indicated here.
test.sh is a simple bash script. To run it:
bash test.sh data/restaurants_dev.json
Actually, you can replace data/restaurants_dev.jsonl to point to a different file, as far as the target file has the same format.