code: def sent_tokenize(text: str, engine: str = "whitespace+newline") -> List[str]:
      
  
      if not text or not isinstance(text, str):
          return []
  
      sentences = []
  
      if engine == "whitespace":
          sentences = re.split(r" +", text, re.U)
      else:  # default, use whitespace + newline
          sentences = text.split()
  
      return sentences
docs: This function does not yet automatically recognize when a sentence actually ends. Rather it helps split text where white space and a new line is found.
  
      :param str text: the text to be tokenized
      :param str engine: choose between 'whitespace' or 'whitespace+newline'
  
      :return: list of sentences