「word2vecによる自然言語処理」を読む3

結局vectors.binができたのは1日以上たってできたようだ。

早速動かしてみた

--出てきたメッセージ--

pi@rape ~/word2vec $ ./distance vectors.bin
Enter word or sentence (EXIT to break): cat

Word: cat Position in vocabulary: 2601

Word Cosine distance
------------------------------------------------------------------------
felis 0.692329
cats 0.686569
prionailurus 0.671560
silvestris 0.620474
felines 0.617922
leopardus 0.610754
oncifelis 0.596213
dog 0.594503
kitten 0.585216
marbled 0.581638
meow 0.580738
purebred 0.577394
catus 0.565115
dogs 0.564449
longhair 0.556903
tabby 0.547108
bobcat 0.535430
breed 0.525794
puppy 0.520521
sloth 0.516508
eared 0.515103
caracal 0.515011
tapir 0.513710
feral 0.513542
rhinoceros 0.505708
rabbits 0.505670
shorthair 0.505657
ruddy 0.502132
minimus 0.501814
canids 0.500371
foxes 0.499226
tortoiseshell 0.498537
puma 0.497274
leopard 0.495969
lynxes 0.495599
felidae 0.495221
sighthound 0.494571
guppy 0.491903
spayed 0.491867
feline 0.491449

最初の言葉felisは猫属という言葉らしい。

三番目の言葉はベンガルヤマネコ属という言葉