[alicebot-style] Regarding Substitutions.xml
deepti damodar chhawsaria
alicebot-style@list.alicebot.org
21 Apr 2005 04:34:33 -0000
This is a multipart mime message
--Next_1114058072---0-203.199.83.248-10032
Content-type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi All,=0A=0ACan anyone help me with AIML...=0A=0AI am using ProgramD, it h=
as a file "Substitutions.xml" in =0A"conf" folder. =0A=0AI have a sentence =
comming from user like: "Do earthquakes =0Acause tsunami?"=0A=0AIn my categ=
ories I have defined a category which has the =0Apattern "earthquake genera=
te tsunami", now in the =0Asubstitution file I have kept replacements like:=
=0A=0A<substitute find=3D" earthquakes " replace=3D" earthquake "/> =0A<sub=
stitute find=3D" cause " replace=3D" generate "/>=0A=0ABut what I have obse=
rved is: Substitutions.xml never =0Asubstitutes two words in the same sent=
ence.=0A=0APlease help me solve this problem.=0A=0AThanks and Regards,=0ADe=
epti=0A
--Next_1114058072---0-203.199.83.248-10032
Content-type: text/html;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<P>=0AHi All,<BR>=0A<BR>=0ACan anyone help me with AIML...<BR>=0A<BR>=0AI a=
m using ProgramD, it has a file "Substitutions.xml" in <BR>=0A&qu=
ot;conf" folder. <BR>=0A<BR>=0AI have a sentence comming from user lik=
e: "Do earthquakes <BR>=0Acause tsunami?"<BR>=0A<BR>=0AIn my cate=
gories I have defined a category which has the <BR>=0Apattern "earthqu=
ake generate tsunami", now in the <BR>=0Asubstitution file I have kept=
replacements like:<BR>=0A<BR>=0A<substitute find=3D" earthquakes &=
quot; replace=3D" earthquake "/> <BR>=0A<substitute find=3D=
" cause " replace=3D" generate "/><BR>=0A<BR>=0ABut =
what I have observed is: Substitutions.xml never <BR>=0Asubstitutes t=
wo words in the same sentence.<BR>=0A<BR>=0APlease help me solve this probl=
em.<BR>=0A<BR>=0AThanks and Regards,<BR>=0ADeepti<BR>=0A=0A</P>=0A<br><br>=
=0A<A target=3D"_blank" HREF=3D"http://clients.rediff.com/signature/track_s=
ig.asp"><IMG SRC=3D"http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www=
.rediffmail.com/inbox.htm@Bottom" BORDER=3D0 VSPACE=3D0 HSPACE=3D0></a>=0A
--Next_1114058072---0-203.199.83.248-10032--