Efficient FPGA implementation of a knowledge-based automatic speech classifier