code: def _batch_extract_n_grams(
      sentences: List[str], n: int = 4
  ) -> List[Dict[Tuple[str], int]]:
      return [_extract_sentence_n_grams(s, n) for s in sentences]
  
file_path: vizseq/vizseq/scorers/_cider/__init__.py
imports: from typing import List, Dict, Tuple
  from collections import defaultdict
  import math
  from concurrent.futures import ProcessPoolExecutor, as_completed
  import numpy
  from tqdm import tqdm
label_desc: Use image node_id 3 for calling a global function with example usage: _batch_extract_n_grams(sentences, n) and returns: unknown