def __init__(self, query, window_size=None, query_weight=None, rescore_query_weight=None, **kwargs):
super(RescoreQuery, self).__init__(**kwargs)<EOL>self.query = query<EOL>self.window_size = window_size<EOL>self.query_weight = query_weight<EOL>self.rescore_query_weight = rescore_query_weight<EOL>
Constructor