wiki百科上中文語料的Word2vec實驗 Python2.7 Windows環境下

準備階段: 1.Python2.7 2.gensim模塊下載,在dos窗口下執行pip install gensim 開始階段: 1.從維基百科下載語料,大概1.45G左右https://dumps.wikimedia.org/zhwiki/latest/zhwiki-latest-pages-articles.xml.bz2  將**.xml.bz2文件轉換爲txt文檔 代碼如下 # -*- c
相關文章
相關標籤/搜索