This function is a wrapper. This should be the only function used by the end user to create a category filter
do_create_filter(name, positive, negative = c())
name | name of the filter |
---|---|
positive | positive examples. Must consist of a vector with at least two strings. |
negative | optional negative examples. If you don't want to use these leave them empty. |
an object of class Filter
See the Filter-class
documentation for examples and more information