The sections, tables and figures below correspond to the place in the paper where each result appears and show how to reproduce these results.
python2.7 analyze.py retrieval > retrieval.txt
python2.7 analyze.py errors
The data will be written to error-length.txt
.
In order to generate the figure:
Rscript error_length.R
The plot will be written to better-length.pdf
.
In order to generate the figure:
python2.7 utterance-length.py
The plot will be written to sentlength.pdf
.
In order to generate the figure:
KERAS_BACKEND=theano python2.7 predict-word-presence.py
The plot will be written to predword.pdf
.
Pre-extracted feature files for this experiment are included in data.tgz
. If you need to re-generate them, run:
python2.7 extract-features.py
In order to create the figure, run:
python2.7 sentence-similarity.py
Rscript bootstrap-and-plot-correlations.R
Sentence similarity data will be stored in z_score_coco_sick.csv
.
Figure will be saved as sentence_similarity.png
Pre-extracted feature files for this experiment are included in data.tgz
. If you need to re-generate them, run:
python2.7 extract_sick_features.py
python2.7 analyze.py homonyms
The data will be written to ambigu-io.txt
and ambigu-layerwise.txt
.
In order to generate the figure:
Rscript homonyms.R
The plot will be written to ambigu-layerwise.pdf