-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
39 lines (33 loc) · 1.38 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Web Speech API Demo</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<h1>Speech to Code</h1>
<h2>Transcription</h2>
<textarea id="transcription" readonly="readonly"></textarea>
<span>Results:</span>
<label><input type="radio" name="recognition-type" value="final" checked="checked" /> Final only</label>
<label><input type="radio" name="recognition-type" value="interim" /> Interim</label>
<h3>Log</h3>
<div id="log"></div>
<div class="buttons-wrapper">
<button id="button-play-ws" class="button-demo">Play demo</button>
<button id="button-stop-ws" class="button-demo">Stop demo</button>
<button id="clear-all" class="button-demo">Clear all</button>
</div>
<span id="ws-unsupported" class="hidden">API not supported</span>
<script type="text/javascript" src="js/speech.js"> </script>
<script type="text/javascript" src="js/mapping.js"> </script>
<script type="text/javascript" src="js/processData.js"> </script>
<script type="text/javascript" src="js/model.js"> </script>
<script>
var name = toLowerCase("DEEPAK AHIRE #@!");
console.log(name);
</script>
</body>
</html>