Spaces:
Running
Running
Create static/index.html
Browse files- static/index.html +31 -0
static/index.html
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<title>Arabic IE System (NER + RE)</title>
|
| 5 |
+
<link rel="stylesheet" href="/static/style.css">
|
| 6 |
+
</head>
|
| 7 |
+
|
| 8 |
+
<body>
|
| 9 |
+
|
| 10 |
+
<div class="container">
|
| 11 |
+
|
| 12 |
+
<h2>Arabic Information Extraction</h2>
|
| 13 |
+
|
| 14 |
+
<textarea id="text" placeholder="Enter Arabic text..."></textarea>
|
| 15 |
+
|
| 16 |
+
<div class="buttons">
|
| 17 |
+
<button class="ner" onclick="runNER()">Extract NER</button>
|
| 18 |
+
<button class="re" onclick="runRE()">Extract Relations</button>
|
| 19 |
+
</div>
|
| 20 |
+
|
| 21 |
+
<div class="output-box">
|
| 22 |
+
<h3>Output</h3>
|
| 23 |
+
<pre id="output">Results will appear here...</pre>
|
| 24 |
+
</div>
|
| 25 |
+
|
| 26 |
+
</div>
|
| 27 |
+
|
| 28 |
+
<script src="/static/script.js"></script>
|
| 29 |
+
|
| 30 |
+
</body>
|
| 31 |
+
</html>
|