global_recall.py
def chunk_retrieval_score(chunk, retrieved):
    "Compute retrieval scores for one chunk."
    overlap = set(chunk) & retrieved
    percentage = (len(overlap)/len(chunk)) * 100
    return percentage
Compute retrieval scores for one chunk.
Compute retrieval scores for one chunk.
Compute retrieval scores for one chunk .
def chunk_retrieval_score(chunk, retrieved):
    overlap = set(chunk) & retrieved
    percentage = (len(overlap)/len(chunk)) * 100
    return percentage
def chunk_retrieval_score ( chunk , retrieved ) : overlap = set ( chunk ) & retrieved percentage = ( len ( overlap ) / len ( chunk ) ) * 100 return percentage
Compute retrieval scores for one chunk.
Compute retrieval scores for one chunk .
"Compute retrieval scores for one chunk."
chunk
retrieved