src/stringProcessing/relevantWords.js
function filterFunctionWordsAnywhere( wordCombinations, functionWords ) {
	return wordCombinations.filter( function( combination ) {
		return isEmpty(
			intersection( functionWords, combination.getWords() )
		);
	} );
}
function filterFunctionWordsAnywhere( wordCombinations, functionWords ) {
	return wordCombinations.filter( function( combination ) {
		return isEmpty(
			intersection( functionWords, combination.getWords() )
		);
	} );
}
Filters word combinations containing certain function words at any position.

@param {WordCombination[]} wordCombinations The word combinations to filter.
@param {array} functionWords The list of function words.
@returns {WordCombination[]} Filtered word combinations.