Text this: Algebraic semantics for narrative.