def __init__(self, inverted_index, b=0.65, k1=1.6):
    self.inverted_index = inverted_index
    self.b = b
    self.k1 = k1
    self.total_documents = inverted_index.dataloader.dataset.shape[0]
    self.total_documents
def __init__(self, inverted_index, b=0.65, k1=1.6):
    self.inverted_index = inverted_index
    self.b = b
    self.k1 = k1
    self.total_documents = inverted_index.dataloader.dataset.shape[0]
    self.total_documents