|
WordFreq
|
Common data structures needed to support cross file frequency analysis. More...
#include <parser.h>

Public Member Functions | |
| void | exportGlobal (std::ostream &out=std::cout) |
| A function that exports the combined frequency map. More... | |
Public Attributes | |
| std::map< std::string, size_t > | globalFreqencyMap |
| std::vector< Parser > | parsers |
Common data structures needed to support cross file frequency analysis.
Note: No effort was taken to make globalFreqencyMap thread safe. Parsers are intended to run sequentially.
| void ParserCollection::exportGlobal | ( | std::ostream & | out = std::cout | ) |
A function that exports the combined frequency map.
| [in] | out | The out stream we want to export the global frequency map. This parameter allows one to use a file stream instead of the default iostream. |
| std::map<std::string, size_t> ParserCollection::globalFreqencyMap |
| std::vector<Parser> ParserCollection::parsers |