Click here to register.

Edit Message

Visitor Name
Subject
Message

Re: Sphinx3 model to Sphinx4 model

> it is necessary to repack the acoustic model with a new directory layout

It isn't. You can just point to the model data in config file:

  <component name="model" type="edu.cmu.sphinx.linguist.acoustic.tiedstate.TiedStateAcousticModel">
    <property name="loader" value="sphinx3Loader"/>
    <property name="unitManager" value="unitManager"/>
  </component>

  <component name="sphinx3Loader"             type="edu.cmu.sphinx.linguist.acoustic.tiedstate.Sphinx3Loader">
        <property name="logMath" value="logMath"/>
        <property name="unitManager" value="unitManager"/>
        <property name="dataLocation" value="file:model"/>
        <property name="modelDefinition" value="file:model/mdef"/>
  </component>

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

Instead sphinx4 documentation should be updated