Code for processing dialogue data. reading annotations