This repository contains Python code that performs "narrative continuation" (i.e. predicting what happens next in a story) in a few different frameworks. See each folder for a detailed description of each framework with instructions for running the code:
Code that generates new sentences in stories
Code that performs the Story Cloze Test, which predicts endings for stories
Code that performs the Choice of Plausible Alternatives (COPA), which predicts sentences that describe a cause-effect relation between story events