Skip to content

Source code for paper submitted to Semantics & Pragmatics.

Notifications You must be signed in to change notification settings

christopherahern/CCTJC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This repository contains the source code for the paper entitled "Conflict, Cheap Talk, and Jespersen's Cycle" submitted to the journal Semantics & Pragmatics by Christopher Ahern and Robin Clark.

Instructions

Data

To obtain the data used in this analysis, clone this repository and follow the instructions listed there. Many thanks to Aaron Ecay and Meredith Tamminga for sharing the queries and code to generate and process the data.

  • The output of this results is currently also in data/neg-data.csv
  • This means that the analysis can be run independently using just this repository

Code

To run the code either download the files as a ZIP, or clone the repository:

git clone https://github.com/christopherahern/CCTJC.git

The output of the notebook can also be viewed here without installing any additional software.

For running the code interactively we recommend installing the Anaconda python distribution. To run the Jupyter notebook, run the following in src/:

jupyter notebook

From there you can execute commands in order.

The appendix can be output to pdf using the following:

jupyter nbconvert --to pdf Ahern-Clark-SP-2017-Appendix.ipynb 

The analysis can also be performed by running the following in src/:

Rscript Ahern-Clark-SP-2017.R
py Ahern-Clark-SP-2017.py

Document

To compile the document, run the following in tex/:

pdflatex Ahern-Clark-SP-2017.tex

Citation

If you want to cite this paper, please use the following:

Ahern, Christopher and Robin Clark. Conflict, Cheap Talk, and Jespersen's Cycle. 2017

If you reference the results of this paper, please also cite the corpus used:

Kroch, Anthony, and Ann Taylor. 2000. The Penn-Helsinki Parsed Corpus of Middle English (PPCME2). Department of Linguistics, University of Pennsylvania. CD-ROM, second edition, release 4.

Comments

If you have comments or questions about anything, feel free to email christopher.ahern@gmail.com or create an issue on github.

About

Source code for paper submitted to Semantics & Pragmatics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published