Spaces:
Sleeping
Sleeping
File size: 1,752 Bytes
8c99444 74e2066 |
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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# -*- coding:utf-8 -*-
TITLE = "NER4ARCHIVES Analytics"
DESCRIPTION = f"""
# π {TITLE}
A basic web application to display a dashboard for
analyzing INCEpTION annotation project built in context
of NER4Archives (Inria/Archives nationales).
- This tool provides two statistics levels:
- *Global project statistics*: Analyze named entities in overall curated documents in project;
- *Inter-Annotator Agreement results*: Analyze results of IAA experiment.
"""
KAPPA_LEGEND = """
<div>
<div id="legend" style="right: 70em;">
<h3>π IAA Metrics Legend</h3>
<table>
<thead>
<tr>
<th colspan="2">
Kappa interpretation legend
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Kappa score (k)
</td>
<td>
Agreement
</td>
</tr>
<tr style = "background-color: #e74c3c;">
<td>
k < 0
</td>
<td>
Less chance agreement
</td>
</tr>
<tr style = "background-color: #f39c12;">
<td>
0.01 < k < 0.20
</td>
<td>
Slight agreement
</td>
</tr>
<tr style = "background-color: #f4d03f;">
<td>
0.21 < k < 0.40
</td>
<td>
Fair agreement
</td>
</tr>
<tr style = "background-color: #5dade2;">
<td>
0.41 < k < 0.60
</td>
<td>
Moderate agreement
</td>
</tr>
<tr style = "background-color: #58d68d;">
<td>
0.61 < k < 0.80
</td>
<td>
Substantial agreement
</td>
</tr>
<tr style = "background-color: #28b463;">
<td>
0.81 < k < 0.99
</td>
<td>
Almost perfect agreement
</td>
</tr>
</tbody>
</table>
</div>
</div>
"""
|