Refinements in the helium line ratio technique for electron temperature measurement and its application to the precursor