def __get_contents_in_block(self, block):
    self.in_sentence = False
    for unit in block.split('。'):
        (yield from self.__get_contents_in_unit(unit))
    if self.in_sentence:
        (yield '。\n')
def __get_contents_in_block(self, block):
    self.in_sentence = False
    for unit in block.split('。'):
        (yield from self.__get_contents_in_unit(unit))
    if self.in_sentence:
        (yield '。\n')