docs: def clause_tokenize(sentence):
      """
      Split on comma or parenthesis, if there are more then three words for each clause
  
      >>> context = 'While I was walking home, this bird fell down in front of me.'
      >>> clause_tokenize(context)
      ['While I was walking home,', ' this bird fell down in front of me.']
  
      """
      clause_re = re.compile(r'((?:\S+\s){2,}\S+,|(?:\S+\s){3,}(?=\((?:\S+\s){2,}\S+\)))')
      clause_stem = clause_re.sub(r'\1###clausebreak###', sentence)
      return [c for c in clause_stem.split('###clausebreak###') if c != '']