python - 如何配對文字每個單字在另一個文字中的單字,以及該單字對應的值?
巴扎黑
巴扎黑 2017-06-30 09:54:38
0
1
1045

文字ttt.txt內容:
president said would bill program loan farmers
corn committee department agriculture
usda house
文字sss.txt內容:
Totxt 0th:

said   0.045193
would   0.028879
bill   0.011087
program   0.010718
loan   0.008395
farmers   0.008237
corn   0.008078
committee   0.007022
department   0.006811
agriculture   0.006653
usda   0.006547
house   0.006494
president 

Topic 1th:

said   0.044315
shares   0.031928
stock   0.028001
company   0.023888
group   0.017063
offer   0.016408
share   0.016268
dlrs   0.016034
corp   0.015520
common   0.013463
president  0.000047

如何在sss中匹配ttt中每個單字分別在2個主題下的單字及對應的值?

巴扎黑
巴扎黑

全部回覆(1)
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!