{"categories":["python","\u81ea\u7136\u8a00\u8a9e\u51e6\u7406"],"description":"\u554f\u984c\u6587 nlp100.github.io \u554f\u984c\u306e\u6982\u8981 SWEM *1\u3068\u547c\u3070\u308c\u308b\u7279\u5fb4\u91cf\u3092\u751f\u6210\u3057\u307e\u3059\u3002 import joblib import numpy as np import pandas as pd from gensim.models import KeyedVectors from tqdm import tqdm def culcSwem(row): global model swem = [model[w] if w in model.key_to_index else np.zeros(shape=(model.vector_size,)) for w in row['TITL\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fupura.hatenablog.com%2Fentry%2F2023%2F11%2F05%2F205942\" title=\"\u8a00\u8a9e\u51e6\u7406100\u672c\u30ce\u30c3\u30af 2020\u300c70. \u5358\u8a9e\u30d9\u30af\u30c8\u30eb\u306e\u548c\u306b\u3088\u308b\u7279\u5fb4\u91cf\u300d - u++\u306e\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/upura/","author_name":"upura","version":"1.0","height":"190","provider_name":"Hatena Blog","image_url":null,"title":"\u8a00\u8a9e\u51e6\u7406100\u672c\u30ce\u30c3\u30af 2020\u300c70. \u5358\u8a9e\u30d9\u30af\u30c8\u30eb\u306e\u548c\u306b\u3088\u308b\u7279\u5fb4\u91cf\u300d","published":"2023-11-05 20:59:42","width":"100%","blog_url":"https://upura.hatenablog.com/","url":"https://upura.hatenablog.com/entry/2023/11/05/205942","blog_title":"u++\u306e\u5099\u5fd8\u9332","type":"rich"}