Text this: Structure and complexity theory