hi steve,
my project still problem.i dont know how to show my coding because my coding is in “Malay language”.
before this, i success to find how to make input match with synonims..
but another problem is, i want to condition in index can match to another synonims.
eg 1 :
<category>
my name is alex I am 23 years old and I live in california</pattern>
<template>student of harvard</template>
</category>
<category>
my name is * I am * years old and I live in *</pattern>
<template>
<srai>
<li>my name is</li>
<think><set name=“a”><srai><star index=“1”></srai></set></think>
<condition name=“a”>
<li value=“name”>alex</li>
</condition>
<li>i am</li>
<think><set name=“b”><srai><star index=“2”></srai></set></think>
<condition name=“b”>
<li value=“age”>23</li>
</condition>
<li>years old and I live in </li>
<think><set name=“c”><srai><star index=“3”></srai></set></think>
<condition name=“c”>
<li value=“location”>california</li>
</condition>
</srai>
</template>
</category>
<!—so the answer or output should be “student of harvard”—>
So my problem is when i use coding like above for another sentence the output that always i got is TO MUCH RECURSIVE OF AIML.
eg 2:
<category>
apple have vitamin and good for skin espesially for women</pattern>
<template>tips of beauty</template>
</category>
<category>
* have vitamin and good for * espesially for *</pattern>
<template>
<srai>
<think><set name=“a”><srai><star index=“1”></srai></set></think>
<condition name=“a”>
<li value=“fruit”>apple</li>
</condition>
<li>have vitamin and good for</li>
<think><set name=“b”><srai><star index=“2”></srai></set></think>
<condition name=“b”>
<li value=“bodypart”>skin</li>
</condition>
<li>espesially for</li>
<think><set name=“c”><srai><star index=“3”></srai></set></think>
<condition name=“c”>
<li value=“user”>women</li>
</condition>
</srai>
</template>
</category>
<!—so the output should be tips of beauty—>
Both example above have their own synonims for each index.so when i run the chatbot there not totally success.most the output is TO MUCH RECURSIVE OF AIML.
is’t AIML coding can be much intelligent to respond to many synonims.
Steve plz help me