Python codes for converting text with TimeML annotation to CAT-XML annotation, and vice versa.