Use German dictionary and language model with Sphinx4

0__ picture 0__ · Feb 19, 2016 · Viewed 7.5k times · Source

I can use the en-us things that come with Sphinx4, no problem:

cfg.setAcousticModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us")
cfg.setDictionaryPath("resource:/edu/cmu/sphinx/models/en-us/cmudict-en-us.dict")
cfg.setLanguageModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us.lm.bin")

I can use this to transcribe an English sound file recording.

Now I want to use this with German recordings. On the website I find a link to Acoustic and Language Models. In it there is an archive 'German Voxforge'. It it I find the corresponding files for the acoustic model path. But it does not contain a dictionary or language model as far as I can see.

How do I get the dictionary and language model path for German in Sphinx4?

Answer

Nikolay Shmyrev picture Nikolay Shmyrev · Feb 19, 2016

You create them yourself. You can create language model from subtitles or wikipedia dumps. The documentation is here.

Latest German models are actually not on CMUSphinx page, they are at github/gooofy. In this gooofy project you can find dictionary documentation, models and related matherials.