Parse imperial units