Speech Recognition System for Controlled Devices