Text this: A type-theoretical approach to categorical interaction and complex system adaptation: an empirical study based on register classification