2020-05-21から1日間の記事一覧

言語処理100本ノック2020(python)備忘録60-69

60 import gensim PATH = 'GoogleNews-vectors-negative300.bin' model = gensim.models.KeyedVectors.load_word2vec_format(PATH, binary=True) print(model['United_States']) 出力は [-3.61328125e-02 -4.83398438e-02 2.35351562e-01 1.74804688e-01 -1.…

言語処理100本ノック2020(python)備忘録50-59

newsCorpora.csvは "1 Fed official says weak data caused by weather" " should not slow taper http://www.latimes.com/business/money/la-fi-mo-federal-reserve-plosser-stimulus-economy-20140310" 0 "1312750.story\?track=rss Los Angeles Times b d…