예제 #1
0
def split_headline_block(filetext):
    """
    rtype: list[[titles], text]
    """
    return divideModule.divideHeadlineBlock(filetext,
                                            headlines=Headline_Dict,
                                            isOnly=True)
예제 #2
0
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