Created model for context probabilities, and a function for parsing output files