ModErn Text Analysis
META Enumerates Textual Applications
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
test
inverted_index_test.h
Go to the documentation of this file.
1
10
#ifndef META_INVERTED_INDEX_TEST_H_
11
#define META_INVERTED_INDEX_TEST_H_
12
13
#include <fstream>
14
#include <iostream>
15
#include "
test/unit_test.h
"
16
#include "
index/inverted_index.h
"
17
#include "
index/postings_data.h
"
18
#include "caching/all.h"
19
#include "cpptoml.h"
20
21
namespace
meta
22
{
23
namespace
testing
24
{
29
void
create_config
(
const
std::string& corpus_type);
30
35
template
<
class
Index>
36
void
check_ceeaus_expected
(Index& idx);
37
42
template
<
class
Index>
43
void
check_term_id
(Index& idx);
44
49
int
inverted_index_tests
();
50
}
51
}
52
53
#endif
meta::testing::check_ceeaus_expected
void check_ceeaus_expected(Index &idx)
Checks that ceeaus index was built correctly.
Definition:
inverted_index_test.cpp:64
inverted_index.h
meta::testing::check_term_id
void check_term_id(Index &idx)
Checks that the term info is consistent with the correct one.
Definition:
inverted_index_test.cpp:87
meta::testing::inverted_index_tests
int inverted_index_tests()
Runs the inverted index tests.
Definition:
inverted_index_test.cpp:105
meta
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
unit_test.h
meta::testing::create_config
void create_config(const std::string &corpus_type)
Creates test-config.toml with the desired settings.
Definition:
inverted_index_test.cpp:13
postings_data.h
Generated on Tue Mar 3 2015 23:20:16 for ModErn Text Analysis by
1.8.9.1