MCPcopy Create free account
hub / github.com/YehLi/xmodaler / cook_refs

Function cook_refs

tools/cider_cache.py:26–34  ·  view source on GitHub ↗

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 calcul

(refs, n=4)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 1

precookFunction · 0.70

Tested by

no test coverage detected