Spaces:
Sleeping
Sleeping
Create static/index.html
Browse files- static/index.html +28 -0
static/index.html
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<title>Arabic NER Demo</title>
|
| 5 |
+
<link rel="stylesheet" href="/static/style.css">
|
| 6 |
+
</head>
|
| 7 |
+
<body>
|
| 8 |
+
|
| 9 |
+
<div class="container">
|
| 10 |
+
<h2>NER Extraction</h2>
|
| 11 |
+
|
| 12 |
+
<textarea id="text" placeholder="Enter Arabic text..."></textarea>
|
| 13 |
+
|
| 14 |
+
<select id="mode">
|
| 15 |
+
<option value="1">JSON</option>
|
| 16 |
+
<option value="2">XML</option>
|
| 17 |
+
<option value="3">HTML</option>
|
| 18 |
+
<option value="4">Short JSON</option>
|
| 19 |
+
</select>
|
| 20 |
+
|
| 21 |
+
<button onclick="runNER()">Extract</button>
|
| 22 |
+
|
| 23 |
+
<pre id="output"></pre>
|
| 24 |
+
</div>
|
| 25 |
+
|
| 26 |
+
<script src="/static/script.js"></script>
|
| 27 |
+
</body>
|
| 28 |
+
</html>
|