Code for recognizing Sanskrit meters