Dear Sir/Madam,
I cannot understand the reason for following strange behavior.
This behavior occurs only if the following procedure is followed strictly.
On the CLIPS prompt ::
----------------------------------------------------------------
CLIPS> (load-facts pada_facts)
TRUE
CLIPS> (load pada.clp)
Defining deftemplate: pada_info
Defining defrule: get_NP +j+j+j+j
Defining defrule: get_PP_pada +j+j+j+j+j+j+j+j+j
Defining defrule: reverse_NP_daut =j+j+j+j+j+j
TRUE
CLIPS> (agenda)
11 get_NP: f-6,f-3,f-11
For a total of 1 activation.
CLIPS> (run 1)
CLIPS> (agenda)
10 get_PP_pada: f-5,f-4,f-9,f-3,f-11,f-8,f-6,f-13
10 get_PP_pada: f-5,f-4,f-9,f-3,f-11,f-8,f-6,f-13
For a total of 2 activations.
-------------------------------------------------------------------
I have also attached the rule file pada.clp , and facts file pada_facts and a screen shot for a clearer picture.
--
Mahalaxmi.
Open source English-Hindi MT system
http://anusaaraka.iiit.ac.in/