ModErn Text Analysis
META Enumerates Textual Applications
Namespaces | Functions
inverted_index_test.h File Reference
#include <fstream>
#include <iostream>
#include "test/unit_test.h"
#include "index/inverted_index.h"
#include "index/postings_data.h"
#include "caching/all.h"
#include "cpptoml.h"

Go to the source code of this file.

Namespaces

 meta
 The ModErn Text Analysis toolkit is a suite of natural language processing, classification, information retreival, data mining, and other applications of text processing.
 
 meta::testing
 Contains unit testing functions for the META toolkit.
 

Functions

void meta::testing::create_config (const std::string &corpus_type)
 Creates test-config.toml with the desired settings. More...
 
template<class Index >
void meta::testing::check_ceeaus_expected (Index &idx)
 Checks that ceeaus index was built correctly. More...
 
template<class Index >
void meta::testing::check_term_id (Index &idx)
 Checks that the term info is consistent with the correct one. More...
 
int meta::testing::inverted_index_tests ()
 Runs the inverted index tests. More...
 

Detailed Description

Author
Sean Massung

All files in META are dual-licensed under the MIT and NCSA licenses. For more details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the project.