|
OXY API 1.0
OXY API Library Documentation
|
Function object to dynamically create word filters based on the maximum number of inputs per filter. More...
#include <word_filters.hpp>
Public Member Functions | |
| result_type | operator() (std::vector< std::string > const &words, int maxInputsPerFilter) const |
Function object to dynamically create word filters based on the maximum number of inputs per filter.
This functor provides an interface to create dynamic word filters based on the maximum number of inputs per filter. It takes a vector of words and an integer representing the maximum number of inputs per filter, 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_dynamic_filters_fn::operator() | ( | std::vector< std::string > const & | words, |
| int | maxInputsPerFilter ) const |
| words | A vector of strings representing the words to be filtered. |
| maxInputsPerFilter | An integer representing the maximum number of inputs per filter. |