code: def setUp(self) -> None:
      dataset_root = "examples/data/translation_wmt14_en_de_test"
      if not os.path.isdir(dataset_root):
          raise NotADirectoryError(f"{dataset_root} does not exist.")
      with open(f"{dataset_root}/src_0.txt") as f:
          self.source = [l.strip() for l in f]
      with open(f"{dataset_root}/ref_0.txt") as f:
          self.references = [[l.strip() for l in f]]
      with open(f"{dataset_root}/pred_onlineA.0.txt") as f:
          self.hypothesis = [l.strip() for l in f]
  
file_path: vizseq/tests/scorers/__init__.py
imports: import unittest
  import time
  import os
  from typing import Union, List, Optional, Type, Dict
  from vizseq.scorers import VizSeqScorer, VizSeqScore
label_desc: Use image node_id 1 for calling the VizSeqScorerTestCase obj's underlying member method code with example usage: obj.setUp() without return types