code: def tokenize(
      s, join_tokens=False, join_sentences=True, join_char=" "
  ):
      s = s.replace("\n", " ")
      paragraphs = paragraph_tokenize(
          s,
          join_tokens=join_tokens,
          join_sentences=join_sentences,
          join_char=join_char,
      )
      return paragraphs[0] if len(paragraphs) == 1 else paragraphs
  
imports: from subprocess import DEVNULL, PIPE, Popen
  from ..imports import *
label_desc: Use image node_id 22 for calling a global function with example usage: tokenize(s, join_tokens, join_sentences, join_char) and returns: unknown