OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
word_filters.hpp File Reference

Provides functions for creating dynamic and balanced word filters. More...

Classes

struct  oxy::make_balanced_filters_fn
 Function object to create balanced word filters based on the maximum number of filters. More...
struct  oxy::make_dynamic_filters_fn
 Function object to dynamically create word filters based on the maximum number of inputs per filter. More...

Namespaces

namespace  oxy
 This root namespace contains the common types and operations for the OXY-API library.

Typedefs

using oxy::result_type = std::map<std::string, std::vector<std::string>>
 A type alias for a map that associates strings with vectors of strings.

Variables

constexpr make_balanced_filters_fn oxy::make_balanced_filters
 A constexpr instance of the make_balanced_filters_fn function object for use in functional programming.
constexpr make_dynamic_filters_fn oxy::make_dynamic_filters
 A constexpr instance of the make_dynamic_filters_fn function object for use in functional programming.

Detailed Description

Provides functions for creating dynamic and balanced word filters.

This header defines function objects for creating dynamic and balanced word filters based on the maximum number of inputs per filter or the maximum number of filters. The make_dynamic_filters_fn and make_balanced_filters_fn structs provide interfaces to create word filters from a vector of words, returning a map associating each filter with its corresponding words. The implementation may vary depending on the desired filtering strategy.

@license MPL-2.0