(self, text)
return sentences
将文本切分为若干句子
将文本切分为若干句子
将文本切分为若干句子
def _split_sentences(self, text):
        """ 将文本切分为若干句子 """
        tmp_list = self.puncs_fine_ptn.split(text)
        sentences = [sen for sen in tmp_list if sen != '']
        return sentences
def _split_sentences ( self , text ) : tmp_list = self . puncs_fine_ptn . split ( text ) sentences = [ sen for sen in tmp_list if sen != '' ] return sentences