User:Tancre/Prototyping/AI/ELIZA: Difference between revisions
< User:Tancre | Prototyping | AI
No edit summary |
(→ELIZA) |
||
Line 1: | Line 1: | ||
= ELIZA = | = ELIZA = | ||
[[File: | [[File: elizaBot.png | 1000px]] | ||
== Process == | == Process == | ||
>> input sentence <br> | >> input sentence <br> |
Revision as of 20:31, 20 October 2018
ELIZA
Process
>> input sentence
1. The sentence is broken into words
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