def split_text(text: str, delimiter: str='\n') -> List[str]: s = [s.strip() for s in text.split(delimiter) if len(s.strip()) > 0] return s