29th January 1985 Helen Pain Exercise for week 4, term 2: sentence generator. (also basis for Natural Language AI1 project) Log on to EMAS. Get into PROLOG. Consult the following files: ['ecmi04.rtn']. ['ecmi04.random']. ['ecmi04.drinks']. Copy them to your own area before you run prolog. The file 'rtn' contains a sentence generator to be used with an rtn grammar representation. The grammar itself is stored in the file 'drinks'. The file 'random' contains a number of 'utilities' - other generally useful predicates. In response to the prompt ?- type go. Try this several times and explore the sentences generated. List the program. See if you can guess what other sentences might be generated by the grammar. Trace the program and step through it: ?- trace,go. When you think that you understand how the program works, edit the file 'drinks', using em, to include the following additional vocabulary: verbs - hates,pours nouns - pint, milk, glass adjectives - clear, fresh, full