Elettaria cardamomum ( the usual type of cardamom ) is used as a spice and in medicine ; it is also smoked sometimes ; it is used as a food plant by the larva of the moth Endoclita hosei . Elettaria cardamomum ( the usual type of cardamom ) is used as a spice , a masticatory , and in medicine ; it is also smoked sometimes ; it is used as a food plant by the larva of the moth Endoclita hosei .