I’ve build a new LanguageModel with new AcousticModel for Arabic language
after that tested it with pocketsphinx using jsgf.
I’m trying to build an app that uses the jsgf file and my custom AcousticModel
to recognise some commands in arabic.
the error im getting in xcode is:
ERROR: "acmod.c", line 90: Folder 'AcousticModelArabic' does not contain acoustic model definition 'mdef'
2015-07-20 17:50:57.398 arv[17882:3048043] Error: it wasn't possible to initialize the pocketsphinx decoder.
pocketSphinxContinuousSetupDidFailWithReason: Error: it wasn't possible to initialize the pocketsphinx decoder. Please turn on OELogging in order to troubleshoot this. If you need support with this issue, please turn on both OELogging and verbosePocketsphinx in order to get assistance.
the mdef file is indeed inside the bundle
any suggestions ?
is it a problem with creating the bundle ?
or is it a wrong way of usage ?
I’ll attach a copy of my code as will
copy of swift code