%%
%% An FSA for recognizing simple english noun phrases.
%% Uses catgory symbols on the arc and a lexicon.
%%

%% the FSA

initial(1).
final(3).             
arc(1,2,det).         
arc(2,2,adj).         
arc(2,3,cn).          
arc(1,3,pn).          
arc(3,1,prep).        


%% the lexicon
                                                   
lex(a,det).
lex(the,det).
lex(fast,adj).
lex(brave,adj).
lex(witch,cn).
lex(wizard,cn).
lex(broomstick,cn).
lex(rat,cn).
lex(harry,pn).
lex(hermione,pn).
lex(ron,pn).
lex(with,prep).