Context Free Grammar:

I decided to make a prescription/disease identifier. This script automatically allocates a disease and prescribes medication for a patient. For this i made use of the context free grammer code and changed the grammar.

o/p:

Too bad you are dying from Mucormycosis- Zygomycosiss Neurontin

Im sorry you are suffering from Mucormycosis- Zygomycosiss take Gabapentin

Too bad you are dying from Lymphogranuloma venereum take Gabapentin

Im sorry you are suffering from Lymphogranuloma venereum take Wellbutrin SR (Bupropion Hydrochloride Sustained-Release)

Im sorry you are suffering from Lymphogranuloma venereum take Gabapentin

Congratulations you are free from Lymphogranuloma venereum take Wellbutrin SR (Bupropion Hydrochloride Sustained-Release)

Im sorry you are suffering from Mucormycosis- Zygomycosiss take dog food laced with Imitrex Nasal Spray

This entry was posted on Monday, March 23rd, 2009 at 4:09 pm and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply