Hello everyone, I'm a beginner programmer of Clojure language and I have a 
projet where i need to translate a discusion between a patient and a system 
to an expert system in clojure.So first here are the basis rules :

Rule1 : If hedeach then prescribe 
analgesic<http://traduction.sensagent.com/analgesic/en-en/>
.
Rule 2 : if hedeach and sore throat and cough then flu.
Rule 3 : if exhausion and hedeach then fever  (priority 10).
Rule 4 : if hedeach and sore throat then angina (priority 90).
Rule 5 : if exhausion then stress (priority 90).

And here is the discusion betwwen the patient and the system :

Patient : I have a hedeach.
System : I suggeste to take an analgesic.Do you have  :No,  sore throat ?
Patien : Yes.
System : Do you have a cough ?
Patient : No, why ?
System : if you have a hedeach and sore throat and cough, I would conclude 
that you have a flu.It seems like you do not have a flu.Do you feel 
exhausion recently?
Patient : Yes.
System : It seems you have an angina or a stress.






thank you for your help :)

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to