-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
98 lines (82 loc) · 2.74 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
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<meta name=author content='The Wugbot Team'>
<meta name=description content='A demo of the digital representation of linguistic structure'>
<meta name=keywords content='linguistics, data modeling, digital linguistics, wugbot, interlinear gloss'>
<title>Visualizing Linguistic Data Structures</title>
<script type="text/javascript" src="js/intro.js-1.0.0/intro.js"></script>
<link href="js/intro.js-1.0.0/introjs.css" rel="stylesheet">
<link rel=stylesheet type='text/css' href='css/demo.css'>
</head>
<body>
<header id=header>
<h1>Digitally Representing Linguistic Structures</h1>
</header>
<section id=demo>
<section id=data>
<section id=inputArea>
<label id=transcriptionLabel for=transcriptionBox>
<p>Phrase</p>
<input id=transcriptionBox type=text class=unicode>
</label>
<ol class=words></ol>
<label id=translationLabel for=translationBox>
<p>Translation</p>
<input id=translationBox type=text class=unicode>
</label>
</section>
<button id=downloadButton>Download your data!</button>
<pre id=jsonArea></pre>
</section>
<section id=visualizations>
<div id=interlinearGloss class=visualization>
<h2>Interlinear Gloss</h2>
<div class=phrase>
<p class='transcription unicode'></p>
<ol class=words></ol>
<p class='translation unicode'></p>
</div>
</div>
<div class=visualization id=stats>
<h2>Phoneme Count</h2>
<ul id=charCount></ul>
</div>
<div class=visualization id=dictionary>
<h2>Dictionary</h2>
<ol id=entries></ol>
</div>
</section>
</section>
<!-- This template is not the full word template from the spec. This one is designed for pedagogical purposes instead. -->
<template id=wordInputTemplate>
<li class=word>
<p class='wordToken unicode'></p>
<p class='wordGloss unicode' contenteditable spellcheck=false>gloss</p>
<select class=wordPOS>
<option value=select>p.o.s.</option>
<option value=noun>n.</option>
<option value=verb>v.</option>
<option value=adjective>adj.</option>
<option value=other>other</option>
</select>
</li>
</template>
<template id=wordTemplate>
<li class=word>
<p class='wordToken unicode'></p>
<p class='wordGloss unicode'></p>
<p class='wordPOS'></p>
</li>
</template>
<template id=entry>
<li class=entry>
<p class=headword></p>
<p class=wordPOS></p>
<p class=definition></p>
</li>
</template>
<script src='js/demo.js'></script>
</body>
</html>