<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Inner workings</title><link>https://sourceforge.net/p/simpleaibot/wiki/Inner%2520workings/</link><description>Recent changes to Inner workings</description><atom:link href="https://sourceforge.net/p/simpleaibot/wiki/Inner%20workings/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 26 Dec 2012 16:23:57 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/simpleaibot/wiki/Inner%20workings/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Inner workings modified by 0xJarno</title><link>https://sourceforge.net/p/simpleaibot/wiki/Inner%2520workings/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">0xJarno</dc:creator><pubDate>Wed, 26 Dec 2012 16:23:57 -0000</pubDate><guid>https://sourceforge.netde406bcb3f40a895daeadafa8115e258b6655050</guid></item><item><title>WikiPage Inner workings modified by 0xJarno</title><link>https://sourceforge.net/p/simpleaibot/wiki/Inner%2520workings/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="inner-workings"&gt;Inner workings&lt;/h1&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;This document describes how SimpleAiBot works inside, for more details look at the source code.&lt;/p&gt;
&lt;h2 id="initialization"&gt;Initialization&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Clear the screen&lt;/li&gt;
&lt;li&gt;Load data file (knowledge data)&lt;/li&gt;
&lt;li&gt;Parse data file (into sentences[type][sentence][character])&lt;/li&gt;
&lt;li&gt;Close data file&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="main-loop"&gt;Main loop&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Get user input&lt;/li&gt;
&lt;li&gt;Concatenate  input in words&lt;/li&gt;
&lt;li&gt;Execute &lt;a class="alink" href="/p/simpleaibot/wiki/AI%20Commands/"&gt;[AI Commands]&lt;/a&gt; given by user&lt;/li&gt;
&lt;li&gt;Learn from what the user says&lt;/li&gt;
&lt;li&gt;Analyze&lt;/li&gt;
&lt;li&gt;Rate all possible responses&lt;/li&gt;
&lt;li&gt;Respond with highest scored response&lt;/li&gt;
&lt;li&gt;Go to 1&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="deintialization"&gt;Deintialization&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Open data file again&lt;/li&gt;
&lt;li&gt;Save data to data file (from sentences[type][sentence][character] to data file)&lt;/li&gt;
&lt;li&gt;Close data file&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">0xJarno</dc:creator><pubDate>Wed, 26 Dec 2012 16:23:27 -0000</pubDate><guid>https://sourceforge.net887a5e1fb21e6437446d9567aab8cb3677c59bc7</guid></item></channel></rss>