word2基础操作 有问题可以私聊留言
关于glove怎么训练请看我的b站视频吧 https://www.bilibili.com/video/BV1Ny4y1z7QX
https://www.bilibili.com/video/BV1L5411V7ED
先读取csv
#把csv中的数据把lebel和txt分开 写入txt tetx这个句子词用于glove或者word2vec训练使用的
import pandas as pd
def save_textorlabel_txt(in_filename,out_text_filename,out_label_filename):
df=pd.read_csv(in_filename)
wit