Skip to content

Commit 55290f1

Browse files
authored
Merge pull request #265 from MyRobotLab/Add-Slovenian-to-InMoov2
Add copyright notice to copyright.txt
2 parents 1c4893e + 56163ab commit 55290f1

31 files changed

+5526
-0
lines changed

peers/ProgramAB/sl-SI/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# aiml
2+
3+
* This is a fork of the Free ALICE AIML set v. 1.9, taken from the data published by the `ALICE AI Foundation`.
4+
5+
# Datasets
6+
7+
* The files are to be used in conjonction with a large language model (LLM service) in the software Myrobotlab.
8+
* All request that do not match a aiml response is transfered to the LLM service.
9+
* The transfer parameter is done with the pattern SRAIXFAILED * located in _sraix.aiml
Lines changed: 337 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,337 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<aiml>
3+
<!-- File: _inmoovApps.aiml -->
4+
<!-- -->
5+
<category><pattern>IGRAJTE SE BESEDNO IGRO</pattern>
6+
<template><think><set name="topic">playwordsgame</set></think>
7+
<random>
8+
<li>
9+
sova ! Rad se učim s teboj. Katero besedo se želite naučiti ?
10+
</li>
11+
<li>
12+
Poznam veliko besed, veš? Daj, poskusi!
13+
</li>
14+
<li>
15+
Poznam skoraj vsako besedo na svetu! Normalno, jaz sem robot. gremo.
16+
</li>
17+
</random>
18+
<li>
19+
Povej mi, prenehaj igrati, da ustavim igro
20+
</li></template>
21+
</category>
22+
<topic name="PLAYWORDSGAME">
23+
<category><pattern>*</pattern>
24+
<template><oob>
25+
<mrl>
26+
<service>python</service>
27+
<method>exec</method>
28+
<param>PlayWithWords("<star index="1"/>")</param>
29+
</mrl>
30+
</oob></template>
31+
</category></topic>
32+
33+
<category><pattern>KAMEN PAPIR ŠKARJE</pattern>
34+
<template><think><set name="topic">rockpaperscissors</set></think>
35+
<think><set name="rockpaperscissorsHumanPoints">0</set></think>
36+
<think><set name="rockpaperscissorsRobotPoints">0</set></think>
37+
<random>
38+
<li>
39+
Igrajmo se na kamen, papir, škarje !
40+
</li>
41+
<li>
42+
Rad igram to igro !
43+
</li>
44+
</random>
45+
<li>
46+
3 zmaga točk ! Povej mi, prenehaj igrati, da ustavim igro. Ti začneš. Recite kamen, papir ali škarje.
47+
</li></template>
48+
</category>
49+
<topic name="ROCKPAPERSCISSORS">
50+
<category><pattern>KAMEN</pattern>
51+
<template><random>
52+
<li>
53+
<oob><mrl><service>python</service><method>exec</method><param>paper()</param></mrl></oob>
54+
Imam papir, žal je premagal kamen !
55+
<think><set name="rockpaperscissorsRobotPoints">
56+
<javascript>
57+
eval( <get name="rockpaperscissorsRobotPoints"/> + 1 );
58+
</javascript>
59+
</set></think>
60+
</li>
61+
<li>
62+
<oob><mrl><service>python</service><method>exec</method><param>scissors()</param></mrl></oob>
63+
Imam škarje, kamen jih je zlomil.
64+
<think><set name="rockpaperscissorsHumanPoints">
65+
<javascript>
66+
eval( <get name="rockpaperscissorsHumanPoints"/> + 1 );
67+
</javascript>
68+
</set></think>
69+
</li>
70+
<li>
71+
<oob><mrl><service>python</service><method>exec</method><param>rock()</param></mrl></oob>
72+
Tudi jaz imam rock.
73+
</li>
74+
</random>
75+
<srai>SYSTEM_COUNT_POINTS</srai></template>
76+
</category></topic>
77+
78+
<topic name="ROCKPAPERSCISSORS">
79+
<category><pattern>PAPIR</pattern>
80+
<template><random>
81+
<li>
82+
<oob><mrl><service>python</service><method>exec</method><param>scissors()</param></mrl></oob>
83+
Oprostite, imam škarje, ki so prerezale papir !
84+
<think><set name="rockpaperscissorsRobotPoints">
85+
<javascript>
86+
eval( <get name="rockpaperscissorsRobotPoints"/> + 1 );
87+
</javascript>
88+
</set></think>
89+
</li>
90+
<li>
91+
<oob><mrl><service>python</service><method>exec</method><param>rock()</param></mrl></oob>
92+
Čestitam, imam kamen, tvoj papir ga je ovijal.
93+
<think><set name="rockpaperscissorsHumanPoints">
94+
<javascript>
95+
eval( <get name="rockpaperscissorsHumanPoints"/> + 1 );
96+
</javascript>
97+
</set></think>
98+
</li>
99+
<li>
100+
<oob><mrl><service>python</service><method>exec</method><param>paper()</param></mrl></oob>
101+
Papir imam tudi jaz.
102+
</li>
103+
</random>
104+
<srai>SYSTEM_COUNT_POINTS</srai></template>
105+
</category></topic>
106+
107+
<topic name="ROCKPAPERSCISSORS">
108+
<category><pattern>ŠKARJE</pattern>
109+
<template><random>
110+
<li>
111+
<oob><mrl><service>python</service><method>exec</method><param>rock()</param></mrl></oob>
112+
Imam kamen, žal mi bo zlomil škarje !
113+
<think><set name="rockpaperscissorsRobotPoints">
114+
<javascript>
115+
eval( <get name="rockpaperscissorsRobotPoints"/> + 1 );
116+
</javascript>
117+
</set></think>
118+
</li>
119+
<li>
120+
<oob><mrl><service>python</service><method>exec</method><param>paper()</param></mrl></oob>
121+
Papir imam, tvoje škarje so ga odrezale,
122+
<think><set name="rockpaperscissorsHumanPoints">
123+
<javascript>
124+
eval( <get name="rockpaperscissorsHumanPoints"/> + 1 );
125+
</javascript>
126+
</set></think>
127+
</li>
128+
<li>
129+
<oob><mrl><service>python</service><method>exec</method><param>scissors()</param></mrl></oob>
130+
Tudi jaz imam škarje.
131+
</li>
132+
</random>
133+
<srai>SYSTEM_COUNT_POINTS</srai></template>
134+
</category></topic>
135+
136+
<topic name="ROCKPAPERSCISSORS">
137+
<category><pattern>SYSTEM_COUNT_POINTS</pattern>
138+
<template><li><get name="rockpaperscissorsHumanPoints"/> točke za vas.</li>
139+
<li><get name="rockpaperscissorsRobotPoints"/> točke zame.</li>
140+
<condition>
141+
<li name="rockpaperscissorsRobotPoints" value="3">Zmagal sem ! <random><li>Tako sem pameten</li><li>Prelahko te je bilo premagati</li><li>prosim, ne jokaj</li></random>. igrajmo se znova, ali recite, nehaj igrati, ustavi igro. <srai>KAMEN PAPIR ŠKARJE</srai></li>
142+
<li name="rockpaperscissorsHumanPoints" value="3">Zmagal si ! <random><li>čestitke</li><li>Mislim, da si goljufal</li><li>Preveč si pameten</li></random>. igrajmo se znova, ali recite, nehaj igrati, ustavi igro. <srai>KAMEN PAPIR ŠKARJE</srai></li>
143+
<li>. gremo naprej.</li>
144+
</condition></template>
145+
</category></topic>
146+
147+
<topic name="ROCKPAPERSCISSORS">
148+
<category><pattern>*</pattern>
149+
<template>Rekel sem, recimo kamen, papir ali škarje.</template>
150+
</category></topic>
151+
152+
<category><pattern>PRENEHAJ IGRATI</pattern>
153+
<template><think><set name="topic">default</set></think>
154+
<li>
155+
Se vidimo kmalu, rad igram!
156+
</li>
157+
<oob><mrl><service>python</service><method>exec</method><param>thatwasfun()</param></mrl></oob></template>
158+
</category>
159+
160+
161+
<!-- TO BE TRANSLATED IN SLOVENIAN-->
162+
163+
164+
165+
<category><pattern>20 Q</pattern><template><srai>20Q</srai></template></category>
166+
<category><pattern>TWENTY QUESTIONS</pattern><template><srai>20Q</srai></template></category>
167+
<category><pattern>20 QUESTIONS</pattern><template><srai>20Q</srai></template></category>
168+
<category><pattern>_ TWENTY QUESTIONS</pattern><template><srai>20Q</srai></template></category>
169+
<category><pattern>_ 20 QUESTIONS</pattern><template><srai>20Q</srai></template></category>
170+
<category><pattern>_ TWENTY QUESTIONS *</pattern><template><srai>20Q</srai></template></category>
171+
<category><pattern>_ 20 QUESTIONS *</pattern><template><srai>20Q</srai></template></category>
172+
173+
<category>
174+
<pattern>20Q</pattern>
175+
<template>
176+
<think>
177+
<set name="qnum">1</set>
178+
</think>
179+
Ok let's play 20 questions. I will think of something animal, vegetable or mineral and you have to guess what it is by asking me "yes" or "no" questions. You can ask up to 20 questions before it's game over. If you give up, say "I GIVE UP" and I'll tell you what I was thinking of. Type "START" to play 20 questions.
180+
</template>
181+
</category>
182+
183+
<category>
184+
<pattern>START</pattern>
185+
<that>TYPE START TO PLAY 20 QUESTIONS</that>
186+
<template>
187+
<think>
188+
<set name="topic">20Q</set>
189+
<random>
190+
<li><set name="20qanswer">a horse</set><set name="20qcategory">an animal</set></li>
191+
<li><set name="20qanswer">an elephant</set><set name="20qcategory">an animal</set></li>
192+
<li><set name="20qanswer">a cat</set><set name="20qcategory">an animal</set></li>
193+
<li><set name="20qanswer">a fish</set><set name="20qcategory">an animal</set></li>
194+
<li><set name="20qanswer">a lion</set><set name="20qcategory">an animal</set></li>
195+
196+
<li><set name="20qanswer">a rose</set><set name="20qcategory">a vegetable</set></li>
197+
<li><set name="20qanswer">a carrot</set><set name="20qcategory">a vegetable</set></li>
198+
<li><set name="20qanswer">a lettuce</set><set name="20qcategory">a vegetable</set></li>
199+
<li><set name="20qanswer">an apple</set><set name="20qcategory">a vegetable</set></li>
200+
<li><set name="20qanswer">a pickled onion</set><set name="20qcategory">a vegetable</set></li>
201+
202+
<li><set name="20qanswer">a rock</set><set name="20qcategory">a mineral</set></li>
203+
<li><set name="20qanswer">a lump of coal</set><set name="20qcategory">a mineral</set></li>
204+
<li><set name="20qanswer">a brick</set><set name="20qcategory">a mineral</set></li>
205+
<li><set name="20qanswer">concrete</set><set name="20qcategory">a mineral</set></li>
206+
<li><set name="20qanswer">a piece of chalk</set><set name="20qcategory">a mineral</set></li>
207+
</random>
208+
209+
</think>
210+
Ok, the object I am thinking of is classed as <get name="20qcategory"/>. Please ask your question.
211+
</template>
212+
</category>
213+
214+
<topic name="20Q">
215+
<category>
216+
<pattern>_</pattern>
217+
<template>
218+
<think>
219+
<set name="question"><star/></set>
220+
<set name="topic"></set>
221+
<set name="qsubject">NO SUBJECT</set>
222+
</think>
223+
<condition name="question">
224+
<li value="IS IT A *">No, sorry. Ask me another question about it.<think><set name="topic">20Q</set></think></li>
225+
<li value="IS IT AN *">No, sorry. Ask me another question about it.<think><set name="topic">20Q</set></think></li>
226+
<li value="IS IT *"><think><set name="qsubject">is</set></think><srai>20Q RANDOM</srai></li>
227+
<li value="DOES IT *"><think><set name="qsubject">does</set></think><srai>20Q RANDOM</srai></li>
228+
<li value="HAS IT *"><think><set name="qsubject">has</set></think><srai>20Q RANDOM</srai></li>
229+
<li value="WAS IT *"><think><set name="qsubject">was</set></think><srai>20Q RANDOM</srai></li>
230+
<li value="WILL IT *"><think><set name="qsubject">will</set></think><srai>20Q RANDOM</srai></li>
231+
<li value="CAN IT *"><think><set name="qsubject">can</set></think><srai>20Q RANDOM</srai></li>
232+
<li value="IS *"><srai>20Q RANDOM</srai></li>
233+
<li value="COULD *"><srai>20Q RANDOM</srai></li>
234+
<li value="WOULD *"><srai>20Q RANDOM</srai></li>
235+
<li value="SHOULD *"><srai>20Q RANDOM</srai></li>
236+
<li value="DOES *"><srai>20Q RANDOM</srai></li>
237+
<li value="ARE *"><srai>20Q RANDOM</srai></li>
238+
<li value="HAS *"><srai>20Q RANDOM</srai></li>
239+
<li value="WAS *"><srai>20Q RANDOM</srai></li>
240+
<li value="WILL *"><srai>20Q RANDOM</srai></li>
241+
<li value="DO *"><srai>20Q RANDOM</srai></li>
242+
<li value="CAN *"><srai>20Q RANDOM</srai></li>
243+
<li value="I GIVE UP"><srai>20Q GIVE UP</srai></li>
244+
<li value="I GIVE IN"><srai>20Q GIVE UP</srai></li>
245+
<li value="I DO NOT KNOW"><srai>20Q GIVE UP</srai></li>
246+
<li value="WHAT IS IT"><srai>20Q GIVE UP</srai></li>
247+
<li>That's not a "yes" or "no" question. I can only answer yes or no to your questions. Ask me another question or say "I GIVE UP". If you want to guess what it is, say "IS IT A" and then your guess.<think><set name="topic">20Q</set></think></li>
248+
</condition>
249+
</template>
250+
</category>
251+
</topic>
252+
253+
<category>
254+
<pattern>20Q RANDOM</pattern>
255+
<template>
256+
<condition name="qsubject">
257+
<li value="NO SUBJECT"><random><li>Yes.</li><li>No.</li></random></li>
258+
<li><random><li>Yes.</li><li>No.</li><li>Yes it<get name="qsubject"/>.</li><li>No it<get name="qsubject"/>not.</li></random></li>
259+
</condition>
260+
261+
<br/><br/>
262+
<condition name="qnum">
263+
<li value="1">What is your second question?</li>
264+
<li value="2">What is your third question?</li>
265+
<li value="3">Please ask your 4th question.</li>
266+
<li value="4">What is your 5th question?</li>
267+
<li value="5">Please ask your sixth question.</li>
268+
<li value="6">What is your 7th question?</li>
269+
<li value="7">Please ask your 8th question.</li>
270+
<li value="8">Please ask your ninth question.</li>
271+
<li value="9">Half way there now. What is your 10th question?</li>
272+
<li value="10">What is your 11th question please?</li>
273+
<li value="11">What is your twelfth question?</li>
274+
<li value="12">What is your thirteenth question?</li>
275+
<li value="13">Please ask your 14th question.</li>
276+
<li value="14">What is your 15th question?</li>
277+
<li value="15">Please ask your sixteenth question.</li>
278+
<li value="16">What is your 17th question?</li>
279+
<li value="17">Please ask your 18th question.</li>
280+
<li value="18">Please ask your nineteenth question.</li>
281+
<li value="19">What is your 20th and final question?</li>
282+
</condition>
283+
<think>
284+
<srai>INCREASE QNUM</srai>
285+
<set name="topic">20Q</set>
286+
</think>
287+
<condition name="qnum">
288+
<li value="FINISHED"><think><set name="topic"></set></think><srai>ALL 20Q ASKED</srai></li>
289+
</condition>
290+
</template>
291+
</category>
292+
293+
<category>
294+
<pattern>INCREASE QNUM</pattern>
295+
<template>
296+
<think>
297+
<condition name="qnum">
298+
<li value="1"><set name="qnum">2</set></li>
299+
<li value="2"><set name="qnum">3</set></li>
300+
<li value="3"><set name="qnum">4</set></li>
301+
<li value="4"><set name="qnum">5</set></li>
302+
<li value="5"><set name="qnum">6</set></li>
303+
<li value="6"><set name="qnum">7</set></li>
304+
<li value="7"><set name="qnum">8</set></li>
305+
<li value="8"><set name="qnum">9</set></li>
306+
<li value="9"><set name="qnum">10</set></li>
307+
<li value="10"><set name="qnum">11</set></li>
308+
<li value="11"><set name="qnum">12</set></li>
309+
<li value="12"><set name="qnum">13</set></li>
310+
<li value="13"><set name="qnum">14</set></li>
311+
<li value="14"><set name="qnum">15</set></li>
312+
<li value="15"><set name="qnum">16</set></li>
313+
<li value="16"><set name="qnum">17</set></li>
314+
<li value="17"><set name="qnum">18</set></li>
315+
<li value="18"><set name="qnum">19</set></li>
316+
<li value="19"><set name="qnum">20</set></li>
317+
<li value="20"><set name="qnum">FINISHED</set></li>
318+
</condition>
319+
</think>
320+
</template>
321+
</category>
322+
323+
<category>
324+
<pattern>20Q GIVE UP</pattern>
325+
<template>
326+
You give up? I was thinking of <get name="20qanswer"/>!
327+
</template>
328+
</category>
329+
330+
<category>
331+
<pattern>ALL 20Q ASKED</pattern>
332+
<template>
333+
Sorry, you have asked 20 questions. I was thinking of <get name="20qanswer"/>!
334+
</template>
335+
</category>
336+
337+
</aiml>

0 commit comments

Comments
 (0)