code: def to_text(sentence):
      """
      Helper routine that converts a Sentence protobuf to a string from
      its tokens.
      """
      text = ""
      for i, tok in enumerate(sentence.token):
          if i != 0:
              text += tok.before
          text += tok.word
      return text
  
file_path: stanza/stanza/protobuf/__init__.py
imports: from __future__ import absolute_import
  from io import BytesIO
  import warnings
  from google.protobuf.internal.encoder import _EncodeVarint
  from google.protobuf.internal.decoder import _DecodeVarint
  from google.protobuf.message import DecodeError
  from .CoreNLP_pb2 import *
label_desc: Use image node_id 3 for calling a global function with example usage: to_text(sentence) and returns: text