-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
24 lines (24 loc) · 1.17 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tshet-uinh Extrapolation Tool</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="index.js" defer></script>
<link rel="stylesheet" href="index.css">
</head>
<body>
<h1>Tshet-uinh Extrapolation Tool</h1>
<p>Please input a dictionary in TSV (Tab-Separated Values) format, where each line consists of three columns: a single Chinese character, its pronunciation, and an optional note.</p>
<p><textarea id="rawDictionaryInput"></textarea></p>
<p>Please input the table specifications.</p>
<p><textarea id="rawTableSpecsInput">推導聲母	母 推導韻母	[...音韻地位.最簡描述.slice(1,-1)].reverse().join('') 推導聲調	(音韻地位.屬於('全清 或 次清')?'陰':'陽')+聲</textarea></p>
<p>
<input type="button" value="Load sample dictionary" onclick="handleLoadSampleDict()" />
<input type="submit" value="Start extrapolate" onclick="handleSubmit()" />
</p>
<div id="outputArea"></div>
</body>
</html>