Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CORIMergeMethod.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2001 Carnegie Mellon University.  All Rights Reserved.
00003  *
00004  * Use of the Lemur Toolkit for Language Modeling and Information Retrieval
00005  * is subject to the terms of the software license set forth in the LICENSE
00006  * file included with this software, and also available at
00007  * http://www.lemurproject.org/license.html
00008  *
00009  *==========================================================================
00010 */
00011 
00012 #ifndef _CORIMERGEMETHOD_HPP
00013 #define _CORIMERGEMETHOD_HPP
00014 
00024 #include "DistMergeMethod.hpp"
00025 
00026 class CORIMergeMethod: public DistMergeMethod {
00027 public:
00028   CORIMergeMethod(double constA=0.4, double constB=1.4);
00029   ~CORIMergeMethod();
00030 
00031 protected:
00033   double score(double dbscore, double docscore) const;
00034 
00035 private:
00036   double A;    // a constant for the formula. default is 0.4
00037   double B;    // a constant for the formula. default is 1.4
00038 };
00039 
00040 #endif

Generated on Wed Nov 3 12:58:53 2004 for Lemur Toolkit by doxygen1.2.18