Text this: Elementary structural analysis