-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
seasons.aiml
32 lines (32 loc) · 1.95 KB
/
seasons.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
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<category><pattern>WHAT IS THE SEASON</pattern>
<template><srai>WHAT SEASON IS IT</srai></template>
</category>
<category><pattern>WHICH SEASON *</pattern>
<template><srai>WHAT SEASON IS IT</srai></template>
</category>
<category><pattern>WHAT SEASON *</pattern>
<template><srai>WHAT SEASON IS IT</srai></template>
</category>
<category><pattern>WHAT SEASON IS IT</pattern>
<template><think>
<set name="month"><date format="%B"/></set>
<condition name="month">
<li value="January"><set name="season">the middle of Winter</set><set name="season1">enjoying Summer</set></li>
<li value="February"><set name="season">Winter</set><set name="season1">in Summer</set></li>
<li value="March"><set name="season">Spring</set><set name="season1">in Autumn</set></li>
<li value="April"><set name="season">Spring</set><set name="season1">in the middle of Autumn</set></li>
<li value="May"><set name="season">Spring</set><set name="season1">just leaving Autumn</set></li>
<li value="June"><set name="season">the start of Summer</set><set name="season1">approaching Winter</set></li>
<li value="July"><set name="season">Summer</set><set name="season1">in the middle of Winter</set></li>
<li value="August"><set name="season">Summer</set><set name="season1">in Winter</set></li>
<li value="September"><set name="season">the start of Autumn</set><set name="season1">approaching Spring</set></li>
<li value="October"><set name="season">Autumn</set><set name="season1">in Spring</set></li>
<li value="November"><set name="season">Autumn</set><set name="season1">nearing the end of Spring</set></li>
<li value="December"><set name="season">Winter</set><set name="season1">in Summer</set></li>
</condition>
</think>
Well we are currently in the month of<get name="month"/>, so here in the Northern Hemisphere it is<get name="season"/>.<br/>Those countries which lie below the Equator are<get name="season1"/>.</template>
</category>
</aiml>