00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef INDRI_TERMSCOREFUNCTIONFACTORY_HPP
00019 #define INDRI_TERMSCOREFUNCTIONFACTORY_HPP
00020
00021 #include "indri/TermScoreFunction.hpp"
00022 #include <string>
00023 namespace indri
00024 {
00025 namespace query
00026 {
00027 class TermScoreFunctionFactory {
00028 public:
00029 static TermScoreFunction* get( const std::string& spec, double occurences, double contextSize, int documentOccurrences = 0, int documentCount = 0 );
00030 };
00031 }
00032 }
00033
00034 #endif // INDRI_TERMSCOREFUNCTIONFACTORY_HPP
00035