code: def convert_to_sent(self, indices, exclude=None):
      if exclude is None:
          return " ".join([self.get_sym(idx) for idx in indices])
      else:
          return " ".join(
              [
                  self.get_sym(idx)
                  for idx in indices
                  if idx not in exclude
              ]
          )
  
imports: import contextlib
  import os
  from collections import Counter
  from collections import OrderedDict
  import torch
  from src.utils.distributed import sync_workers
label_desc: Use image node_id 16 for calling the Vocab obj's underlying member method code with example usage: obj.convert_to_sent(indices, exclude) and returns: str, str