The predicate 'read_in(L)' in ECMI01.COMMREADIN reads in sentences typed by the user and returns the words as elements of the list L. The end of a sentence is marked either by the key or by the backslash symbol - but note that EMAS won't pass your typing on to Prolog until you type , so if you have a backslash in a line, it'll appear to be two sentences to this version of 'read_in(L)'. The following characters are recognised as one-character words: ! " # $ % & ' ( ) * + , - . : ; < = > ? @ [ \ ] ^ ` { | } ~ The character '_' is taken to be a normal character that can appear within words. You can copy the file and modify it to suit your needs. The single-character words are defined by a call to 'in_set(L)' whose argument is a list of lists, or numbers. Each number is an ASCII character code for what is to be taken as a valid single-character word; each list contains two numbers, representing a character range. Peter Ross, 7 December 1982