Text this: Computational study of terahertz-driven controllable molecular isomerization