class KinectSpokenInput implements SpokenInput {

    @Override
    public void stopRecognition() {
        try {
            recognizer.stopRecognition();
            recognizer.deallocate();
        } catch (KinectRecognizerException e) {
            LOGGER.warn(e.getMessage(), e);
        } finally {
            final SpokenInputEvent event = new RecognitionStoppedEvent(this,
                    null);
            fireInputEvent(event);
        }
    }

    public  KinectSpokenInput();

}