def __init__(self, ranker, prels, anserini, index, topn=10): AbstractQExpander.__init__(self, replace=False, topn=topn) self.prels = prels self.f = None self.anserini = anserini self.index = index self.ranker = ranker
def __init__(self, replace=False): AbstractQExpander.__init__(self, replace)
def __init__(self, vectorfile, replace=False, topn=3): AbstractQExpander.__init__(self, replace, topn) Word2Vec.vectorfile = vectorfile Word2Vec.word2vec = None
def __init__(self, vectorfile, replace=False, topn=3): AbstractQExpander.__init__(self, replace, topn) Glove.vectorfile = vectorfile Glove.glove = None
def __init__(self, replace=False, topn=3): AbstractQExpander.__init__(self, replace, topn)