Systemic text generation as problem solving: Background I: AI problem solving