I am trying to parse a public domain dictionary. The text files look at this.
Kamala (n.) The red dusty hairs of the capsules of an East Indian tree (Mallotus Philippinensis) used for dyeing silk. It is violently emetic, and is used in the treatment of tapeworm.
Kame (n.) A low ridge.
Kami (n. pl.) A title given to the celestial gods of the first mythical dynasty of Japan and extended to the demigods of the second dynasty, and then to the long line of spiritual princes still represented by the mikado.
All the words are broken up like 3 examples above: word (type of word) meaning. There would be 3 columns parsed. Everything after the (type of word) is the definitions and might or might not contain ().
Thanks for the help.