Authors:
The code provided in this repository was executed using Python 3.11.2. First, clone the repository:
git clone https://github.com/alexeykosh/2024-convexity-efficient-communication/
Then, navigate to the repository:
cd 2024-convexity-efficient-communication
All the required packages are listed in the requirements.txt
file. To install the required packages, run the following command:
pip install -r requirements.txt
Word Color Survey data used in this study needs to be downloaded from the WCS website. The downloaded zip file needs to be placed in the data/
directory.
After downloading the data, run the following command to extract the data:
python3 wcs_preprocessing.py
- analysis.ipynb -- this notebook contains the code for the analysis of the Word Color Survey data (Study 1).
- modelling.ipynb -- this notebook contains the code for the modelling of effects of different biases on simplicity-informativeness trade-off in artifical lexicons (Study 2).