Middle English negation
To preform the replication, you should examine the
script in the
queries subdirectory of this repository.
Edit the line of the file beginning
CS_COMMAND=so that it points to the location on your computer where the CorpusSearch program is.
You will also need to place a file named
queriesdirectory that contains the PPCME2 corpus (concatenating together the
.psdfiles from the corpus release suffices).
Once you have performed these two steps, you should run the
make-corpus.sh script. The final output of this process is the
coding.cod.ooo file, a copy of which is also included in this
repository for the convenience of those who do not have access to the
PPCME2. This file is the input to the next stage.
The do-support code relies on the data file
do.dat in the
subdirectory of this repository. (Please contact the authors if you are
interested in the scripts which generate this file from the PPCEME and
PCEEC). The code for creating the priming graph is contained in the
dosupp.R in the
The analysis is provided in the form of R source code,, in two files in
scripts subdirectory. In order to use this code, you will need
to install the
tikzDevice packages (the last only if you intend to replicate the
graphs for compilation to PDF, and not merely interactively in the R
install.packages(c("stringr","plyr","ggplot2", "reshape2")) install.packages(c("tikzDevice"), repos = c("http://R-Forge.R-project.org"))
tikzDevice package has to be installed from a non-default
repository, because it is not distributed on CRAN, the main R package
You should set R’s working directory to the root of this repository
(e.g. with the
Once you have done that, load the two scripts:
Then, load the data into R:
neg <- cleanNegData()
Then, you can make the graphs:
Inspect the source in the
graphs.R file for more detail about
In order to recreate the slide show from the LaTeX source, you will need
several LaTeX packages; consult the
digs-slides.cls files for exact details. You should compile the
slides using the
lualatex program, and
biber for the bibliography.
The easiest way to install all the necessary programs is the TeXlive distribution.
If you have comments on the presentation, the analysis, or any aspect of the work, please feel free to email email@example.com.