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