Text this: Automated Space-mapping framework for electromagnetic device optimisation