ka-ve_summarify
塔克姆·耶耶里(TakımÜyeleri)
Yunus
Feyza Zeynep萨拉姆
埃米尔·
BüşraGökmen
哈桑·凯米克(Hasan Kemik)
库兰尼姆
TürkçeMetinÖzetlemeve Ka | Ve Stemmer
格里克利·库图潘尼勒(GerekliKütüphaneler)
import pandas as pd
import numpy as np
from nltk . corpus import stopwo
首先,建立自己的语料库
def ylk(x):
seg = jieba.cut(x, cut_all=False)
with open('D://listTwo.txt', 'a',encoding='utf-8')as f:
for word in seg:
f.write(word+ )
f.write('\n')
训练模型
from gensim.models.word2vec import LineSentence