File size: 1,831 Bytes
6444a02 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CLAIR — Clause Intelligence and Retrieval</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<main>
<header>
<h1>CLAIR <span class="expansion">Clause Intelligence and Retrieval</span></h1>
<p class="sub">Describe a clause in your own words to find how 50 real Terms of Service phrase it, and check whether it reads as potentially unfair.</p>
<p class="status" id="status">Connecting…</p>
</header>
<form id="search-form">
<label for="query">Sentence or clause</label>
<textarea id="query" rows="4" maxlength="2000" required
placeholder="e.g. We may suspend or terminate your account at any time without notice."></textarea>
<div class="controls">
<label class="inline" for="k">Results
<select id="k">
<option value="2">2</option>
<option value="5">5</option>
<option value="10" selected>10</option>
<option value="20">20</option>
</select>
</label>
<span class="method">Retrieval: <strong id="method">–</strong></span>
<span class="spacer"></span>
<button type="button" id="classify-btn" class="secondary" hidden>Classify</button>
<button type="submit" id="search-btn">Search</button>
</div>
<p class="hint">Ctrl+Enter to search. Scores rank results; they are not probabilities.</p>
</form>
<section id="classification" class="classification" hidden aria-live="polite"></section>
<p id="error" class="error" hidden role="alert"></p>
<section id="results" aria-live="polite"></section>
</main>
<script src="/static/app.js"></script>
</body>
</html>
|