You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
2.7 KiB
HTML

5 years ago
<!DOCTYPE html>
<html>
<head>
5 years ago
<meta charset="UTF-8">
<title>ner.edith</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
5 years ago
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.0.1/papaparse.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
5 years ago
<style>
body{font-family:Verdana;font-size:16px}
table{table-layout:fixed;width:100%;text-align:center}
5 years ago
th{background-color:lightgray}
.editable:hover{background-color:yellow}
5 years ago
tr:hover{background-color:whitesmoke}
5 years ago
.ner_per{background-color:skyblue}
.ner_loc{background-color:goldenrod}
.ner_org{background-color:plum}
5 years ago
.ner_oth{background-color:lightgreen}
.ner_todo{background-color:turquoise}
.fit-image{
width: 100%;
object-fit: cover;
}
input[type=range]::-moz-focus-outer {
border: 0;
}
5 years ago
</style>
5 years ago
</head>
<body>
5 years ago
<div class="container-fluid">
<div class="row mt-5">
<div class="col-2">
<div id="file-region"></div>
</div>
<div class="col-8">
<div class="row">
<div class="col text-center">
5 years ago
<h3><a href="https://github.com/cneud/ner.edith" target="_blank">ner.edith</a>: <br/> named entity recognition editor in html</h3>
</div>
</div>
</div>
<div class="col-2">
</div>
</div>
<div class="row mt-3">
5 years ago
<div class="col-2" id="region-left">
<a href="" id="preview-link">
<img id="preview" alt="facsimile_preview" class="img-responsive fit-image"/>
</a>
</div>
<div class="col-8 text-center" id="tableregion">
Please upload a TSV (tab-separated-values) file in the GermEval2014 data format
<sup>[<a href="https://sites.google.com/site/germeval2014ner/data" target="_blank">i</a>]</sup>:
<br>
<br><br><br><br>
<input type="file" id="tsv-file" name="files"/><br><br>
</div>
5 years ago
<div class="col-2" id="region-right">
</div>
</div>
<div class="row mt-3">
<div class="col-2">
</div>
<div class="col-8 text-center" id="btn-region">
</div>
<div class="col-2">
</div>
</div>
</div>
<script src="ner-edith.js"></script>
5 years ago
</body>
</html>