ModErn Text Analysis
META Enumerates Textual Applications
ranker_test.h
Go to the documentation of this file.
1 
10 #ifndef META_RANKER_TEST_H_
11 #define META_RANKER_TEST_H_
12 
13 #include "test/unit_test.h"
15 #include "index/ranker/all.h"
16 
17 namespace meta
18 {
19 namespace testing
20 {
27 template <class Ranker, class Index>
28 void test_rank(Ranker& r, Index& idx);
29 
34 int ranker_tests();
35 }
36 }
37 
38 #endif
void test_rank(Ranker &r, Index &idx)
Queries an index with its own docs to ensure that the query is the first doc returned.
The ModErn Text Analysis toolkit is a suite of natural language processing, classification, information retreival, data mining, and other applications of text processing.
Definition: analyzer.h:24
int ranker_tests()
Runs all the ranking tests.
Definition: ranker_test.cpp:37