Natural Language Processing for Prolog Programmers