|
OXY API 1.0
OXY API Library Documentation
|
Function object to create balanced word filters based on the maximum number of filters. More...
#include <word_filters.hpp>
Public Member Functions | |
| result_type | operator() (std::vector< std::string > const &words, int maxFilters) const |
Function object to create balanced word filters based on the maximum number of filters.
This functor provides an interface to create balanced word filters based on the maximum number of filters. It takes a vector of words and an integer representing the maximum number of filters, and returns a map associating each filter with its corresponding words. The implementation may vary depending on the desired filtering strategy.
| result_type oxy::make_balanced_filters_fn::operator() | ( | std::vector< std::string > const & | words, |
| int | maxFilters ) const |
| words | A vector of strings representing the words to be filtered. |
| maxFilters | An integer representing the maximum number of filters. |