Keep track of weights for each keyword