Measurement identification uses a simple contextfree grammar along with a mapping from units to dimensions.
we know that 'inch' is a unit in the LENGTH domain which is equal to 0.02524 meters, and that "acre foot" is a unit of VOLUME equal to 1233.48 standard units (here, cubic meters).