RankFunctionPivotedLengthNormVSM()
        {
            this.engConf = EngineConfiguration.Instance;
            this.docIndex = FactoryDocumentIndex.GetDocumentIndex();
            
            this.s = engConf.SNormalizationfactor;

            this.totalDocQuantity = docIndex.GetQuantity();

            this.avdl = docIndex.GetAverageDocumentLenght();
        }
Ejemplo n.º 2
0
        RankFunctionBM25_Okapi()
        {
            this.engConf = EngineConfiguration.Instance;
            this.docIndex = FactoryDocumentIndex.GetDocumentIndex();
            
            this.b = engConf.BNormalizationfactor;
            this.k1 = engConf.BM25OkapiK1factor;
            this.k3 = engConf.BM25OkapiK3factor;
            this.totalDocQuantity = docIndex.GetQuantity();

            this.avdl = docIndex.GetAverageDocumentLenght();
        }
Ejemplo n.º 3
0
 RankFunctionBM25()
 {
     this.engConf = EngineConfiguration.Instance;
     this.docIndex = FactoryDocumentIndex.GetDocumentIndex();
     this.totalDocQuantity = docIndex.GetQuantity();
 }