<?xml version="1.0" encoding="UTF-8"?>

<!-- Copyright (c)2013 Dave Morton                                        -->

<!--  Permission is hereby granted, free of charge, to any person       -->
<!--  obtaining a copy of this software and associated documentation    -->
<!--  files (the "Software"), to deal in the Software without           -->
<!--  restriction, including without limitation the rights to use,      -->
<!--  copy, modify, merge, publish, distribute, sublicense, and/or sell -->
<!--  copies of the Software, and to permit persons to whom the         -->
<!--  Software is furnished to do so, subject to the following          -->
<!--  conditions:                                                       -->

<!--  The above copyright notice and this permission notice shall be    -->
<!--  included in all copies or substantial portions of the Software.   -->

<!--  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,   -->
<!--  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES   -->
<!--  OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND          -->
<!--  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT       -->
<!--  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,      -->
<!--  WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING      -->
<!--  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR     -->
<!--  OTHER DEALINGS IN THE SOFTWARE.                                   -->

<!--  Complies with the AIML 1.0 Standard                               -->
<!--  as adopted by the ALICE A.I. Foundation.                          -->
<!--  Last modified 05-15-2013                                          -->
<!--  file: unicode_demo.aiml                                           -->

<aiml version="1.0">


<!-- SQL = select pattern, thatpattern, template from aiml where topic like '' and filename like 'unicode_demo.aiml'; -->

<category><pattern>SAY HELLO IN *</pattern><template><think><set name="language"><uppercase><star/></uppercase></set></think>        <condition name="language">          <li value="ARABIC">مرحبا باللغة العربية</li>          <li value="CHINESE">你好中國</li>          <li value="ENGLISH">Hello in English.</li>          <li value="FRENCH">Bonjour en français.</li>          <li value="GERMAN">Hallo in Deutsch.</li>          <li value="GREEK">Γεια σας στην ελληνική γλώσσα.</li>          <li value="PORTUGUESE">Olá em Português.</li>          <li value="RUSSIAN">Здравствуйте на русском языке.</li>          <li value="SPANISH">Hola en español.</li>          <li value="THAI">สวัสดีในภาษาไทย</li>          <li value="TURKISH">InTurkish Merhaba.</li>          <li>That's not a language I know. Sorry.</li>        </condition>      </template></category>
<category><pattern>مرحبا</pattern><template>مرحبا باللغة العربية</template></category>
<category><pattern>你好</pattern><template>你好中國</template></category>
<category><pattern>HELLO</pattern><template>Hello in English.</template></category>
<category><pattern>BONJOUR</pattern><template>Bonjour en français.</template></category>
<category><pattern>HALLO</pattern><template>Hallo in Deutsch.</template></category>
<category><pattern>ΓΕΙΑ ΣΑΣ</pattern><template>Γεια σας στην ελληνική γλώσσα.</template></category>
<category><pattern>OLÁ</pattern><template>Olá em Português.</template></category>
<category><pattern>ПРИВЕТ</pattern><template>Здравствуйте на русском языке.</template></category>
<category><pattern>HOLA</pattern><template>Hola en español.</template></category>
<category><pattern>สวัสดี</pattern><template>สวัสดีในภาษาไทย</template></category>
<category><pattern>MERHABA</pattern><template>InTurkish Merhaba.</template></category>

</aiml>