'Returns a sequence of (ngram, score) pairs ordered from highest to
lowest score, as determined by the scoring function provided.'

def score_ngrams(self, score_fn):

    return sorted(self._score_ngrams(score_fn), key=(lambda t: ((- t[1]), t[0])))
