Code and data for paper on Othering and Low Prestige Framing of Immigrant Food in US Restaurant Reviews and LLMs.
- Create and activate a Python 3.6.8 virtualenv (repo has not been tested with other versions)
- Install requirements:
pip install -r requirements.txt
- Download spaCy models:
python -m spacy download en_core_web_lg
python -m coreferee install en
- Download Yelp Open dataset NB: This dataset appears to be frequently updated by Yelp
- Download synthetic GPT-3.5 reviews and other larger data files from this drive folder if you do not want to create them from scratch. Then, place the file
gpt_new_reviews.csv
in a subdirectory with the pathdata/llm
.