add_term_filter


Description:

public virtual void add_term_filter (owned TermFilterFunc filter_func)

Register a TermFilterFunc to be called whenever analyze is called.

Term filters can be used to normalize, add, or remove terms from an input data stream.

Parameters:

this

The analyzer to add a term filter to

filter_func

Function to call

filter_data

Data to pass to filter_func when it is invoked

filter_destroy

Called on filter_data when the Analyzer owning the filter is destroyed