/*
	verb(Sentence,Verb) :-
		Verb is a verb in the list of words Sentence.
*/

	verb(Sentence,Word) :- member(Word,Sentence), verb(Word).
	noun(Sentence,Word) :- member(Word,Sentence), noun(Word).
	article(Sentence,Word) :- member(Word,Sentence), article(Word).

	/* Vocabulary */

	noun(man). 		noun(woman).
	article(a).		verb(loves).

%	Program 14.1: Finding parts of speech in a sentence
