code: def build_tag_pipe(ssplit, lang, foundation_cache=None):
      if ssplit:
          return stanza.Pipeline(
              lang,
              processors="tokenize,pos",
              foundation_cache=foundation_cache,
          )
      else:
          return stanza.Pipeline(
              lang,
              processors="tokenize,pos",
              tokenize_no_ssplit=True,
              foundation_cache=foundation_cache,
          )
  
file_path: stanza/stanza/utils/datasets/constituency/selftrain.py
imports: import logging
  import os
  import random
  import re
  import stanza
  from stanza.models.common import utils
  from stanza.models.common.bert_embedding import TextTooLongError
  from stanza.utils.get_tqdm import get_tqdm
label_desc: Use image node_id 4 for calling a global function with example usage: build_tag_pipe(ssplit, lang, foundation_cache) and returns: stanza, stanza