ModErn Text Analysis
META Enumerates Textual Applications
Namespaces | Typedefs | Functions
make_index.h File Reference
#include "cpptoml.h"
#include "meta/caching/all.h"
#include "meta/config.h"
#include "meta/corpus/corpus_factory.h"
#include "meta/index/cached_index.h"
#include "meta/io/filesystem.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 retrieval, data mining, and other applications of text processing.
 
 meta::index
 Indexes to create efficient representations of data.
 

Typedefs

using meta::index::dblru_inverted_index = cached_index< inverted_index, caching::default_dblru_cache >
 Inverted index using default DBLRU cache.
 
using meta::index::splay_inverted_index = cached_index< inverted_index, caching::splay_cache >
 Inverted index using splay cache.
 
using meta::index::memory_forward_index = cached_index< forward_index, caching::no_evict_cache >
 In-memory forward index.
 
using meta::index::dblru_forward_index = cached_index< forward_index, caching::default_dblru_cache >
 Forward index using default DBLRU cache.
 
using meta::index::splay_forward_index = cached_index< forward_index, caching::splay_cache >
 Forward index using splay cache.
 

Functions

template<class Index , class... Args>
std::shared_ptr< Index > meta::index::make_index (const cpptoml::table &config, corpus::corpus &docs, Args &&... args)
 Factory method for creating indexes. More...
 
template<class Index , class... Args>
std::shared_ptr< Index > meta::index::make_index (const cpptoml::table &config, Args &&... args)
 Helper for make_index that creates a corpus from the global config file. More...
 
template<class Index , template< class, class > class Cache, class... Args>
std::shared_ptr< cached_index< Index, Cache > > meta::index::make_index (const cpptoml::table &config, Args &&... args)
 Factory method for creating indexes that are cached. More...
 

Detailed Description

Author
Sean Massung
Chase Geigle

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.