Home › Forums › OpenEars › Error loading Lookup Dictionary › Reply To: Error loading Lookup Dictionary
April 11, 2016 at 6:45 pm
#1030027
Powerkey
Participant
As I was copying the code I found the problem.
Apparently,
generateLanguageModelFromArray(words, withFilesNamed: name, forAcousticModelAtPath: "AcousticModelEnglish")
is not the same as
generateLanguageModelFromArray(words, withFilesNamed: name, forAcousticModelAtPath: OEAcousticModel.pathToModel("AcousticModelEnglish"))
(damn noobie)
Thanks for your help.