Conversay Developers Forum

NOTICE!

Use of the Conversay Developers Network (CDN Forum) requires registration with this site.  Click HERE to register now.

 
  CDN Forum  Application Dev...  Application Dev...  speech.properties
Previous Previous
 
Next Next
New Post 5/15/2008 10:25 AM
  CDN Host
20 posts
No Ranking


speech.properties 

Originally Posted by lyncher:

I've been trying to use the "persistent registration of speech engines" feature of specification without success.

Where speech.properties file is expected to be found? I had it in CLASSPATH, user.home, in same dir of jsapi2.jar...but my engines are never found unless I use temporary registering (registerEngineListFactory).

 
New Post 5/15/2008 10:28 AM
  CDN Host
20 posts
No Ranking


Re: speech.properties 

Originally Posted by SpecLead:

Clarification of where speech.properties is found:

Old:

* This searches the CLASSPATH and looks in the location of the EngineManager class.

New:

*This searches the CLASSPATH and looksi n a location relative to the EngineManager class

*Specifically, getResourceAsStream looks for /javax/speech/speech.properties on the CLASSPATH.

Hopefully this helps.

 
New Post 5/15/2008 10:30 AM
  CDN Host
20 posts
No Ranking


Re: speech.properties 

Originally Posted by Lyncher:

And also don't forget that the string in left side of "=" must end with ".EngineListFactory" and you cannot have spaces around "=".

A Working sample:

somename.EngineListFactory=some.package.SphinxEngineListFactory

somename.EngineListFactory=some.package.FreeTTSEngineListFactory

 
New Post 5/15/2008 10:33 AM
  CDN Host
20 posts
No Ranking


Re: speech.properties 

Originally Posted by SpecLead:

We have improved speech.properties parsing to cover expected cases. Now the only restriction is that key end with ".EngineListFactory".

Examples:

com.acme.recognizer.EngineListFactory = \

com.acme.recognizer.AcmeEngineListFactory

com.acme.synthesizer.EngineListFactory : \

com.acme.synthesizer.AcmeEngineListFactory

This will be available in the final release.

 
Previous Previous
 
Next Next
  CDN Forum  Application Dev...  Application Dev...  speech.properties