Text this: Refractometry and chemical structure