docstr: This method also removes concatenated spaces.
docstr_tok: ["This","method","also","removes","concatenated","spaces","."]
code: def split_on_whitespace(
      text,
      new_line=False,
      tab=False,
  ):
      """This method also removes concatenated spaces."""
      sep = [" "] + new_line * ["\n"] + tab * ["\t"]
      sep = "|".join(sep)
      split_text = re.split(sep, text)
      split_text = FilteringFunctions.remove_empty_el_from_list(
          split_text
      )
      return split_text
  
imports: import json
  import re
  from collections import Counter
  import fasttext
  import kenlm
  import numpy
  import sentencepiece
  from obelics.utils import SPECIAL_CHARACTERS
label_desc: Use image node_id 7 for calling the FilteringFunctions obj's underlying member method code with example usage: obj.split_on_whitespace(text, new_line, tab) and returns: split_text