cut_text.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:internet-content-detection 作者: liubo0621 项目源码 文件源码
def cut_for_property(self, text):
        '''
        @summary: ??????
        ---------
        @param text: ????
        ---------
        @result: ??[(text1, property1)...(textN, propertyN)]
        '''
        words_list = []

        words =pseg.cut(text)
        for word in words:
            if word.word not in self._stop_words:
                words_list.append((word.word, word.flag))

        return words_list
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号