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

From XPUB & Lens-Based wiki
Line 1: Line 1:
= ELIZA =
= ELIZA =


== Process ==
: > input sentence
: > input sentence
# Pattern of decomposition of the sentence
# Pattern of decomposition of the sentence

Revision as of 20:19, 20 October 2018

ELIZA

Process

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