https://github.com/gesiscss/political_approval
https://github.com/gesiscss/political_approval
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/gesiscss/political_approval
- Owner: gesiscss
- Created: 2020-10-04T20:59:21.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T01:08:26.000Z (over 3 years ago)
- Last Synced: 2025-02-22T21:15:02.469Z (over 1 year ago)
- Language: Jupyter Notebook
- Size: 1.05 MB
- Stars: 2
- Watchers: 11
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repositiory contains the code for the paper "On the Reliability and Validity of Measuring Approval of Political Actors" at EMNLP 2020
Install requirements with `pip install -r requirements.txt`
To replicate the results in the paper, run `replicate results.ipynb`
To rerun the analysis:
0. rehydrate the tweets based on the IDs in `data/all_data_no_tweet_text.csv`
1. run `train_in_domain_models.py`
2. run DSSD using `./run_dssd.sh`
3. run `label_stance.py`