artificial intelligence - Android Bot Application using AIML -
i developing android bot application take input user, check matching string in aiml file , give corresponding output.
i know android programming , have aiml files ready. problem facing fetch output aiml files.
i have gone through answers not figure out solution. happy if explain in detail.
i using android studio development.
i used this tutorial me started basic application accepts input, scans aiml
files, , gives corresponding response.
the issue tutorial accept input, scan aiml
file , search matching text in <pattern>
tag , respond whatever present in corresponding <template>
tag.
if have <oob>
tags in aiml
files perform special tasks opening applications, searching on internet etc., have write own code following tasks:
- scan bot's response presence of
<oob>
tag. - remove
<oob>
tag , contents between<oob>
,<\oob>
tags. - perform whatever task mentioned in tags.
Comments
Post a Comment