'Constructor'

def __init__(self, query, window_size=None, query_weight=None, rescore_query_weight=None, **kwargs):

    super(RescoreQuery, self).__init__(**kwargs)
    self.query = query
    self.window_size = window_size
    self.query_weight = query_weight
    self.rescore_query_weight = rescore_query_weight
