Text this: Modeling Nanoscale Imaging in Electron Microscopy