-
Notifications
You must be signed in to change notification settings - Fork 0
/
ents.html
74 lines (69 loc) · 2.76 KB
/
ents.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ML API example</title>
<!-- Include CSS File Here -->
<link rel="stylesheet" href="css/submit_javascript_spacy.css"/>
<!-- Include JS File Here -->
<script src="js/submit_javascript_spacy.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
</head>
<body>
<div class="container">
<div class="main">
<br>
<form action=# method="POST" name="form_name" id="form_id" class="form-horizontal" role="form" >
<div class="container">
<h1>ML FastAPI Python spaCy entity finder</h1>
<h3>Enter some text of your own or use the pre-filled example</h3>
<br>
<form class="form-horizontal" role="form">
<div class="form-group">
<input type="button" class="btn" name="submit" id="reset_btn" value="reset!" onclick='eraseText();' />
<textarea name="para" class="col-sm-offset-2 col-sm-9"
id="para" cols="30" rows="4" placeholder="In 2008 I was earning £1000 a week in London working for Amazon and first heard of 'Thriller' by Michael Jackson" >ready made example : In 2008 I was earning £1000 a week in London working for Amazon and first heard of 'Thriller' by Michael Jackson</textarea>
<div class="col-sm-3">
</div>
</div>
<div>
<input type="button" class="btn btn-lg btn-block btn-success" name="submit" id="btn_id" value="submit!" onclick='SubmitVars(); this.disabled = true;' />
</div>
</div>
<p id="msg"></p>
Date:
<h4 id="date"></h4>
<h4 id="x1"></h4>
Geo Political Entity:
<h4 id="gpe"></h4>
<h4 id="x2"></h4>
Organization:
<h4 id="org"></h4>
<h4 id="x3"></h4>
Facility:
<h4 id="fac"></h4>
<h4 id="x4"></h4>
People:
<h4 id="person"></h4>
<h4 id="x5"></h4>
Money:
<h4 id="money"></h4>
<h4 id="x6"></h4>
Weight / Distance:
<h4 id="weigh"></h4>
<h4 id="x7"></h4>
Work of Art:
<h4 id="work_of_art"></h4>
<h4 id="x8"></h4>
Ordinal:
<h4 id="ord"></h4>
<h4 id="x9"></h4>
</form>
<a href="https://github.com/RGGH/API-4">ML + FastAPI code on GitHub</a>
<br>
<a href="https://redandgreen.co.uk">www.redandgreen.co.uk</a>
</div>
</body>
</html>