ModErn Text Analysis
META Enumerates Textual Applications
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
test
vocabulary_map_test.h
1
10
#ifndef META_VOCABULARY_MAP_WRITER_TEST_H_
11
#define META_VOCABULARY_MAP_WRITER_TEST_H_
12
13
#include <iostream>
14
#include "
io/binary.h
"
15
#include "
index/vocabulary_map_writer.h
"
16
#include "
index/vocabulary_map.h
"
17
#include "
util/disk_vector.h
"
18
#include "
util/filesystem.h
"
19
#include "
test/unit_test.h
"
20
21
namespace
meta
22
{
23
namespace
testing
24
{
29
void
write_file
(uint16_t size = 20);
30
35
void
assert_correctness
(uint16_t size = 20);
36
41
void
read_file
(uint16_t size = 20);
42
47
int
vocabulary_map_tests
();
48
}
49
}
50
51
#endif
binary.h
meta::testing::read_file
void read_file(uint16_t size=20)
Reads data from the vocab map file.
Definition:
vocabulary_map_test.cpp:95
vocabulary_map.h
filesystem.h
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
disk_vector.h
meta::testing::vocabulary_map_tests
int vocabulary_map_tests()
Runs the vocab map tests.
Definition:
vocabulary_map_test.cpp:128
vocabulary_map_writer.h
meta::testing::assert_correctness
void assert_correctness(uint16_t size=20)
Makes sure the content in the vocab map is correct.
Definition:
vocabulary_map_test.cpp:22
meta::testing::write_file
void write_file(uint16_t size=20)
Writes a file to decode.
Definition:
vocabulary_map_test.cpp:14
Generated on Tue Mar 3 2015 23:20:16 for ModErn Text Analysis by
1.8.9.1