-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_aideTranslator.aiml
71 lines (69 loc) · 2.3 KB
/
_aideTranslator.aiml
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
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<category><pattern>TRANSLATION IN *</pattern>
<template><think>
<set name="topic">TRANSLATOR</set>
</think>
<think>
<set name="languetraduction">
<star/>
</set>
</think>
<li>
Translating in <star/>, tell me : stop translate, and I will stop
</li></template>
</category>
<category><pattern>TRANSLATION TO *</pattern>
<template><srai>TRANSLATION IN <star index="1"/></srai></template>
</category>
<category><pattern>TRANSLATE *</pattern>
<template><oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>translateText("<star index="1"/>","<get name="languetraduction"/>")</param>
</mrl>
</oob></template>
</category>
<category><pattern>TRANSLATE * IN *</pattern>
<template><oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>translateText("<star index="1"/>","<star index="2"/>")</param>
</mrl>
</oob></template>
</category>
<category><pattern>TRANSLATE * TO *</pattern>
<template><srai>TRANSLATE <star index="1"/> IN <star index="2"/></srai></template>
</category>
<category><pattern>AZURE_ERROR_1</pattern>
<template>Sorry there is a probleme of communication with the azure server, try again and check the key !</template>
</category>
<category><pattern>AZURE_ERROR_2 *</pattern>
<template>I don't know this language <star index="1"/>, or the syntax in the azure file is incorrect !</template>
</category>
<category><pattern>AZURE_ERROR_3</pattern>
<template>I seem to have trouble connecting myself to the server .</template>
</category>
<topic name="TRANSLATOR">
<category><pattern># STOP TRANSLATE #</pattern>
<template><think>
<set name="topic">GESTURES</set>
</think>
<think>
<set name="languetraduction">en</set>
</think>
<li>Okay, I will stop translating, it was nice speaking that language</li></template>
</category></topic>
<topic name="TRANSLATOR">
<category><pattern>#</pattern>
<template><oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>translateText("<star index="1"/>","<get name="languetraduction"/>")</param>
</mrl>
</oob></template>
</category></topic>
</aiml>