Why does the Julius speech recognition engine return a segmentation fault when passing a WAV file?
I installed the julius
and julius-voxforge
packages on Ubuntu 12.04 LTS, and now I'm trying to run the julius
command on a WAV file called test.wav. I ran this command:
julius -input raw test.wav
but it simply says "Segmentation fault" without any further information. I've been searching the documentation for a few hours now, and I can't find any relevant information.
segmentation-fault speech-recognition
|
show 1 more comment
I installed the julius
and julius-voxforge
packages on Ubuntu 12.04 LTS, and now I'm trying to run the julius
command on a WAV file called test.wav. I ran this command:
julius -input raw test.wav
but it simply says "Segmentation fault" without any further information. I've been searching the documentation for a few hours now, and I can't find any relevant information.
segmentation-fault speech-recognition
1
Not of much help I'm afraid but I Googledjulius segmentation fault
and found Voice Recognition in Ubuntu which mentions encountering a segmentation fault way down the page in the section titled "Running on YouTube Videos". Maybe you could contact the blogger?
– user25656
Dec 13 '12 at 6:32
1
Just try pocketsphinx, it works without a problem for me. Voxforge models for pocketsphinx are even more accurate. See for details cmusphinx.sourceforge.net
– Nikolay Shmyrev
Dec 14 '12 at 9:04
@NikolayShmyrev Any more information? All I see in the repositories are libraries, e.g. for Python. Is there a terminal application built around this that I'm missing?
– Ricardo Altamirano
Dec 18 '12 at 22:52
1
Yes, there is pocketsphinx_continuous binary. To decode 16khz 16bit mono wav file use pocketsphinx_continuous -infile file.wav
– Nikolay Shmyrev
Dec 19 '12 at 6:54
@NikolayShmyrev The command you suggest returns an error ofUnknown argument name '-infile'
, and according to its man page, no such argument exists for thepocketsphinx_continuous
binary, which is installed as part of thepocketsphinx_utils
package. Any other ideas?
– Ricardo Altamirano
Jan 20 '13 at 18:37
|
show 1 more comment
I installed the julius
and julius-voxforge
packages on Ubuntu 12.04 LTS, and now I'm trying to run the julius
command on a WAV file called test.wav. I ran this command:
julius -input raw test.wav
but it simply says "Segmentation fault" without any further information. I've been searching the documentation for a few hours now, and I can't find any relevant information.
segmentation-fault speech-recognition
I installed the julius
and julius-voxforge
packages on Ubuntu 12.04 LTS, and now I'm trying to run the julius
command on a WAV file called test.wav. I ran this command:
julius -input raw test.wav
but it simply says "Segmentation fault" without any further information. I've been searching the documentation for a few hours now, and I can't find any relevant information.
segmentation-fault speech-recognition
segmentation-fault speech-recognition
asked Dec 13 '12 at 5:06
Ricardo AltamiranoRicardo Altamirano
8842816
8842816
1
Not of much help I'm afraid but I Googledjulius segmentation fault
and found Voice Recognition in Ubuntu which mentions encountering a segmentation fault way down the page in the section titled "Running on YouTube Videos". Maybe you could contact the blogger?
– user25656
Dec 13 '12 at 6:32
1
Just try pocketsphinx, it works without a problem for me. Voxforge models for pocketsphinx are even more accurate. See for details cmusphinx.sourceforge.net
– Nikolay Shmyrev
Dec 14 '12 at 9:04
@NikolayShmyrev Any more information? All I see in the repositories are libraries, e.g. for Python. Is there a terminal application built around this that I'm missing?
– Ricardo Altamirano
Dec 18 '12 at 22:52
1
Yes, there is pocketsphinx_continuous binary. To decode 16khz 16bit mono wav file use pocketsphinx_continuous -infile file.wav
– Nikolay Shmyrev
Dec 19 '12 at 6:54
@NikolayShmyrev The command you suggest returns an error ofUnknown argument name '-infile'
, and according to its man page, no such argument exists for thepocketsphinx_continuous
binary, which is installed as part of thepocketsphinx_utils
package. Any other ideas?
– Ricardo Altamirano
Jan 20 '13 at 18:37
|
show 1 more comment
1
Not of much help I'm afraid but I Googledjulius segmentation fault
and found Voice Recognition in Ubuntu which mentions encountering a segmentation fault way down the page in the section titled "Running on YouTube Videos". Maybe you could contact the blogger?
– user25656
Dec 13 '12 at 6:32
1
Just try pocketsphinx, it works without a problem for me. Voxforge models for pocketsphinx are even more accurate. See for details cmusphinx.sourceforge.net
– Nikolay Shmyrev
Dec 14 '12 at 9:04
@NikolayShmyrev Any more information? All I see in the repositories are libraries, e.g. for Python. Is there a terminal application built around this that I'm missing?
– Ricardo Altamirano
Dec 18 '12 at 22:52
1
Yes, there is pocketsphinx_continuous binary. To decode 16khz 16bit mono wav file use pocketsphinx_continuous -infile file.wav
– Nikolay Shmyrev
Dec 19 '12 at 6:54
@NikolayShmyrev The command you suggest returns an error ofUnknown argument name '-infile'
, and according to its man page, no such argument exists for thepocketsphinx_continuous
binary, which is installed as part of thepocketsphinx_utils
package. Any other ideas?
– Ricardo Altamirano
Jan 20 '13 at 18:37
1
1
Not of much help I'm afraid but I Googled
julius segmentation fault
and found Voice Recognition in Ubuntu which mentions encountering a segmentation fault way down the page in the section titled "Running on YouTube Videos". Maybe you could contact the blogger?– user25656
Dec 13 '12 at 6:32
Not of much help I'm afraid but I Googled
julius segmentation fault
and found Voice Recognition in Ubuntu which mentions encountering a segmentation fault way down the page in the section titled "Running on YouTube Videos". Maybe you could contact the blogger?– user25656
Dec 13 '12 at 6:32
1
1
Just try pocketsphinx, it works without a problem for me. Voxforge models for pocketsphinx are even more accurate. See for details cmusphinx.sourceforge.net
– Nikolay Shmyrev
Dec 14 '12 at 9:04
Just try pocketsphinx, it works without a problem for me. Voxforge models for pocketsphinx are even more accurate. See for details cmusphinx.sourceforge.net
– Nikolay Shmyrev
Dec 14 '12 at 9:04
@NikolayShmyrev Any more information? All I see in the repositories are libraries, e.g. for Python. Is there a terminal application built around this that I'm missing?
– Ricardo Altamirano
Dec 18 '12 at 22:52
@NikolayShmyrev Any more information? All I see in the repositories are libraries, e.g. for Python. Is there a terminal application built around this that I'm missing?
– Ricardo Altamirano
Dec 18 '12 at 22:52
1
1
Yes, there is pocketsphinx_continuous binary. To decode 16khz 16bit mono wav file use pocketsphinx_continuous -infile file.wav
– Nikolay Shmyrev
Dec 19 '12 at 6:54
Yes, there is pocketsphinx_continuous binary. To decode 16khz 16bit mono wav file use pocketsphinx_continuous -infile file.wav
– Nikolay Shmyrev
Dec 19 '12 at 6:54
@NikolayShmyrev The command you suggest returns an error of
Unknown argument name '-infile'
, and according to its man page, no such argument exists for the pocketsphinx_continuous
binary, which is installed as part of the pocketsphinx_utils
package. Any other ideas?– Ricardo Altamirano
Jan 20 '13 at 18:37
@NikolayShmyrev The command you suggest returns an error of
Unknown argument name '-infile'
, and according to its man page, no such argument exists for the pocketsphinx_continuous
binary, which is installed as part of the pocketsphinx_utils
package. Any other ideas?– Ricardo Altamirano
Jan 20 '13 at 18:37
|
show 1 more comment
3 Answers
3
active
oldest
votes
I was also able to confirm this behaviour in Ubuntu 12.04
Your best course of action would be to file a bug, so that you can get proper support from the developers.
add a comment |
U cant give input directly on your CLI like this
Open terminal on the location where your Sample.jconf is present(Where your Acoustic Model and Grammer is present)
Then use this command
julius -input rawfile -C Sample.jconf
After that input your wav file with its location
Remember the input file should be in-
1) .wav format
2) bit resolution - 16 bit
3) sampling rate - 16000 hz
4) audio channel - mono
New contributor
add a comment |
I think that you forgot to call configuration file.
Like: -C config
Like this, for example?julius -input raw test.wav -C julius.jconf
– Ricardo Altamirano
Dec 15 '12 at 21:33
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f228511%2fwhy-does-the-julius-speech-recognition-engine-return-a-segmentation-fault-when-p%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I was also able to confirm this behaviour in Ubuntu 12.04
Your best course of action would be to file a bug, so that you can get proper support from the developers.
add a comment |
I was also able to confirm this behaviour in Ubuntu 12.04
Your best course of action would be to file a bug, so that you can get proper support from the developers.
add a comment |
I was also able to confirm this behaviour in Ubuntu 12.04
Your best course of action would be to file a bug, so that you can get proper support from the developers.
I was also able to confirm this behaviour in Ubuntu 12.04
Your best course of action would be to file a bug, so that you can get proper support from the developers.
answered Dec 13 '12 at 7:47
HashkenHashken
4,45852546
4,45852546
add a comment |
add a comment |
U cant give input directly on your CLI like this
Open terminal on the location where your Sample.jconf is present(Where your Acoustic Model and Grammer is present)
Then use this command
julius -input rawfile -C Sample.jconf
After that input your wav file with its location
Remember the input file should be in-
1) .wav format
2) bit resolution - 16 bit
3) sampling rate - 16000 hz
4) audio channel - mono
New contributor
add a comment |
U cant give input directly on your CLI like this
Open terminal on the location where your Sample.jconf is present(Where your Acoustic Model and Grammer is present)
Then use this command
julius -input rawfile -C Sample.jconf
After that input your wav file with its location
Remember the input file should be in-
1) .wav format
2) bit resolution - 16 bit
3) sampling rate - 16000 hz
4) audio channel - mono
New contributor
add a comment |
U cant give input directly on your CLI like this
Open terminal on the location where your Sample.jconf is present(Where your Acoustic Model and Grammer is present)
Then use this command
julius -input rawfile -C Sample.jconf
After that input your wav file with its location
Remember the input file should be in-
1) .wav format
2) bit resolution - 16 bit
3) sampling rate - 16000 hz
4) audio channel - mono
New contributor
U cant give input directly on your CLI like this
Open terminal on the location where your Sample.jconf is present(Where your Acoustic Model and Grammer is present)
Then use this command
julius -input rawfile -C Sample.jconf
After that input your wav file with its location
Remember the input file should be in-
1) .wav format
2) bit resolution - 16 bit
3) sampling rate - 16000 hz
4) audio channel - mono
New contributor
New contributor
answered 7 mins ago
kanishkkanishk
1
1
New contributor
New contributor
add a comment |
add a comment |
I think that you forgot to call configuration file.
Like: -C config
Like this, for example?julius -input raw test.wav -C julius.jconf
– Ricardo Altamirano
Dec 15 '12 at 21:33
add a comment |
I think that you forgot to call configuration file.
Like: -C config
Like this, for example?julius -input raw test.wav -C julius.jconf
– Ricardo Altamirano
Dec 15 '12 at 21:33
add a comment |
I think that you forgot to call configuration file.
Like: -C config
I think that you forgot to call configuration file.
Like: -C config
edited Dec 15 '12 at 21:29
Ricardo Altamirano
8842816
8842816
answered Dec 15 '12 at 19:40
Luis UebelLuis Uebel
1
1
Like this, for example?julius -input raw test.wav -C julius.jconf
– Ricardo Altamirano
Dec 15 '12 at 21:33
add a comment |
Like this, for example?julius -input raw test.wav -C julius.jconf
– Ricardo Altamirano
Dec 15 '12 at 21:33
Like this, for example?
julius -input raw test.wav -C julius.jconf
– Ricardo Altamirano
Dec 15 '12 at 21:33
Like this, for example?
julius -input raw test.wav -C julius.jconf
– Ricardo Altamirano
Dec 15 '12 at 21:33
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f228511%2fwhy-does-the-julius-speech-recognition-engine-return-a-segmentation-fault-when-p%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Not of much help I'm afraid but I Googled
julius segmentation fault
and found Voice Recognition in Ubuntu which mentions encountering a segmentation fault way down the page in the section titled "Running on YouTube Videos". Maybe you could contact the blogger?– user25656
Dec 13 '12 at 6:32
1
Just try pocketsphinx, it works without a problem for me. Voxforge models for pocketsphinx are even more accurate. See for details cmusphinx.sourceforge.net
– Nikolay Shmyrev
Dec 14 '12 at 9:04
@NikolayShmyrev Any more information? All I see in the repositories are libraries, e.g. for Python. Is there a terminal application built around this that I'm missing?
– Ricardo Altamirano
Dec 18 '12 at 22:52
1
Yes, there is pocketsphinx_continuous binary. To decode 16khz 16bit mono wav file use pocketsphinx_continuous -infile file.wav
– Nikolay Shmyrev
Dec 19 '12 at 6:54
@NikolayShmyrev The command you suggest returns an error of
Unknown argument name '-infile'
, and according to its man page, no such argument exists for thepocketsphinx_continuous
binary, which is installed as part of thepocketsphinx_utils
package. Any other ideas?– Ricardo Altamirano
Jan 20 '13 at 18:37