semantique.processor.core.QueryProcessor.add_custom_operator

semantique.processor.core.QueryProcessor.add_custom_operator#

QueryProcessor.add_custom_operator(name, function)[source]#

Add a new operator to the set of user-defined operators.

Parameters:
  • name (str) – Name of the operator to be added.

  • function (callable) – Operator function to be added.