def METHOD_NAME(self, feature, target):
    target_is_numeric = pd.api.types.is_numeric_dtype(self.dataset.df[target])
    try:
        tokens = self._get_top_tokens(feature, target)
        if target_is_numeric:
            tokens += self._get_high_loss_tokens(feature, target) + self._get_deviant_tokens(feature, target)
        tokens = set(tokens)
    except VectorizerError:
        # Could not get meaningful tokens (e.g. all stop words)
        warning(f"Could not get meaningful tokens for textual feature `{feature}`. Are you sure this is text?")
        return []
    return [QueryBasedSliceFunction(Query([ContainsWord(feature, token)])) for token in tokens]