I'm new to sphinx world. I want to create a transcriber for Italian language.
Before approaching the problem of Italian I'm trying to create an English transcriber in order to understand all necessary concepts.
Starting from the transcriber demo provided with sphinx-4 I was trying to use the HUB4 acoustic and language model.
I've configured config file but when I start the program I receive these messages:
12:01.204 INFO logMath Log base is 1.0001
12:01.207 INFO logMath Using AddTable when adding logs
12:01.207 INFO logMath LogAdd table has 99022 entries.
Exception in thread "main" java.lang.IncompatibleClassChangeError: Found class edu.cmu.sphinx.util.props.PropertySheet, but interface was expected
at edu.cmu.sphinx.model.acoustic.HUB4_8gau_13dCep_16k_40mel_133Hz_6855Hz.Model.newProperties(Model.java:158)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:420)
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:270)
at edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.newProperties(LexTreeLinguist.java:241)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:420)
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:270)
at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.newProperties(WordPruningBreadthFirstSearchManager.java:173)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:420)
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:270)
at edu.cmu.sphinx.decoder.AbstractDecoder.newProperties(AbstractDecoder.java:42)
at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:31)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:420)
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:270)
at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:79)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:420)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:144)
at demo.sphinx.trascrittore.Transcriber.main(Transcriber.java:46)
Hi,
I'm new to sphinx world. I want to create a transcriber for Italian language.
Before approaching the problem of Italian I'm trying to create an English transcriber in order to understand all necessary concepts.
Starting from the transcriber demo provided with sphinx-4 I was trying to use the HUB4 acoustic and language model.
I've configured config file but when I start the program I receive these messages:
12:01.204 INFO logMath Log base is 1.0001
12:01.207 INFO logMath Using AddTable when adding logs
12:01.207 INFO logMath LogAdd table has 99022 entries.
Exception in thread "main" java.lang.IncompatibleClassChangeError: Found class edu.cmu.sphinx.util.props.PropertySheet, but interface was expected
at edu.cmu.sphinx.model.acoustic.HUB4_8gau_13dCep_16k_40mel_133Hz_6855Hz.Model.newProperties(Model.java:158)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:420)
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:270)
at edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.newProperties(LexTreeLinguist.java:241)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:420)
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:270)
at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.newProperties(WordPruningBreadthFirstSearchManager.java:173)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:420)
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:270)
at edu.cmu.sphinx.decoder.AbstractDecoder.newProperties(AbstractDecoder.java:42)
at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:31)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:420)
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:270)
at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:79)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:420)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:144)
at demo.sphinx.trascrittore.Transcriber.main(Transcriber.java:46)
This is the configuration file:
Thanks for your help.
Mic
<?xml version="1.0" encoding="UTF-8"?>
<config>
<property name="relativeBeamWidth" value="1E-60"/>
<property name="absoluteWordBeamWidth" value="22"/>
<property name="relativeWordBeamWidth" value="1E-30"/>
<property name="wordInsertionProbability" value=".2"/>
<property name="languageWeight" value="10.5"/>
<property name="silenceInsertionProbability" value=".1"/>
<property name="acousticLookahead" value="1.7"/>
<property name="frontend" value="mfcFrontEnd"/>
<property name="recognizer" value="recognizer"/>
<property name="showCreations" value="false"/>
</config>
Thanks for your fast reply
You should rebuild the model. Search forum, this topic was discussed already. About Italian, join Voxforge, we already started model there.