Text this: The categorical contours of the Chomsky-Schützenberger representation theorem