code: def _score(spans):
      return sum(s.score * len(s) for s in spans) / sum(
          len(s) for s in spans
      )
  
file_path: audio/examples/tutorials/forced_alignment_for_multilingual_data_tutorial.py
imports: import torch
  import torchaudio
  from typing import List
  import IPython
  import matplotlib.pyplot
  from torchaudio.pipelines import MMS_FA
label_desc: Use image node_id 2 for calling a global function with example usage: _score(spans) and returns: unknown