Spaces:
Sleeping
Sleeping
link to dict
Browse files
app.py
CHANGED
@@ -103,9 +103,11 @@ if sentence:
|
|
103 |
for line in ud_output[2:]:
|
104 |
# Each UD line as a table row
|
105 |
cells = line.replace('_', '\\_').replace('|', '|').replace(':', ':').split('\t')
|
106 |
-
|
107 |
-
|
108 |
-
|
|
|
|
|
109 |
table_md += "| " + " | ".join(cells) + " |\n"
|
110 |
table_md += "</div>" # Close the RTL div
|
111 |
print(table_md)
|
|
|
103 |
for line in ud_output[2:]:
|
104 |
# Each UD line as a table row
|
105 |
cells = line.replace('_', '\\_').replace('|', '|').replace(':', ':').split('\t')
|
106 |
+
|
107 |
+
cells[2] = "<iframe src='https://freeali.se/freealise/translate/index.htm#gsc.q=" + cells[2] + "&gsc.tab=1&gsc.sort=' width='256' height='128'></iframe><br/>"
|
108 |
+
cells[2] += "<iframe src='https://freeali.se/freealise/translate/loader.htm?q=" + cells[2] + "' width='256' height='128'></iframe><br/>"
|
109 |
+
cells[2] += "<a href='javascript:' onclick=''>" + cells[2] + "</a>"
|
110 |
+
|
111 |
table_md += "| " + " | ".join(cells) + " |\n"
|
112 |
table_md += "</div>" # Close the RTL div
|
113 |
print(table_md)
|