Text this: Substructure analysis and design