About A simple implementation of the Competition-Integration model (CIM). See: McRae, K., Spivey-Knowlton, M., and Tanenhaus, M. (1998). Modeling the influence of thematic fit (and other constraints) in on-line sentence comprehension. Journal of Memory and Language, 38(3):283–312. Green, M. and Mitchell, D. (2006). Absence of real evidence against competition during syntactic ambiguity resolution. Journal of Memory and Language, 55(1):1–17. Usage swipl -f model_example1.pl ... ?- run_model.