src/stringProcessing/relevantWords.js
function filterCombinations( combinations, functionWords, language ) {
	combinations = filterFunctionWordsAnywhere( combinations, specialCharacters );
	combinations = filterOneCharacterWordCombinations( combinations );
	combinations = filterFunctionWords( combinations, functionWords );
	if ( language === "en" ) {
		combinations = filterEndingWith( combinations, "'s", [] );
	}
	return combinations;
}
function filterCombinations( combinations, functionWords, language ) {
	combinations = filterFunctionWordsAnywhere( combinations, specialCharacters );
	combinations = filterOneCharacterWordCombinations( combinations );
	combinations = filterFunctionWords( combinations, functionWords );
	if ( language === "en" ) {
		combinations = filterEndingWith( combinations, "'s", [] );
	}
	return combinations;
}
Filters the list of word combination objects based on function word filters, a special character filter and
a one-character filter.

@param {Array} combinations The list of word combination objects.
@param {Function} functionWords The function containing the lists of function words.
@param {string} language The language for which specific filters should be applied.
@returns {Array} The filtered list of word combination objects.