1 Penn HP Labs Bangalore, 8/21/2003 Annotation as Algebra: a formal framework for linguistic annotation Mark Liberman University of Pennsylvania [email protected].