1 | lib 1004789 // sphinx core |
2 | lib 1004793 // sphinx data |
3 | |
4 | import edu.cmu.sphinx.api.Configuration; |
5 | |
6 | static Configuration makeSphinxConfig() ctex {
|
7 | new Configuration configuration; |
8 | configuration.setAcousticModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us");
|
9 | configuration.setDictionaryPath("resource:/edu/cmu/sphinx/models/en-us/cmudict-en-us.dict");
|
10 | configuration.setLanguageModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us.lm.bin");
|
11 | ret configuration; |
12 | } |
Began life as a copy of #1004800
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1006993 |
| Snippet name: | makeSphinxConfig |
| Eternal ID of this version: | #1006993/1 |
| Text MD5: | 7219e074f06dbde10257349e3db58437 |
| Author: | stefan |
| Category: | javax / speech |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-02-24 14:42:11 |
| Source code size: | 486 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 646 / 732 |
| Referenced in: | [show references] |