Determination of the correlation structure of nuclei via inelastic electron scattering