Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Neologd+Word2vec はいふり Twitter
scala> for((synonym, cosineSimilarity) <- model2.findSynonyms("はいふり",20)) { println(s"$synonym $cosineSimilarity") }
hai 1.7055907657688039
furi 1.694906198334261
haifuri 1.656741880230457
PRiGwMtAZb 1.599884004379273
ysFlujBLfs 1.4793444334534496
ypSrCaRhCW 1.4757221210439182
ハイスクール・フリート 1.460308781255182
ヨーソロー 1.4501548963586848
flmsPgkBIQ 1.4412577283756636
DVQrWxiFLu 1.4259662709962886
春風 1.4204059453472593
hhqrZaImpb 1.410719455908162
BasMfxWKIr 1.409273021501945
wKoQqnXuPQ 1.4079072994961546
カンチョー 1.4077325591123966
ハイスクールフリート 1.407646270616605
お船 1.402396236108172
炊飯器 1.3965316538649568
ZJGTQZczOB 1.3963147141290462
FeQuJzMMDk 1.385698792141574
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment