docstring for the comparison_index_phrase template filter