lookup terms in scores_dict