ModErn Text Analysis
META Enumerates Textual Applications
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
test
forward_index_test.h
Go to the documentation of this file.
1
10
#ifndef META_FORWARD_INDEX_TEST_H_
11
#define META_FORWARD_INDEX_TEST_H_
12
13
#include <fstream>
14
#include <iostream>
15
#include "
test/unit_test.h
"
16
#include "
index/forward_index.h
"
17
#include "
test/inverted_index_test.h
"
// for config file creation
18
#include "caching/all.h"
19
#include "cpptoml.h"
20
21
namespace
meta
22
{
23
namespace
testing
24
{
28
void
create_libsvm_config
();
29
34
template
<
class
Index>
35
void
check_bcancer_expected
(Index& idx);
36
41
template
<
class
Index>
42
void
check_ceeaus_expected_fwd
(Index& idx);
43
48
template
<
class
Index>
49
void
check_bcancer_doc_id
(Index& idx);
50
55
template
<
class
Index>
56
void
check_ceeaus_doc_id
(Index& idx);
57
61
void
ceeaus_forward_test
();
62
66
void
bcancer_forward_test
();
67
72
int
forward_index_tests
();
73
}
74
}
75
76
#endif
meta::testing::create_libsvm_config
void create_libsvm_config()
Creates a test-config.toml with the desired settings.
Definition:
forward_index_test.cpp:13
meta::testing::check_bcancer_expected
void check_bcancer_expected(Index &idx)
Asserts that the bcancer corpus was created correctly.
Definition:
forward_index_test.cpp:29
inverted_index_test.h
meta::testing::check_ceeaus_doc_id
void check_ceeaus_doc_id(Index &idx)
Asserts that the ceeaus corpus was created correctly.
Definition:
forward_index_test.cpp:84
meta::testing::check_ceeaus_expected_fwd
void check_ceeaus_expected_fwd(Index &idx)
Asserts that the bcancer corpus was created correctly.
Definition:
forward_index_test.cpp:46
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
meta::testing::bcancer_forward_test
void bcancer_forward_test()
Runs the bcancer forward index tests.
Definition:
forward_index_test.cpp:108
unit_test.h
meta::testing::forward_index_tests
int forward_index_tests()
Runs all the forward_index tests.
Definition:
forward_index_test.cpp:116
meta::testing::check_bcancer_doc_id
void check_bcancer_doc_id(Index &idx)
Asserts that the ceeaus corpus was created correctly.
Definition:
forward_index_test.cpp:67
forward_index.h
meta::testing::ceeaus_forward_test
void ceeaus_forward_test()
Runs the ceeaus forward index tests.
Definition:
forward_index_test.cpp:100
Generated on Tue Mar 3 2015 23:20:16 for ModErn Text Analysis by
1.8.9.1