forked from turbomaze/word2vecjson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (29 loc) · 1.12 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Word to Vec JS Demo</title>
<script src="data/wordvecs10000.js"></script>
<script src="assets/js/word2vecutils.js"></script>
<script src="assets/js/word2vecdemo.js"></script>
</head>
<body>
<h2>Word to Vec JS Demo</h2>
<h3>Similar Words</h3>
<p>Enter a word and see words with similar vectors.</p>
<input placeholder="Target word"
type="text" id="target-word">
<input type="button" value="List words" id="list-sim-btn">
<br>
<table id="sim-table"></table>
<h3>Word Algebra</h3>
<p>Enter all three words, the first two, or the last two and see the words that result.</p>
<input placeholder="Word 1" type="text" id="word-1"> +
(<input placeholder="Word 2" type="text" id="word-2"> -
<input placeholder="Word 3" type="text" id="word-3">) =
<input type="button" value="Get result" id="solve-eqn-btn">
<table id="eqn-table"></table>
<hr>
<a href="https://github.com/turbomaze/word2vecjson">Fork me</a> © <a href="http://anthony.ai">Anthony Liu</a> 2016
</body>
</html>