请问python如何通过机器学习来对文章进行伪原创?
网友回复
利用jieba,代码如下:
#!/usr/local/python3/bin/python3 # -*- coding: utf-8 -* import synonyms from jieba import posseg as pseg def words_change(words): # 传入句子,变形返回 words_tuple = pseg.lcut(words) print(words_tuple) word_list = []...
点击查看剩余70%