code: def score_text(hypothesis, reference):
      # Returns a 0-1 alignment score
      hypothesis_chunks = chunk_text(hypothesis)
      reference_chunks = chunk_text(reference)
      chunk_scores, chunk_weights = overlap_score(
          hypothesis_chunks, reference_chunks
      )
      return sum(chunk_scores) / sum(chunk_weights)
  
imports: import math
  from rapidfuzz import fuzz, distance
  import re
label_desc: Use image node_id 4 for calling a global function with example usage: score_text(hypothesis, reference) and returns: unknown