Compact Representations of Event Sequences