ModErn Text Analysis
META Enumerates Textual Applications
|
#include <cassert>
#include <unordered_set>
#include "cpptoml.h"
#include "classify/classifier/naive_bayes.h"
#include "index/postings_data.h"
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::classify | |
Algorithms for feature selection, KNN search, and confusion matrices. | |
Functions | |
term_probs_ | meta::classify::reserve (lbls.size()) |
meta::classify::for (const auto &lbl:lbls) term_probs_.emplace_back(lbl | |
template<> | |
std::unique_ptr< classifier > | meta::classify::make_classifier< naive_bayes > (const cpptoml::table &config, std::shared_ptr< index::forward_index > idx) |
Specialization of the factory method used for creating naive bayes classifiers. | |
Variables | |
auto | meta::classify::lbls = idx_->class_labels() |
meta::classify::term_prior | |