German speech model ‘dedq’

This article shows (A.) how I create the German speech model ‘dedq’, and (B.) how I dictate using this speech model.

A. Creation of the German speech model ‘dedq’

1. Delete file:///home/ubuntu/.kde/share/apps/simon and file:///home/ubuntu/.kde/share/apps/simond

2. Start simon.

3. Click the Vocabulary button. Press the Import Dictionary button. Select Target: Active Dictionary. Type of dictionary: PLS dictionary. The location of the PLS dictionary on my computer is as follows: /media/104d991d-2062-40d7-89f6-ddde3cb5b781/home/ubuntu/Documents/2011-i/german-0.2.5/object/split/dedq/german-ipa-flac-files-dedq-20110726/lexicon-dedq.xml You can find this dictionary file at Voxforge (37 MB; you can extract the dictionary file). Or here is an easier way: you can download the file dedq.xml (right click; Save Link as). The file dedq.xml is a valid PLS dictionary that you can import into simon.

4. Press the Grammar button. Add sentence: Adjektiv. Add sentence: Substantiv. Add sentence: Zahlwort

5. Click the Training button. Import trainingsdata.
Import prompts:
- Prompts: /media/104d991d-2062-40d7-89f6-ddde3cb5b781/home/ubuntu/Documents/2011-i/german-0.2.5/object/split/dedq/german-ipa-flac-files-dedq-20110726/prompts-dedq
- Base directory: /media/104d991d-2062-40d7-89f6-ddde3cb5b781/home/ubuntu/Documents/2011-i/german-0.2.5/object/split/dedq/german-ipa-flac-files-dedq-20110726/flac-dedq

You can get both files from Voxforge (see link above). Please keep in mind that some post-processing has to be enabled.

Go to Settings > Configure simon… > Recordings > Post Processing You can see the post processing command that causes sox to convert the FLAC files to WAV format.

6. Press the Commands button. Manage Plug-ins > Add > Dictation > Dictation > Append text after result: ” ” (enter just a space bar, then press the OK button).

7. Start ksimond. simon > Connect button. simon now starts with the compilation of the speech model. Let’s dictate a few words: “M;nchsfisch Mnchskopf Mhe Mllerin Mllerthal Mllschlucker” The German ö and ü aren’t displayed. Press the Activated button to stop the recognition.

8. Now let’s copy the files of the base model:

a. Copy hmmdefs:

cp /tmp/kde-ubuntu/simond/default/compile/hmm24/hmmdefs /media/104d991d-2062-40d7-89f6-ddde3cb5b781/home/ubuntu/Documents/2011-i/german-0.2.5/object/split/dedq/german-speech-model-dedq/hmmdefs-dedq

b. Copy macros:

cp /tmp/kde-ubuntu/simond/default/compile/hmm24/macros /media/104d991d-2062-40d7-89f6-ddde3cb5b781/home/ubuntu/Documents/2011-i/german-0.2.5/object/split/dedq/german-speech-model-dedq/macros-dedq

c. Copy stats:

cp /tmp/kde-ubuntu/simond/default/compile/stats /media/104d991d-2062-40d7-89f6-ddde3cb5b781/home/ubuntu/Documents/2011-i/german-0.2.5/object/split/dedq/german-speech-model-dedq/stats-dedq

d. Copy tiedlist:

cp /tmp/kde-ubuntu/simond/default/compile/tiedlist /media/104d991d-2062-40d7-89f6-ddde3cb5b781/home/ubuntu/Documents/2011-i/german-0.2.5/object/split/dedq/german-speech-model-dedq/tiedlist-dedq

9. It is now time to export the scenario file. Select the option Export to file.

10. You can download the German speech model ‘dedq’.

You now know how I created the German speech model ‘dedq’.

B. The following video demonstrates the dictation / recognition process. Unfortunately, Youtube limits the length to 15 minutes. Take a look at the German speech model ‘dedq’ in action:

These are the words that were recognized in the video:

