I've created and tested the C hello world application for pocketSphinx and it works very well. I've then downloaded a french model language, and all was also great except that brands that are not French (as Spotify) where not recognized by the decoder.
It was normal, they where not in the french.dic
file, so I've added an entry in the french.dic
file:
spotify ss pp oo tt ii ff aa yy
But nothing changed, pocketSphinx don't recognize Spotify.
I've also created a little custom dictionary and a little grammar with only 3 words, but "Spotify" is never recognized contrary to the 2 others.
Do have I to do something else to make pocketSphinx recognize new words ?
EDIT:
The little grammar I made:
#JSGF V1.0;
/**
* JSGF test grammar
*/
grammar test;
<launch> = lance | ouvre;
<application> = spotify;
public <command> = <launch> <application>;
and the little dictionary:
lance ll aa nn ss ee
lance(2) ll aa nn ss ee
ouvre ou vv rr
ouvre(2) ou vv rr ee
spotify ss pp oo tt ii ff aa yy
Link to the voice recording: https://www.dropbox.com/sh/j3qj13vps5bw0ni/AAAR2ELJLDAadMptMPmLZ4jna?dl=0