Click here to register.

Edit Message

Visitor Name
Subject
Message

Re: Sphinx3 model to Sphinx4 model

Sphinx4 can use a sphinx3 acoustic model. I order to use one, as far as I understand, it is necessary to repack the acoustic model with a new directory layout. So build.xml does this function - moves files to their new places, compiles necessary accessor classes and creates a jar file with the stuff.

If someone wants to use sphinx4 as an ASR engine, then they will have to somehow convert AcousticModels.tgz to jar format of sphinx4.

I've got both - an ant script build.xml and the result of the transformation -  msu_ru_nsh_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar.

I think these can be placed in one of the following ways:

  1. build.xml - goes to trunk/scripts in dev.
  2. ...jar goes to the same folder as AcousticModels.tgz (downloads/russian...)
  3. build.xml along with ..jar goes to downloads/Russian/Trunk/AcousticModels/sphinx4.
  4. other ways.