Add warnings and citation
Browse files- static/index.html +52 -0
static/index.html
CHANGED
|
@@ -68,6 +68,12 @@
|
|
| 68 |
<span class="pill-value" x-text="localKey ? 'tab-only' : ((state.provider === 'openrouter' && state.has_env_key) ? 'shared env' : 'API key')"></span>
|
| 69 |
</button>
|
| 70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
<div class="flex-1"></div>
|
| 72 |
|
| 73 |
<!-- Selection bulk bar -->
|
|
@@ -139,6 +145,10 @@
|
|
| 139 |
</button>
|
| 140 |
</section>
|
| 141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
<section class="card" x-show="state.sentences.length > 0">
|
| 143 |
<h3 class="card-title">⚡ Shortcuts</h3>
|
| 144 |
<ul class="text-[11px] text-ink-500 space-y-1 font-mono">
|
|
@@ -833,6 +843,48 @@
|
|
| 833 |
</div>
|
| 834 |
|
| 835 |
<!-- Help -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 836 |
<div class="modal-backdrop" x-show="modal === 'help'" @click.self="closeModal()" x-transition>
|
| 837 |
<div class="modal-card max-w-2xl">
|
| 838 |
<header class="modal-header">
|
|
|
|
| 68 |
<span class="pill-value" x-text="localKey ? 'tab-only' : ((state.provider === 'openrouter' && state.has_env_key) ? 'shared env' : 'API key')"></span>
|
| 69 |
</button>
|
| 70 |
|
| 71 |
+
<!-- Cite pill -->
|
| 72 |
+
<button @click="modal='cite'" class="pill" title="Cite this work">
|
| 73 |
+
<span class="pill-icon">📚</span>
|
| 74 |
+
<span class="pill-label">Cite</span>
|
| 75 |
+
</button>
|
| 76 |
+
|
| 77 |
<div class="flex-1"></div>
|
| 78 |
|
| 79 |
<!-- Selection bulk bar -->
|
|
|
|
| 145 |
</button>
|
| 146 |
</section>
|
| 147 |
|
| 148 |
+
<div class="rounded-lg border-2 border-red-400 bg-red-50 text-red-800 p-3 text-xs leading-relaxed">
|
| 149 |
+
<strong>⚠ Heavy use?</strong> Duplicate this Space to your own account for intensive use and to avoid data loss — shared instances may be reset at any time.
|
| 150 |
+
</div>
|
| 151 |
+
|
| 152 |
<section class="card" x-show="state.sentences.length > 0">
|
| 153 |
<h3 class="card-title">⚡ Shortcuts</h3>
|
| 154 |
<ul class="text-[11px] text-ink-500 space-y-1 font-mono">
|
|
|
|
| 843 |
</div>
|
| 844 |
|
| 845 |
<!-- Help -->
|
| 846 |
+
<!-- Cite modal -->
|
| 847 |
+
<div class="modal-backdrop" x-show="modal === 'cite'" @click.self="closeModal()" x-transition style="display:none">
|
| 848 |
+
<div class="modal-card max-w-2xl">
|
| 849 |
+
<header class="modal-header">
|
| 850 |
+
<h2 class="font-semibold">Cite this work</h2>
|
| 851 |
+
<button @click="closeModal()" class="btn btn-ghost btn-icon">✕</button>
|
| 852 |
+
</header>
|
| 853 |
+
<div class="p-5 space-y-3">
|
| 854 |
+
<p class="text-xs text-ink-500">If you use this tool, please cite:</p>
|
| 855 |
+
<pre id="bibtex-block" class="text-[11px] bg-ink-50 border border-ink-200 rounded-lg p-3 overflow-auto font-mono whitespace-pre">@inproceedings{vidal-gorene-etal-2026-resourced,
|
| 856 |
+
title = "Under-resourced studies of under-resourced languages: lemmatization and {POS}-tagging with {LLM} annotators for historical {A}rmenian, {G}eorgian, {G}reek and {S}yriac",
|
| 857 |
+
author = "Vidal-Gor{\`e}ne, Chahan and
|
| 858 |
+
Kindt, Bastien and
|
| 859 |
+
Cafiero, Florian",
|
| 860 |
+
editor = "Hettiarachchi, Hansi and
|
| 861 |
+
Ranasinghe, Tharindu and
|
| 862 |
+
Plum, Alistair and
|
| 863 |
+
Rayson, Paul and
|
| 864 |
+
Mitkov, Ruslan and
|
| 865 |
+
Gaber, Mohamed and
|
| 866 |
+
Premasiri, Damith and
|
| 867 |
+
Tan, Fiona Anting and
|
| 868 |
+
Uyangodage, Lasitha",
|
| 869 |
+
booktitle = "Proceedings of the Second Workshop on Language Models for Low-Resource Languages ({L}o{R}es{LM} 2026)",
|
| 870 |
+
month = mar,
|
| 871 |
+
year = "2026",
|
| 872 |
+
address = "Rabat, Morocco",
|
| 873 |
+
publisher = "Association for Computational Linguistics",
|
| 874 |
+
url = "https://aclanthology.org/2026.loreslm-1.28/",
|
| 875 |
+
doi = "10.18653/v1/2026.loreslm-1.28",
|
| 876 |
+
pages = "324--334",
|
| 877 |
+
ISBN = "979-8-89176-377-7"
|
| 878 |
+
}</pre>
|
| 879 |
+
<div class="flex gap-2">
|
| 880 |
+
<button class="btn btn-primary"
|
| 881 |
+
@click="navigator.clipboard.writeText(document.getElementById('bibtex-block').innerText); $event.target.textContent='✓ Copied'; setTimeout(()=>$event.target.textContent='Copy BibTeX', 1500)">Copy BibTeX</button>
|
| 882 |
+
<a class="btn btn-secondary" target="_blank" href="https://aclanthology.org/2026.loreslm-1.28/">Open on ACL Anthology ↗</a>
|
| 883 |
+
</div>
|
| 884 |
+
</div>
|
| 885 |
+
</div>
|
| 886 |
+
</div>
|
| 887 |
+
|
| 888 |
<div class="modal-backdrop" x-show="modal === 'help'" @click.self="closeModal()" x-transition>
|
| 889 |
<div class="modal-card max-w-2xl">
|
| 890 |
<header class="modal-header">
|