ModErn Text Analysis
META Enumerates Textual Applications
|
#include <cmath>
#include <type_traits>
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::stats | |
Probability distributions and other statistics functions. | |
Functions | |
template<class Dist , class Fun > | |
double | meta::stats::expected_value (Dist &&dist, Fun &&fun) |
Computation for \(E_d[f(x)]\) where \(d\) is specified by the dist parameter and \(f(x)\) is the fun parameter. More... | |
template<class Dist > | |
double | meta::stats::entropy (Dist &&dist) |
Computes the entropy \(H(X) = - \sum_{x \in X} p(x) \log_2 p(x)\). More... | |
All files in META are released under the MIT license. For more details, consult the file LICENSE in the root of the project.