This repository accompanies the publication:
Revising with a Backward Glance: Regressions and Skips during Reading as Cognitive Signals for Revision Policies in Incremental Processing.
by Brielen Madureira, Pelin Çelikkol and David Schlangen at CoNLL 2023.
- Create the preprocessed directory structure. Commands are in the first block of
setup.sh
. - Create the Python environment. The steps we used are in
setup.sh
. Alternatively, install via conda or pip usingenvironment.yml
andrequirements.txt
, repectively. - Download the data. Follow the instructions in
data/README.md
.
- Extract human regressions and number of fixations. Run the
preprocess_human_data.ipynb
notebook. Human data will be saved intopreprocessed/human_data
. - Extract models outputs, revisions and edits. Run the
preprocess_model_data.ipynb
notebook. Models data will be saved intopreprocessed/model_data
andpreprocessed/model_outputs
. - Merge the files. Run the
merge_data.ipynb
notebook.
Data preprocessing for models, humans and merge run on June 27, 2023.
- Run the R scripts for the analysis. Results should be saved into
results/
. - Create plots and tables. Run the
plots-tables.ipynb
notebook.