ModErn Text Analysis
META Enumerates Textual Applications
Namespaces | Functions
functional.h File Reference
#include <algorithm>
#include <functional>
#include <map>

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.
 

Functions

template<class Result , class... Args>
std::function< Result(Args...)> meta::functional::memoize (std::function< Result(Args...)> fun)
 Memoizes a std::function. More...
 
template<class Iter , class Function >
Iter meta::functional::argmax (Iter begin, Iter end, Function &&fn)
 Obtains the argument that maximizes the output of a function on a sequence. 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.