semantique.processor.core.QueryProcessor.get_reducer#
- QueryProcessor.get_reducer(name)[source]#
Obtain a supported reducer function.
- Parameters:
name (
str
) – Name of the reducer function.- Returns:
callable
– The reducer function corresponding to the given name.- Raises:
exceptions.UnknownReducerError – If an reducer function corresponding to the given name cannot be found.