Skip to content

Archives

Links for 2019-02-24

  • Cocktail similarity by Levenshtein distance

    Love it. ‘I was recently figuring out a minimum-viable bar setup for making cocktails at home, and a system for memorizing & recording recipes. When I started writing down the first basic ingredients, I started noticing that cocktails are very close to each other – if you ignore fruit rinds and ice and such, an Americano is a Negroni with soda water instead of gin. An Old Fashioned is a Manhattan with sugar instead of vermouth. So I wondered – what’s a cocktail edit distance?’

    (tags: edit-distance levenshtein-distance algorithms visualization cocktails d3 recipes booze)