This project is a Mesa implementation of the NetLogo Language Change model: NetLogo Language Change model
This project uses Mesa to run interactive language change model applications with different grammar configurations.
-
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate -
Install dependencies:
pip install -r requirements.txt
-
2 Grammars:
Run the main app with two grammars:solara run app.py
-
3 Grammars:
Run the app with three grammars:solara run 3_app.py
-
2 Grammars:
Run the main batch of experiments with two grammars:python3 batch_run.py
-
3 Grammars:
Run the main batch of experiments with three grammars:python3 3_batch_run.py
Feel free to explore and modify the apps for your language change modeling experiments!
Original model citation: Troutman, C. and Wilensky, U. (2007). NetLogo Language Change model. http://ccl.northwestern.edu/netlogo/models/LanguageChange. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.