User:Tancre/Prototyping/AI/ELIZA: Difference between revisions

From XPUB & Lens-Based wiki
Line 2: Line 2:


== Process ==
== Process ==
>> input sentence
>> input sentence <br>
1. Pattern of decomposition of the sentence
1. Pattern of decomposition of the sentence <br>
2. Set of pre-substitutions [pre:]
2. Set of pre-substitutions [pre:] <br>
3. List of recognized keywords + sorting on priority [key:]
3. List of recognized keywords + sorting on priority [key:] <br>
4. Research of a list of decomposition patterns. The first that matches is selected + list of sinonyms [decomp: + synon:]
4. Research of a list of decomposition patterns. The first that matches is selected + list of sinonyms [decomp: + synon:] <br>
5. Selection of a reassembly pattern for the selected decomposition pattern. If already selected goes on the next until it restarts. [reasemb:]
5. Selection of a reassembly pattern for the selected decomposition pattern. If already selected goes on the next until it restarts. [reasemb:] <br>
6. Set of post-substitutions [post:]
6. Set of post-substitutions [post:] <br>
>> output sentence
>> output sentence

Revision as of 20:28, 20 October 2018

ELIZA

Process

>> input sentence
1. Pattern of decomposition of the sentence
2. Set of pre-substitutions [pre:]
3. List of recognized keywords + sorting on priority [key:]
4. Research of a list of decomposition patterns. The first that matches is selected + list of sinonyms [decomp: + synon:]
5. Selection of a reassembly pattern for the selected decomposition pattern. If already selected goes on the next until it restarts. [reasemb:]
6. Set of post-substitutions [post:]
>> output sentence