-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
174 lines (157 loc) Β· 5.89 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta http-equiv="content-language" content="en">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#6C307D">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<title>Wink Wiz Showcase</title>
<link rel="icon" type="image/png" href="https://winkjs.org/favicon.png">
<!-- Bootstrap & JQuery -->
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<script src="a.js" charset="utf-8"></script>
<link rel="stylesheet" href="wiz.css">
</head>
<body>
<!-- Navigation -->
<header>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main-nav" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="/" title="wink" class="navbar-brand">
32
</a>
<h1 class="screen-reader-text">Wink JS - NLP, Machine Learning & Stats</h1>
</div>
<ul class="nav navbar-nav navbar-right collapse navbar-collapse" id=main-nav>
<li><a href="/showcase.html" class="">Showcases</a></li>
<li><a href="https://winkjs.org/wink-nlp/getting-started.html">Tutorial</a></li>
<li><a href="https://github.com/winkjs/showcase-wiz#winknlp-wizard" class="purple_btn">Get the code</a></li>
</ul>
</div>
</nav>
</header>
<main>
<div class="surface-container">
<div class="container">
<div class="surface">
<div id="output"></div>
<div id="input" contenteditable="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">Yesterday at 3am I was surfing http://twitter.com. I won a 100$ lottery for the first time. I spent 100% of it in just 1 hour :P Can you imagine that π
? #yolo</div>
</div>
</div>
</div>
<br><br>
<div class="container">
<div class="row">
<div class="col-md-8">
<section>
<h2>Document Statistics</h2>
<dl class="dl-horizontal doc-stats">
<div class="col-md-4">
<div class="">
<span id="sentences-stat">0</span>
Sentences
</div>
</div>
<div class="col-md-4">
<div class="">
<span id="words-stat">0</span>
Words
</div>
</div>
<div class="col-md-4">
<div class="">
<span id="tokens-stat">0</span>
Tokens
</div>
</div>
</dl>
</section>
<br><br><br>
<h2>Sentences & Sentiments</h2>
<table class="table table-hover">
<tr>
<td></td>
<th>Sentence</th>
<th>Score</th>
</tr>
<tbody id="sentiment-table">
<tr>
<td>π</td>
<td class="sentence-text">I am so happy</td>
<td>4</td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-4">
<section>
<h2>Entities</h2>
<ul class="entities" id="entities">
</ul>
</section>
<section>
<h2>Word frequency</h2>
<table class="table">
<tr>
<th>Word</th>
<th>Frequency</th>
</tr>
<tbody id="word-freq">
</tbody>
</table>
</section>
</div>
</div>
</div>
</main>
<div class="clearfix"> </div><br><br>
<!-- Footer -->
<footer>
<div class="container">
<div class="row">
<div class="col-md-6">
<p>
© <a href="http://graype.in">graype systems</a> pvt. ltd.
</p>
</div>
<div class="col-md-6 social-icons">
<ul>
<li>
<a href="https://twitter.com/winkjs_org/">
<img src="https://winkjs.org/images/twitter.svg" alt="twitter" class="twitter">
</a>
</li>
<li>
<a href="https://github.com/winkjs">
<img src="https://winkjs.org/images/github.svg" alt="github" class="github">
</a>
</li>
</ul>
</div>
</div>
</div>
</footer>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-47082559-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-47082559-2');
</script>
<!-- Fonts from Typekit -->
<script src="https://use.typekit.net/cwc1qce.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>
</body>
</html>