def split_words(text):
 if ((not text) or (not text.strip())):
  return []
 words = split_words_re.findall(text)
 return words

def split_words ( text ) : if ( ( not text ) or ( not text . strip ( ) ) ) : return [ ] words = split_words_re . findall ( text ) return words
split a string into array of words .