class KinectRecognitionResult implements org.jvoicexml.RecognitionResult {

    @Override
    public Object getSemanticInterpretation(final DataModel model) throws SemanticError {
        final List<SmlInterpretation> interpretations =
                extractor.getInterpretations();
        if (interpretations.size() == 0) {
            return null;
        }
        model.createVariable("out");
        for (SmlInterpretation interpretation : interpretations) {
            final String tag = interpretation.getTag();
            final String value = interpretation.getValue();
            model.createVariable("out." + tag, value);
        }
        return model.readVariable("out", Object.class);
    }

    public  KinectRecognitionResult(
            final SmlInterpretationExtractor smlextrator);

}