def split_headline_block(filetext): """ rtype: list[[titles], text] """ return divideModule.divideHeadlineBlock(filetext, headlines=Headline_Dict, isOnly=True)
def _split_headline_block(filetext): """ rtype: list[[titiles], text] """ blocks = divideModule.divideHeadlineBlock(filetext) # TODO two resumes and next is eng # TODO merge two blocks with same title # TODO if projects in work, do merge return blocks