M;nchengladbach Mnchkloster Mnchsfisch Mnchskopf Mnchskutte Mnchstum Mnsheim Mrderbande Mrtel Mrtelbrett Mrtelgeruch Mckenlarven Mckenschutz Mckenschwarm Mckenspray Mckenstich Mdigkeit Mgeln Mggelturm Mhelosigkeit Mhen Mhle Mhlen Mhlenanordnung Mhlenbedampfung Mhlenbetrieb Mhlendrehvorrichtung Mhleneinsatzdiagramm Mhlenausfallgut Mhlheim Mhlhausen Mhlingen Mhlrad Mhlteich Mlleimer Mllerin Mllers Mllerstrae Mllhaufen Mllpresse Mllhalde Mllhalden Mllhaufen Mllkasten Mllkippe Mllverbrennung Mllverbrennungsanlage Mllzerkleinerer Mnder Mndigkeit Mndungsbremse Mndungsdelta Mndungsdeltas Mndungsfeuer Mndungsfeuerdmpfer Mnsterbau Mnsterbaus Mnsterbauverein Mnsterbauvereins Mnstereifel Mnzer Mnze Mnzenberg Mnzwert Mrrhe Mtze Mtzen Mtzenich Mtzenmacher Mtzenschirm NEUNZEHNHUNDERT Mhlendrehvorrichtung NEUNZEHNHUNDERTACHTZIG Nabelbinde Nabelbruch Nabeln Nabenabdeckung Nabenabstand Nabenbremse Nabendynamo Nachbarplaneten Nachbarstdte Nachbehandelns Nachfolgekandidaten Nachfolgemodelle Nachfolgewert Nachforderungsmanagement Nachforschens Nachfrageinflation Nachfrageintensitt Nachfragelcke Nachfragestruktur Nachhilfekurse Nachhilfekursen Nachladung Nachladungen Nachmittagsschicht Nachrichtensendung Nachrcker Nachrstens Nachschlagebuch Nachschlagewerk Nachschlagewerke Nachschlagewerken Nachschlagewerks Nachschlssel Nachsetzen Nachspeise Nachspeisung Nachspur Nachwuchsausbildung Nachwuchsarbeit Nachwuchsbereich Nachwuchself Nachwuchsfrage Nachwuchskraft Nachwuchsfrderung Nachwuchskrften Nachwuchslufer Nachwuchsmannschaft Nachwuchsschwimmers Nachwuchsspieler Nachwuchsspieler Nachwuchstalent Nachwuchsteam Nachzgler Nachzglers Nachzndung Nadelhlse Nahhandel Nahhandels Nahrungsbestandteil Nahrungsmittelknappheit Nahrungsmittelkonserve Nahrungsmittelvergiftung Nahrungsreserven Nahrungsvorrte Naivitt Naivling Naivlinge Naivlingen Naivlings Namensaktien Namensaufruf Namensobligation Narkoseschwester Namensnderung Nastassia Natalia Natalie Natangen Natascha Nathan Nation Nationalarmee Nationalbank Nationalcharakter Nationalchina Nationaldemokratische Nationaleinkommen Nationalelf Nationalfarben Nationalfeiertag Nationalfeind Nationalflagge Nationalfriedhof Nationalgalerie Nationalgetrnk Nationalheld Nationalhelden Nationalheldin Nationalhymne Nationalinstitut Nationalismus Nationalisten Nationalitt Nationalitten Nationalittenkampf Nationalkongress Nationalkommunist Nationalkasse Nationalkonvent Nationalmannschaft Nationalmannschaften Nationalmuseum Nationalpartei Nationaltracht Nationalspiel Nationalspielerin Nationalspielerinnen Nationalspielers Nationalsport Nationalsprache Nationalsynode Nationalteam Nationaltheater Nationaltracht Nationaltruppen Nationalverband Nationalversammlung Nationalversammlungen Nationalwerksttten Natomitglieder Natrium Natriumbikarbonat Natriumnitrit Natriumnitrat Natriumkarbonat Natriumhydroxid Natriumphosphat Natriums Natriumsilikat Natriumstearat Natriumsulfat Naturalabgabe Naturalabgaben Naturaleinkommen Naturaleinkommens Naturalersatz Naturalpacht Naturalwirtschaft Naturanlagen Naturbedingung Naturereignis Naturerlebnis Naturfreund Naturgeschmack Naturgesetz Naturgesetze Naturgesetzen Naturgesetzes Naturgewalt Naturgre Naturgren Naturheilkunde Naturheilkundige Naturkosmetik Naturkautschuk Naturkunde Naturlehrpfad Naturmenschen Naturphilosophie Naturprodukt Naturprozess Naturprozesse Naturprozessen Naturprozesses Naturraum Naturrecht Naturreich Naturschauspiel Naturschilderung Naturschilderungen Naturschutz Naturschutzbund Naturschutzes Naturschutzexperte Naturschutzgebiet Naturschutzgebiete Naturschutzgesetz Naturschutzpark Naturschutzparks Naturschutzstelle Naturschutzbund Naturschden Naturschtze Naturschnheit Naturschtzer Naturschtzern Naturseide Naturstein Natursteinpflasterbelag Natursteinpflasterbelags Natursteinpflasterbelge Natursteinpflasterbelgen Natursteinverkleidung Naturstrand Naturzement Nauheim Nauheims Naumburg Naumburgs naturwissenschaftliche

Comments are closed.