0

I am trying to follow the Sphinx-4 tutorial at:

http://cmusphinx.sourceforge.net/wiki/tutorialsphinx4

Doing precisely what it says, I get the following exception:

Exception in thread "main" Property exception component:'acousticModelLoader' property:'location' - Can't locate resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz

I assumed the sphinx4-data dependency would provide the necessary models, but either the tutorial is incorrect or this is not the case. What should I do?

telmomenezes
  • 162
  • 2
  • 8

1 Answers1

3

If you used maven to retrieve sphinx4-data or if you checked out code from trunk, the resource path for the acoustic model must be resource:/edu/cmu/sphinx/models/acoustic/wsj

You can look on sphinx4 demos for details

Nikolay Shmyrev
  • 24,897
  • 5
  • 43
  • 87