code: def clean(cls, data: Union[List[str], str]) -> Union[str, List[str]]:
      if isinstance(data, list):
          return [d.strip() for d in data]
  
      return data.strip()
  
file_path: AugLy/augly/text/augmenters/fun_fonts.py
imports: import json
  import random
  from typing import List, Optional, Union
  from augly.text.augmenters.utils import detokenize, get_aug_idxes, tokenize
  from augly.utils import pathmgr
  from augly.utils.libsndfile import install_libsndfile
  from nlpaug import Augmenter
  from nlpaug.util import Action, Method
label_desc: Use image node_id 3 for calling the FunFontsAugmenter obj's underlying member method code with example usage: obj.clean(cls, data) and returns: data, unknown