(refs, n=4)
return [precook(ref, n) for ref in refs]
Takes a list of reference sentences for a single segment
    and returns an object that encapsulates everything that BLEU
    needs to know about them.
    :param refs: list of string : reference sentences for some image
    :param n: int : number of ngrams for which (ngram) representation is calculated
    :return: result (list of dict)
Takes a list of reference sentences for a single segment
    and returns an object that encapsulates everything that BLEU
    needs to know about them.
    :param refs: list of string : reference sentences for some image
    :param n: int : number of ngrams for which (ngram) representation is calculated
    :return: result (list of dict)
Takes a list of reference sentences for a single segment and returns an object that encapsulates everything that BLEU needs to know about them . : param refs : list of string : reference sentences for some image : param n : int : number of ngrams for which ( ngram ) representation is calculated : return : result ( list of dict )
def cook_refs(refs, n=4): ## lhuang: oracle will call with "average"
    '''Takes a list of reference sentences for a single segment
    and returns an object that encapsulates everything that BLEU
    needs to know about them.
    :param refs: list of string : reference sentences for some image
    :param n: int : number of ngrams for which (ngram) representation is calculated
    :return: result (list of dict)
    '''
    return [precook(ref, n) for ref in refs]
def cook_refs ( refs , n = 4 ) : ## lhuang: oracle will call with "average" return [ precook ( ref , n ) for ref in refs ]