|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>neath</title>
|
|
|
|
<base href="neath.html" target="_blank">
|
|
|
|
<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/keypress/2.1.5/keypress.min.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="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/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:focus{background-color:#f0e442}
|
|
|
|
tr:focus-within{background-color:#dddddd}
|
|
|
|
|
|
|
|
.accordion:hover .accordion-item:hover .accordion-item-content,
|
|
|
|
.accordion .accordion-item--default .accordion-item-content{height:10.5em}
|
|
|
|
.accordion-item-content, .accordion:hover .accordion-item-content{height:0;overflow:hidden;transition:height.25s}
|
|
|
|
.accordion{padding:0;margin:auto;width:100px}
|
|
|
|
.accordion-item:hover{background-color:#f0e442}
|
|
|
|
|
|
|
|
.type_select:hover{background-color:#f0e442}
|
|
|
|
|
|
|
|
.ner_per{background-color:#56b3e9}
|
|
|
|
.ner_loc{background-color:#e69d00}
|
|
|
|
.ner_org{background-color:#cc79a7}
|
|
|
|
.ner_work{background-color:#009e74}
|
|
|
|
.ner_conf{background-color:#aaaa00}
|
|
|
|
.ner_evt{background-color:#0072b2}
|
|
|
|
.ner_todo{background-color:#d55e00}
|
|
|
|
|
|
|
|
.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-9">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col text-center">
|
|
|
|
<h3><a href="https://github.com/qurator-spk/neath" target="_blank" tabindex="-1">neath</a>: named entity annotation tool</h3>
|
|
|
|
<a href="https://github.com/qurator-spk/neath/blob/master/User_Guide.md" target="_blank" tabindex="-1">User Guide</a> | <a href="https://github.com/qurator-spk/neath/blob/master/Annotation_Guidelines.pdf" target="_blank" tabindex="-1">Annotation Guidelines</a> | <a href="https://github.com/qurator-spk/neath/issues" target="_blank" tabindex="-1">Issues</a><hr>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-1">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mt-3">
|
|
|
|
<div class="col-3" 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<sup>(<a href="https://github.com/qurator-spk/neath/blob/master/User_Guide.md#22-data-format">i</a>)</sup> file:
|
|
|
|
<br><br>
|
|
|
|
<input type="file" id="tsv-file" name="files"/>
|
|
|
|
</div>
|
|
|
|
<div class="col-1" id="region-right">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mt-3">
|
|
|
|
<div class="col-2">
|
|
|
|
</div>
|
|
|
|
<div class="col-9 text-center" id="btn-region">
|
|
|
|
</div>
|
|
|
|
<div class="col-1">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="neath.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|