Ivan Uemlianin - 2007-10-09

Dear All

I am converting sphinx3 acoustic models to sphinx4, using the procedure on the "How to Use Models from SphinxTrain in Sphinx-4" page [1]. All seems to be working well, and I am preparing to automate the process as a function in the Trefnydd toolkit [2].

The procedure in [1] rebuilds the whole of sphinx4. Would it be possible to build only the jar file for the new acoustic model - for example, by generating a separate build_new_am.xml and running ant with that? Or is it always necessary to rebuild the whole of sphinx4?

Perhaps if much of the sphinx4 code has not changed since the previous build, that part of the build will be ignored (ant is like make for java? that's about all I know about ant), but it would be nice if for example an s4 AM could be built without access to the s4 source.

I admit I haven't tried this out, but my knowledge of ant is very limited, and I could spend a lot of time getting nowhere. Any suggestions for the best route will be appreciated and acted upon. In the meantime, I'll base Trefnydd's s3-s4 converter on the procedure in [1]

Best wishes

Ivan

[1] http://cmusphinx.sourceforge.net/sphinx4/doc/UsingSphinxTrainModels.html
[2] http://www.llaisdy.com/static/trefnydd/