jasper-dev: sphinx-stt: added support for phonetisaurus version 1.0#509
jasper-dev: sphinx-stt: added support for phonetisaurus version 1.0#509andweber wants to merge 3 commits intojasperproject:jasper-devfrom
Conversation
…rsion can be set in profile.yml. Standardversion is 1.0.
|
Where did you get Phonetisaurus 1.0? |
|
sorry 1.0 might not be correct, I mean the github master branch version: |
|
This should be implemented. On arch, phonetisaurus is already at the new git version. Hence, the approach as indicated on the website / installation documentation does not work anymore under arch! For example, even the command phonetisaurus-g2p is not present anymore. There are either phonetisaurus-g2pfst or phonetisaurus-g2prnn. symlinking phonetisaurus-g2p to phonetisaurus-g2pfst does not work, as jasper spits out the line: ERROR:client.g2p:Command 'phonetisaurus-g2p --model=/xxxx/g014b2b/g014b2b.fst --input=/tmp/tmpAv6vIx.g2p --words --isfile' return with exit status 1 phonetisaurus-g2p --model=/xxxx/g014b2b/g014b2b.fst --input=/tmp/tmpAv6vIx.g2p --words --isfile |
|
Phonetisaurus github version is not compatible with Jasper. |
The sphinx-stt uses phonetisaurus. It seems that Phonetisaurus changed its api (option names) from version 0.7.8 to 1.0.
added an option:
phonetisaurus_versionfor pocketsphinx which determines the correct option names when calling phonetisaurus.
If nothing is given, Phoentisaurus Version is 1.0 assumed. (which changes the current behaviour)