alaajabari commited on
Commit
ad240b0
·
verified ·
1 Parent(s): 505f3f4

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +16 -13
static/index.html CHANGED
@@ -1,28 +1,31 @@
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>
 
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>