Text this: Structural pattern recognition/