Measurement of structure factors in inelastic neutrino scattering