An Introduction to Natural Language Processing Through Prolog