Text this: Mathematical structures of social