概要 overlast さんによる Word2Vec の WebAPI である word-vector-web-api を hubotから利用するスクリプトを書きました。 knjcode/hubot-word-vector-script Word2Vecとは Word2Vecというのは予め構築したモデル内で各単語を多次元のベクトルとして定義し、単語同士のベクトルの近似度や単語間のベクトルの近似度を求める手法です。詳細はgoogleの公式サイト等を御覧ください。 例えば、(SONY – PlayStation + Nintendo) という表現は、NintendoにおけるSONYのPlayStationに相当するものを表現します。 word-vector-web-apiに付属のモデルでは、(SONY – PlayStation + Nintendo) は Wii、ゲームボーイアドバンス、ニン
![Word2Vecをhubotから使う](https://cdn-ak-scissors.b.st-hatena.com/image/square/f734e8fa2a44cc912a756e29703f8f90b24cd9a5/height=288;version=1;width=512/https%3A%2F%2Fblog.knjcode.com%2Fwp-content%2Fuploads%2F2015%2F07%2Fhubot-word-vector-script.png)