% T9 telefoonfunctie

macro(t9,toets o lexicon).

% De transducer toets zet rijtjes van cijfers
% 2..9 om in de bijhorende lettercombinaties.
% Dit is een non-deterministische machine!

%|: 23
%ad
%ae
%af
%bd
%be
%bf
%cd
%ce
%cf
%(9 outputs)

macro(toets, 
	% VUL JE DEFINITIE IN
	% PAS OP: cijfers moet je escapen: dus '2': ... etc
	).

% lexicon is de herkenner voor je lexicon

macro(lexicon,
	words(% de woorden van negatief.ja als Prolog lijst: [aagt,aai, ..., zwoor]
		)).

% voorbeeld van het gedrag van de t9 transducer
% unix>./fsa -aux t9.pl -raa t9
	
%|: 566
%jon
%kom
%kon
%lom
%(4 outputs)
