88f5dbec21b26b80371961d5d6320bb2aa92384cTeemu Huovila API that stemming providers (classes) must provide: The create()
88f5dbec21b26b80371961d5d6320bb2aa92384cTeemu Huovila function is called to get an instance of a registered filter class.
88f5dbec21b26b80371961d5d6320bb2aa92384cTeemu Huovila The filter() function is called with tokens for the specific filter.
88f5dbec21b26b80371961d5d6320bb2aa92384cTeemu Huovila The destroy function is called to destroy an instance of a filter.
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen int (*create)(const struct fts_language *lang,
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen const char *const *settings,
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen const char **error_r);
6111370718708a3a966c60a1941ea303a4e0c759Timo Sirainen int (*filter)(struct fts_filter *filter, const char **token,
6111370718708a3a966c60a1941ea303a4e0c759Timo Sirainen const char **error_r);
c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3Timo Sirainen const char *class_name; /* name of the class this is based on */