code: def _trim_underscore(token):
      if token.endswith("_"):
          return token[:-1]
      return token
  
imports: from __future__ import unicode_literals
  import collections
  from absl import logging
  from tensorflow_datasets.core.deprecated.text import text_encoder
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: _trim_underscore(token) and returns: token, token