/**
Provides pre-built accent-folding result matching filters for AutoComplete.
These filters are similar to the ones provided by the `autocomplete-filters`
module, but use accent-aware comparisons. For example, "resume" and "résumé"
will be considered equal when using the accent-folding filters.
@module autocomplete
@submodule autocomplete-filters-accentfold
**/
/**
@class AutoCompleteFilters
@static
**/
YArray = Y.Array,
YObject = Y.Object;
/**
Accent folding version of `charMatch()`.
@method charMatchFold
@param {String} query Query to match
@param {Array} results Results to filter
@return {Array} Filtered results
@static
**/
});
});
},
/**
Accent folding version of `phraseMatch()`.
@method phraseMatchFold
@param {String} query Query to match
@param {Array} results Results to filter
@return {Array} Filtered results
@static
**/
});
},
/**
Accent folding version of `startsWith()`.
@method startsWithFold
@param {String} query Query to match
@param {Array} results Results to filter
@return {Array} Filtered results
@static
**/
});
},
/**
Accent folding version of `subWordMatch()`.
@method subWordMatchFold
@param {String} query Query to match
@param {Array} results Results to filter
@return {Array} Filtered results
@static
**/
});
});
},
/**
Accent folding version of `wordMatch()`.
@method wordMatchFold
@param {String} query Query to match
@param {Array} results Results to filter
@return {Array} Filtered results
@static
**/
// Convert resultWords array to a hash for fast lookup.
});
});
}
});