code: def normalize_token(self, token):
      token = SPACE_RE.sub(" ", token.lstrip())
  
      if self.lang_replaces_spaces:
          token = token.replace(" ", "")
  
      return token
  
file_path: stanza/stanza/models/tokenization/vocab.py
imports: from collections import Counter
  import re
  from stanza.models.common.vocab import BaseVocab
  from stanza.models.common.vocab import UNK, PAD
label_desc: Use image node_id 4 for calling the Vocab obj's underlying member method code with example usage: obj.normalize_token(token) and returns: token