Monday, January 11, 2016

V2.1: Improved Matching

This release consisted of putting some thought about the best way to check if the beers I'm getting back from the various sites are the same, even with the different name variations.  For example, for CBS, you see the get the following names back:

Beer Advocate:  Founders CBS Imperial Stout
Untappd:  Canadian Breakfast Stout (CBS)
RateBeer:  Founders Backstage Series # 2: CBS (Canadian Breakfast Stout)
BreweryDB:  Canadian Breakfast Stout (CBS)

So I added some logic around checking the brewery and the name and playing with the weighting of the name until I got suitable results for all of my test cases.

No comments:

Post a Comment