- generate training/testing sentences with generate-sentences/generate_from_pcfg.py
- create vocab.txt
- train LSTM model with language_models/main.py
- create testing sentences of alternative constructions with generate-sentences/create_alternation.py
- compute word surprisals with language_models/evaluate_target_word_test.py
- compute total sentence surprisal or average word surprisal with language_models/compute_sentence_surprisal.py