Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

100
LINES

< > BotCompany Repo | #1002350 // speech enabled mobile

HTML

1  
<!DOCTYPE html>
2  
<html>
3  
4  
<head>
5  
    <meta charset="UTF-8" />
6  
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
7  
    <title>Eleutheria is learning how to think</title>
8  
    <link rel="stylesheet" type="text/css" href="http://tinybrain.de:8080/getraw.php?id=1002254&contentType=text/css">
9  
    <script src="https://cdnjs.cloudflare.com/ajax/libs/awesomplete/1.0.0/awesomplete.min.js"></script>
10  
    <script src="//cdnjs.cloudflare.com/ajax/libs/annyang/2.1.0/annyang.min.js"></script>
11  
    <script>
12  
    function say(command) { alert(command); }
13  
    input = document.getElementById("input");
14  
    form = document.getElementById("talk-form");
15  
      if (annyang) {
16  
        var commands = {
17  
          '*command': function(command) {
18  
            $("#input").val(command);
19  
          }
20  
        };
21  
        annyang.addCommands(commands);
22  
        annyang.start();
23  
      }
24  
</script>
25  
</head>
26  
<body>
27  
    <div id="header">
28  
        <a href="http://tinybrain.de" border=0><img src="http://eyeocr.sourceforge.net/filestore/filestore.php?cmd=serve&amp;file=blob_1002279&amp;contentType=image/png" alt="logo"></a>
29  
        <h1>Eleutheria is learning how to think</h1>
30  
    </div>
31  
    <div id="content">
32  
        <div id="talk">
33  
            <form action="" id="talk-form">
34  
                <input name="q" class="awesomplete" data-list="#commands" type="text" placeholder="Talk to the robot" autofocus>
35  
                <input type="submit" value="SUBMIT"></input>
36  
                <input type=hidden name=m value=1>
37  
            </form>
38  
            <div id="answer" class="result"></div>
39  
            <ul style="display:none;" id="commands">
40  
        <li>* * are * *</li>
41  
        <li>* * is * *</li>
42  
        <li>* random english words</li>
43  
        <li>1 random english word</li>
44  
        <li>Are there any * other than *?</li>
45  
        <li>all things</li>
46  
        <li>am i a *</li>
47  
        <li>check theory</li>
48  
        <li>cheesebase reload</li>
49  
        <li>get disk space</li>
50  
        <li>get unix hour</li>
51  
        <li>get unix time</li>
52  
        <li>how many * * * *</li>
53  
        <li>how many computers run javax</li>
54  
        <li>how many english words do you know?</li>
55  
        <li>if the * is in the *, and the * is in the *, and the * is in the *, is the * in the *?</li>
56  
        <li>if the * is in the *, and the * is in the *, and the * is in the *, then is the * in the *?</li>
57  
        <li>if the * is in the *, and the * is in the *, is the * in the *?</li>
58  
        <li>if the * is in the *, and the * is in the *, then is the * in the *?</li>
59  
        <li>is * a *</li>
60  
        <li>is * an english word?</li>
61  
        <li>javax: how many statements? *</li>
62  
        <li>list all *</li>
63  
        <li>look up *</li>
64  
        <li>lookup *</li>
65  
        <li>name * *</li>
66  
        <li>name a *</li>
67  
        <li>please say *</li>
68  
        <li>please scrape *</li>
69  
        <li>random english word</li>
70  
        <li>random english words</li>
71  
        <li>show clusters</li>
72  
        <li>show theory</li>
73  
        <li>the text of snippet * is *</li>
74  
        <li>unix hour</li>
75  
        <li>what is *</li>
76  
        <li>what is the unix hour</li>
77  
        <li>which bot is the biggest</li>
78  
    </ul>
79  
        <div class="result" style="width:95%;display:block;margin:auto;height:auto;font-size:4vw;"></div>
80  
        </div>
81  
        <div id="lastdialogs">
82  
            <h2>Last dialogs:</h2>
83  
            <ul class="splash-ul">
84  
                <li>They said:</li>
85  
                <li>Some stuff</li>
86  
                <li>some more stuff</li>
87  
                <li>lorem ipsum... i forgot the rest.</li>
88  
            </ul>
89  
        </div>
90  
    </div>
91  
    <br>
92  
    <div id="footer">
93  
        <a href="http://bots.tinybrain.de">Bot List</a>
94  
        <a href="http://tinybrain.de:8080/getraw.php?id=754&#38;contentType=text/html">More</a>
95  
        <a href="http://bots.tinybrain.de/1002213/raw?d=1">Web Version</a>
96  
        <p>With the help of Bugra Gündüz</p>
97  
    </div>
98  
</body>
99  
100  
</html>

Author comment

Began life as a copy of #1002253

download  render html  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002350
Snippet name: speech enabled mobile
Eternal ID of this version: #1002350/1
Text MD5: aeb0b1d1b819c06066585b1f04d393d6
Author: bgrgndz
Category:
Type: HTML
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-01-07 21:53:04
Source code size: 4041 bytes / 100 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 603 / 535
Referenced in: [show references]