-
Notifications
You must be signed in to change notification settings - Fork 73
/
index.html
58 lines (58 loc) · 3.38 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
<html>
<head>
<title>Spacy NER annotation</title>
<script type="text/javascript" src = "https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src = "js/main.js"></script>
<link rel="stylesheet" href = "css/main.css">
<link href="https://fonts.googleapis.com/css2?family=Manrope&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</head>
<body>
<div id="agate-banner">Powered by <br/><img src="http://agateteam.org/images/agate_white.png"/><br/>
<a class="github-button" href="https://github.com/agate-team/spacyannotation/fork" data-color-scheme="no-preference: light; light: light; dark: dark;" data-show-count="true" aria-label="Fork agate-team/spacyannotation on GitHub">Fork on Github</a>
</div>
<div id="heading">SpaCy NER annotation tool</div><br/>
<div class="padded-body">
<div>Add a new 'named entity' here</div>
<div id="adding-entity"><input type = "text" placeholder="Enter entity name" id="add-entity-value"/><button id="add-entity-button" class="tiny-button">Add</button><button id="clear-entity-button" class="tiny-button">Clear All</button></div><br/>
<div>Named Entities:</div>
<div id="annotation-ner"></div><br/>
<div class="container">
<div class="row">
<div class="col-lg-12">
Progress:<br/><progress value="22" max="100" id = "completion-percent"></progress><br/>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<div class="box-headings">Annotate the below sentence</div>
<div id = "annotation-text" contenteditable = "true"></div>
<input type="button" value="Mark as completed" id="mark-complete-button"></button><br/>
<br/>
</div>
<div class="col-lg-6">
<div class="box-headings">Annotated entities</div>
<div id="JSON-out"></div><br/><br/>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<div class="box-headings">Paste raw data to be annotated here</div>
<div id="raw-data-div" contenteditable = "true"></div><br/>
<input type="button" value="Clear raw data" id="clear-raw" class="sm-button"/><br/>
</div>
<div class="col-lg-6">
<div class="box-headings">Annotation completed data</div>
<div id="completed-data-div" contenteditable = "true"></div><br/>
<input type="button" value="Clear completed" id="clear-completed" class="sm-button"/><br/>
</div>
</div>
</div>
</div>
</body>
</html>