code: def add_string(self, ref, pred):
      self.ref.append(ref)
      self.pred.append(pred)
  
file_path: fairseq/fairseq/scoring/__init__.py
imports: import importlib
  import os
  from abc import ABC, abstractmethod
  from fairseq import registry
  from omegaconf import DictConfig
label_desc: Use image node_id 2 for calling the BaseScorer obj's underlying member method code with example usage: obj.add_string(ref, pred) without return types