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.6 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<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">
<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>
<style>
body{font-family:Verdana;font-size:16px}
table{table-layout:fixed;width:100%;text-align:center}
th{background-color:lightgray}
.editable:hover{background-color:yellow}
tr:hover{background-color:whitesmoke}
.ner_per{background-color:skyblue}
.ner_loc{background-color:goldenrod}
.ner_org{background-color:plum}
.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;
}
</style>
</head>
<body>
<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">
<h3>ner.edith: <br/> named entity recognition editor in html</h3>
</div>
</div>
</div>
<div class="col-2">
</div>
</div>
<div class="row mt-3">
<div class="col-2" id="region-left">
<a href="" id="preview-link">
<img id="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>
<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>
</body>
</html>