-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
309 lines (204 loc) · 8.53 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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title>Semantic Lab Tools</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/bulma.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
// var nerServiceCheck = function(){
// $.getJSON( "https://o1jrsgixbg.execute-api.us-east-1.amazonaws.com/semlab-tools/dada-ner-server", function( data ) {
// if (data && data.status && data.status.status){
// console.log(data.status.status)
// if (data.status.status == 'down'){
// $("#ner-service-status").text(' Offline')
// $("#ner-start").css('display', 'block')
// }else if (data.status.status == 'new'){
// $("#ner-service-status").text(' Starting, please wait')
// window.setTimeout(()=>{
// location.reload();
// }, 10000)
// }else if (data.status.status == 'active'){
// $("#ner-service-status").text(' Server online, checking if responding ')
// var to = window.setTimeout(()=>{
// location.reload();
// }, 10000)
// $.getJSON( "https://nerserver.semlab.io/ping", function( data ) {
// window.clearTimeout(to)
// $("#ner-service-status").html('<span>Service Online </span><a href="https://semlab.io/DADAlytics-ner-demo/"> Click to try the demo</a>')
// })
// }
// }
// });
// }
// $( document ).ready(function() {
// console.log( "ready!" );
// nerServiceCheck();
// $("#ner-start").on('click',function(event){
// $(this).addClass('is-loading')
// $(this).text("Please Wait...")
// $(this).prop('disabled', true);
// // spawn it
// $.getJSON( "https://o1jrsgixbg.execute-api.us-east-1.amazonaws.com/semlab-tools/dada-ner-server?action=spawn", function( data ) {}).fail(function() { alert("Error: Could not boot server."); });
// window.setTimeout(()=>{
// location.reload();
// }, 60000)
// $("#ner-message-body").append(
// $("<div>").text('Please wait, the page will refresh when server boot is initiated...')
// )
// })
// });
</script>
</head>
<body>
<section class="section">
<div class="container">
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<span class="navbar-item" href="#">
<a href="https://semlab.io"><img class="logo" src="https://semlab.io/assets/logo_semlab_transparent.png"></a>
<h1>Semantic Lab Tools</h1>
</span>
</div>
</nav>
<div id="about">
<p>
Tools currently under development at the <a href="http://semlab.io">Semantic Lab at Pratt</a>.
</p>
</div>
<div class="columns">
<div class="column">
<article class="message">
<div class="message-header" style="background-color: #f39c12">
<p>Semlab Wikibase</p>
</div>
<div class="message-body">
Semantic Lab's experimental Wikibase installation. Our datastore for projects and research.
<br><br>
<a href="http://base.semlab.io">Semlab Wikibase</a>
<br><br>
<div>
Backup Status: <span id="backup-wikibase"></span>
</div>
<script>
fetch('https://semlab.s3.us-west-001.backblazeb2.com/wikibase/status.json')
.then(response => response.json())
.then((data)=> {
let d = new Date(data.time * 1000);
document.getElementById('backup-wikibase').innerHTML = `${d.getFullYear()}-${d.getMonth()+1}-${d.getDate()} @ ${parseFloat(data.size/1024/1024).toFixed(0)}MB`
});
</script>
</div>
</article>
</div>
<div class="column">
<article class="message is-info">
<div class="message-header" style="background-color: #6c5ce7;">
<p>Selavy</p>
</div>
<div class="message-body" id="ner-message-body">
<p>
Document to Data tool. This application is in early development.
</p>
<br>
<a href="https://selavy.semlab.io/">Selavy Tool (Semlab login required)</a>
<br>
<br>
<a href="https://semlab.io/howto/selavy_alpha">Selavy Alpha Demo Video</a>
<br><br>
<div>
Backup Status: <span id="backup-selavy"></span>
</div>
<script>
console.log("YEEEEEEEE")
fetch('https://semlab.s3.us-west-001.backblazeb2.com/selavy/status.json')
.then(response => response.json())
.then((data)=> {
let d = new Date(data.time * 1000);
document.getElementById('backup-selavy').innerHTML = `${d.getFullYear()}-${d.getMonth()+1}-${d.getDate()} @ ${parseFloat(data.size/1024/1024).toFixed(2)}MB`
});
</script>
</div>
</article>
<article class="message is-info">
<div class="message-header" style="background-color: tomato;">
<p>Pomodoro</p>
</div>
<div class="message-body" id="ner-message-body">
<p>
An OCR tool to extract text from complicated documents.
</p>
<br>
<a href="https://pomodoro.semlab.io/">Pomodoro</a>
<br>
<a href="https://www.youtube.com/watch?v=U3n6faLYjQE">Watch Demo Video</a>
</div>
</article>
<article class="message is-info">
<div class="message-header" style="background-color: #ffd756;">
<p>Image Cropper</p>
</div>
<div class="message-body" id="ner-message-body">
<p>
Item image tool
</p>
<br>
<a href="https://cropper.semlab.io">Tool (Semlab login required)</a>
<br>
<a href="https://semlab.s3.amazonaws.com/image_cropper_demo.mp4">Watch Demo Video</a>
</div>
</article>
</div>
<div class="column">
<article class="message is-success">
<div class="message-header" style="background-color: #70c041">
<p>Triple Builder</p>
</div>
<div class="message-body">
<img src="http://tb.semlab.io/assets/triple_green.png" alt="Image" style=" height: 25px;">
A RDF sandbox where you can build triples using a spreadsheet interface and share with others.
<br>
<a href="http://tb.semlab.io">tb.semlab.io</a>
</div>
</article>
<article class="message is-info">
<div class="message-header">
<p>DADAlytics: NER Service</p>
</div>
<div class="message-body" id="ner-message-body">
<p>
A service that you can send text to and it will return extracted named entities using up to six NER tools.<br><br>
This service is no longer online. If you would like to run it locally please <a href="https://semlab.io/DADAlytics_ner_demo/">follow these directions</a>.
</p>
<br>
<!-- <p>
<strong>Service Status:<span id="ner-service-status"> ..asking...</span></strong>
</p> -->
<!-- <br>
<div class="container" style="padding-left: 1rem;">
<ul style="list-style:disc">
<li>If the status is "Offline" click the button below to start the service</li>
<li>It will take 5-10 min for the server to boot</li>
<li>The server will turn off after 3 hours and/or 30 min of inactivity</li>
</ul>
</div>
<br>
<button id="ner-start" style="display: none;" class="button">Start Service</button> -->
</div>
</article>
</div>
</div>
<div class="columns">
<div class="column">
</div>
<div class="column">
</div>
<div class="column">
</div>
</div>
</div>
</section>
</body>
</html>