Re: the error is in call it "AI" !!!
Each pattern is a direct analogue of a programming language command, in its unique subtext and context. AI learns by addition of new patterns, subtexts and contexts.
For example, there is a paragraph which has a pattern (phrase, a few words). The paragraph and surrounding it paragraphs dictate the pattern context and subtexts; where each dictionary definition - for each the phrase's word - is its one subtext.