Text this: Hamiltonian learning in quantum field theories