Text this: Representing discourse in context