santhosh's picture
Deploy demo @ 04347af
3b5c1dc verified
Raw
History Blame Contribute Delete
1.44 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Malayalam Tokenizer Comparison</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Malayalam Tokenizer Comparison</h1>
<p>Visualize how different tokenizers split Malayalam text into tokens.</p>
</header>
<main>
<section class="input-section">
<label for="text-input">Input text</label>
<textarea
id="text-input"
rows="4"
placeholder="Type or paste Malayalam text here…"
spellcheck="false"
autocomplete="off"
>കേരളം ദക്ഷിണേന്ത്യയിലെ ഒരു സംസ്ഥാനമാണ്.</textarea>
</section>
<section class="add-tokenizer-section">
<select id="tokenizer-select">
<option value="">— choose a tokenizer —</option>
</select>
<button id="add-btn" type="button" disabled>Add tokenizer</button>
</section>
<div id="panels" role="list" aria-label="Tokenizer panels"></div>
<p id="empty-state" class="empty-state" aria-live="polite">
No tokenizers added yet. Choose one from the dropdown above.
</p>
</main>
<!-- Token-color highlight styles injected by app.js -->
<style id="highlight-styles"></style>
<script type="module" src="js/app.js"></script>
</body>
</html>