Hello I already ask this question, but unfortunately there was no answer who could help me. Im running Mac OS X, and making a research about the speech recognition for my thesis. I found Sphinx as the most appropriate Speech Engine, and now im trying to make the SE make something else than say what was what the user said. I want to make the Dialog Demo to work when I tell it to read a newspaper. i.e if I say newyorktimes, the demo doc says that actually it will attempt to go to that page, and there they say i should put put something in the command path, something like this:
!/bin/sh
export FF_HOME="/usr/share/firefox
url="$1"
if [ "x$url" = "x" ]; then
url="about:blank"
fi
if $FF_HOME/mozilla-xremote-client openURL("$url"); then
exit 0
fi
exec $FF_HOME/firefox "$url"
The problem is that Im a newbbie and I don't know where in my OS should I put those lines, can someone help me please, explaining me how and what are the steps to achieve it?
Thank you Very much guys
Gustavo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello I already ask this question, but unfortunately there was no answer who could help me. Im running Mac OS X, and making a research about the speech recognition for my thesis. I found Sphinx as the most appropriate Speech Engine, and now im trying to make the SE make something else than say what was what the user said. I want to make the Dialog Demo to work when I tell it to read a newspaper. i.e if I say newyorktimes, the demo doc says that actually it will attempt to go to that page, and there they say i should put put something in the command path, something like this:
!/bin/sh
export FF_HOME="/usr/share/firefox
url="$1"
if [ "x$url" = "x" ]; then
url="about:blank"
fi
if $FF_HOME/mozilla-xremote-client openURL("$url"); then
exit 0
fi
exec $FF_HOME/firefox "$url"
The problem is that Im a newbbie and I don't know where in my OS should I put those lines, can someone help me please, explaining me how and what are the steps to achieve it?
Thank you Very much guys
Gustavo