Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
 def __init__(self, replace=False):
     AbstractQExpander.__init__(self, replace)
Ejemplo n.º 3
0
 def __init__(self, vectorfile, replace=False, topn=3):
     AbstractQExpander.__init__(self, replace, topn)
     Word2Vec.vectorfile = vectorfile
     Word2Vec.word2vec = None
Ejemplo n.º 4
0
 def __init__(self, vectorfile, replace=False, topn=3):
     AbstractQExpander.__init__(self, replace, topn)
     Glove.vectorfile = vectorfile
     Glove.glove = None
Ejemplo n.º 5
0
 def __init__(self, replace=False, topn=3):
     AbstractQExpander.__init__(self, replace, topn)