a recipe with 500g flour and 3g salt would be similar to a recipe with 500g salt and 3g flour.
we suggest a method that also considers the amounts as an additional information, so that recipes have a higher similarity if the difference between the amounts of their respective ingredient descriptions is small.