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.cs.cmu.edu/~lemur/license.html 00008 * 00009 *========================================================================== 00010 */ 00011 00012 #ifndef _RETMETHODMANAGER_HPP 00013 #define _RETMETHODMANAGER_HPP 00014 00015 #include "RetParamManager.hpp" 00016 00017 class RetMethodManager { 00018 public: 00019 enum RetModel {TFIDF=0, OKAPI=1, KL=2, CORI_DOC=3,CORI_CS=4,COS=5}; 00020 00022 static RetrievalMethod* createModel(Index* ind, ArrayAccumulator* accum, RetModel def=KL); 00023 00024 }; 00025 00026 #endif