-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (60 loc) · 2.68 KB
/
index.html
File metadata and controls
61 lines (60 loc) · 2.68 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!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">
<link rel="shortcut icon" href="logo.svg" type="image/x-icon">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css">
<script src="soundchanger.js" type="module"></script>
<title>SoundChanger</title>
</head>
<body class="container">
<header>
<hgroup>
<h1>SoundChanger</h1>
<p>Apply sound changes to a list of words based on the notation used in historical linguistics.</p>
</hgroup>
</header>
<form id="soundChangeForm">
<div class="grid">
<div>
<label for="strings">Words:</label>
<textarea id="strings" name="strings" placeholder="pa ihu" required>pa ihu</textarea>
<small>Each word should be on a new line.</small>
</div>
<div>
<label for="changes">Sound Changes:</label>
<textarea id="changes" name="changes" placeholder="p>h/#_ h>∅/V_V" required>p>h/#_ h>∅/V_V</textarea>
<small>A valid sound change must include the character ">". The phonetic environment (optional) is written after "/" and must include an underscore "_". Otherwise it will be ignored.</small>
</div>
</div>
<button type="submit" style="max-width: 15rem;">Apply Sound Changes</button>
<fieldset>
<label for="switch">
<input type="checkbox" id="switch" name="switch" role="switch" checked>
Copy results to clipboard
</label>
</fieldset>
</form>
<hgroup>
<p>Results:</p>
<article id="result"></article>
</hgroup>
<hr>
<footer>
<div class="grid">
<hgroup>
<div><i data-feather="github"></i> <a href="https://github.com/patrickelmer/soundchanger" target="_blank" class="primary">GitHub</a></div>
<div><i data-feather="code"></i> <a href="https://git.beelm.eu/patrick/soundchanger" target="_blank" class="primary">Python implementation</a></div>
</hgroup>
<hgroup>
<div>Made by <a href="https://pelmer.eu" target="_blank" class="primary">Patrick Elmer</a></div>
<div>Licensed <a href="https://github.com/patrickelmer/soundchanger/blob/main/LICENSE" target="_blank" class="primary">GNU GPLv3</a></div>
</hgroup>
</div>
</footer>
<script src="https://unpkg.com/feather-icons"></script>
<script>feather.replace()</script>
</body>
</html>