Moving the scoring code to fuzzy matching