nlp
自然语言处理:中文分词,打标签,文章匹配相似度
打标签:
extra_tags.py:
关键函数:extarct_tags ,通过help(jieba.analyse.extarct_tags) 查看
函数提示如下:
withWeight:单词权重
allowPOS:单词性质,参看
withFlag:
======================================================
Help on method extract_tags in module jieba.analyse.tfidf:
extract_tags(self, sentence, topK=20, withWeight=False, allowPOS=(), withFlag=False) method of jieba.analyse.tfidf.TFIDF instance
2021-10-08 14:31:27
47KB
Python
1