test question
This commit is contained in:
parent
b6028c55bd
commit
a035fe4c84
2 changed files with 10 additions and 0 deletions
|
@ -255,6 +255,15 @@
|
|||
"source": [
|
||||
"print(wv.doesnt_match(['wood', 'oak', 'tree', 'iron', 'leaf']))"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"print(wv.most_similar(positive=['The largest country is']))"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
|
|
@ -17,3 +17,4 @@ vec_woman = wv['woman']
|
|||
result = wv.most_similar(positive=(vec_father - vec_man + vec_woman), topn=1)
|
||||
print(result)
|
||||
|
||||
print(wv.most_similar(positive=['The largest country is']))
|
Loading…
Reference in a new issue