Create a gist now

Instantly share code, notes, and snippets.

@AKB428 /haiure
Created Apr 17, 2016

What would you like to do?
Word2Vec+NEologdで売りスレを学習させた例 はいふり
scala> for((synonym, cosineSimilarity) <- model.findSynonyms("はいふり",20)) { println(s"$synonym $cosineSimilarity") }
ガルパン 1.0815583443087629
キズナ 1.0384648751757504
これ 1.0264424748123728
艦これ 1.0118912099641098
そう 1.0083616438334735
設定 1.003821703760883
アン 0.9983978387415402
信者 0.9904299576105337
BGM 0.9715366931710465
さ 0.962969883282405
カバネリ 0.9408542369474128
覇権 0.9290077395839752
海 0.9275793460713619
教官 0.9269832657706385
アニプレ 0.9249302277870757
ライン 0.9219494750597211
ギャグ 0.9197287638059342
ダメ 0.9144837023919601
吉田玲子 0.9123688855072297
キャラ 0.9094175101096086
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment