Text this: Structural analysis a matrix approach