Script started on XXX XXX XX 13:20:09 XXXX > pl Welcome to SWI-Prolog (Multi-threaded, Version 5.6.24) Copyright (c) 1990-2006 University of Amsterdam. SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Please visit http://www.swi-prolog.org for details. For help, use ?- help(Topic). or ?- apropos(Word). ?- ['sentence.p'] % io.p compiled 0.01 sec, 8,864 bytes % process.p compiled 0.01 sec, 10,840 bytes % dictionary.p compiled 0.00 sec, 6,528 bytes % s compiled 0.01 sec, 22,744 bytes Yes ?- cvt. |: bluebirds fly. bluebirds fly . leaves remainder X = [bluebirds, fly, .] Can't interpret that |: the bluebird flies. the bluebird flies . leaves remainder X = [] |: the bluebirds fly. the bluebirds fly . leaves remainder X = [] |: the anemones grow. the anemones grow . leaves remainder X = [] |: an anemone grows. an anemone grows . leaves remainder X = [an, anemone, grows, .] Can't interpret that |: a anemone grows. a anemone grows . leaves remainder X = [] |: the woodpecker chirps. the woodpecker chirps . leaves remainder X = [] |: quit. Yes ?- halt. > exit > script done on XXX XXX XX 13:21:43 XXXX