VoiceXmlInterpreterContext { public SpeechRecognizerProperties getSpeechRecognizerProperties( final FormInterpretationAlgorithm fia) throws ConfigurationException { final SpeechRecognizerProperties speech = configuration .loadObject(SpeechRecognizerProperties.class); final Map<String, String> props = getProperties(fia); speech.setProperties(props); return speech; } VoiceXmlInterpreterContext(final JVoiceXmlSession currentSession,
            final Configuration config);  VoiceXmlInterpreterContext(final JVoiceXmlSession currentSession,
            final Configuration config, final ScopeObserver observer,
            final DataModel dataModel); Session getSession(); Profile getProfile(); ScopeObserver getScopeObserver(); ImplementationPlatform getImplementationPlatform(); GrammarProcessor getGrammarProcessor(); Configuration getConfiguration(); DataModel getDataModel(); EventBus getEventBus(); EventHandler getEventHandler(); void enterScope(final Scope scope); void exitScope(final Scope scope); void close(); ActiveGrammarSet getActiveGrammarSet(); void setProperty(final String name, final String value); String getProperty(final String name); String getProperty(final String name, final String defValue); SpeechRecognizerProperties getSpeechRecognizerProperties(
            final FormInterpretationAlgorithm fia); DtmfRecognizerProperties getDtmfRecognizerProperties(
            final FormInterpretationAlgorithm fia); CallControlProperties getCallControlProperties(
            final FormInterpretationAlgorithm fia); void setApplication(final Application value); Application getApplication(); void process(final Application appl); void processSubdialog(final Application appl,
            final DocumentDescriptor desc,
            final Map<String, Object> parameters); VoiceXmlDocument loadDocument(final DocumentDescriptor descriptor); DocumentServer getDocumentServer(); VoiceXmlDocument acquireVoiceXmlDocument(
            final DocumentDescriptor descriptor); GrammarDocument acquireExternalGrammar(final URI uri,
            final FetchAttributes attributes);  }
@Test public void testGetSpeechRecognizerProperties() throws Exception, JVoiceXMLEvent { final SpeechRecognizerProperties props = context .getSpeechRecognizerProperties(null); Assert.assertEquals(new Float( SpeechRecognizerProperties.DEFAULT_CONFIDENCE_LEVEL), new Float(props.getConfidencelevel())); Assert.assertEquals(new Float( SpeechRecognizerProperties.DEFAULT_SENSITIVITY), new Float( props.getSensitivity())); Assert.assertEquals(new Float( SpeechRecognizerProperties.DEFAULT_SPEED_VS_ACCURACY), new Float(props.getSpeedvsaccuracy())); Assert.assertEquals(0, props.getCompletetimeoutAsMsec()); Assert.assertEquals(0, props.getIncompletetimeoutAsMsec()); Assert.assertEquals(0, props.getMaxspeechtimeoutAsMsec()); }