forked from jonathandfitzgerald/wwp-w2vonline
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathviz_word-cloud_tab_content.html
45 lines (45 loc) · 2.02 KB
/
viz_word-cloud_tab_content.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
34
35
36
37
38
39
40
41
42
43
44
45
<div>
<!-- Layout for the "Word Cloud" portion of the visualization tab. -->
<div class="col-sm-12">
<div class="box box-solid">
<div class="box-body">
{{ word }}
</div>
</div>
</div>
<div class="col-sm-12">
<div class="box">
<div class="box-body">
<div class="col-sm-12 col-md-8">
<div class="box box-solid">
<div class="box-body">
{{ word_cloud }}
</div>
</div>
</div>
<div class="col-sm-12 col-md-4">
<div class="box box-solid">
<div class="box-body">
<p>The Word Cloud visualization offers a spatial view of the closest words to a query term. The query term you enter appears
in the center of the cloud, surrounded by terms whose proximity is based on cosine similarity to the input term.
Terms with higher cosine similarities are closer to the center. The terms are also color-coded to show cosine similarity, as outlined in the key below.
In the sidebar, the top slider allows you to set a threshold for the cosine similarity of displayed terms.
The middle slider allows you to control the maximum number of words displayed, and the bottom slider controls the size of the plot image.</p>
<div id="wc-color-key">
<p>Similarity Color Key
<br />Similarity — Color</p>
<ul class="list-unstyled" style="color:white">
<li style="background-color:#000">0.81 – 1.0 — black</li>
<li style="background-color:#2C7BB6">0.61 – 0.80 — blue</li>
<li style="background-color:#D7191C">0.41 – 0.60 — red</li>
<li style="background-color:#313695">0.21 – 0.40 — purple</li>
<li style="background-color:#FDAE61; color:black;">0 – 0.20 — orange</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>