def get_sts_score(elem): if elem in item_score.keys(): return abs(float(item_score[elem])) else: return 0.0
def get_score(w): if w in item_score.keys(): return str(item_score[w]) else: return '0'