00001 /*========================================================================== 00002 * Copyright (c) 2004 University of Massachusetts. 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 // 00013 // TermScoreFunctionFactory 00014 // 00015 // 19 August 2004 -- tds 00016 // 00017 00018 #ifndef INDRI_TERMSCOREFUNCTIONFACTORY_HPP 00019 #define INDRI_TERMSCOREFUNCTIONFACTORY_HPP 00020 00021 #include "indri/TermScoreFunction.hpp" 00022 #include <string> 00023 00024 class TermScoreFunctionFactory { 00025 public: 00026 static TermScoreFunction* get( const std::string& spec, double collectionFrequency ); 00027 }; 00028 00029 #endif // INDRI_TERMSCOREFUNCTIONFACTORY_HPP 00030