Hi. I am making a program and I started at the first example for sphinx 4. I can't even run the program becouse I get an error:new ConfigurationManager(args [0]) so I can't even run the program. Please help. Here is my code: import java.net.URL; import com.sun.speech.freetts.Voice; import com.sun.speech.freetts.VoiceManager; import edu.cmu.sphinx.frontend.util.Microphone; import edu.cmu.sphinx.recognizer.Recognizer; import edu.cmu.sphinx.result.Result; import edu.cmu.sphinx.util.props.ConfigurationManager; public class HelloWorld { // Default voice is Kevin16 private static final String VOICENAME = "kevin16"; private static final String VOICENAME2 = "kevin"; static String resultText; public static String[] som; public static void main(String[] args) { ISpeak(); System.out.println("Working"); } public static void ISpeak(){ ConfigurationManager …

Member Avatar
Member Avatar
+0 forum 1

We store a list of keywords in the database as a comma-delimited string. I want to use Sphinx to query against the field, but I'm worried that the keywords would all be treated as a single word since there are no spaces. I went ahead and edited the MySQL query in the sphinx.conf file to `SELECT REPLACE(keywords, ',', ' ')` so that they would each be recognized as individual words, but is this necessary? How does Sphinx treat commas (and other punctuation, for that matter) and are they treated differently than spaces?

Member Avatar
Member Avatar
+0 forum 2

I'm attempting to use Sphinx for the first time in awhile. require('includes/lib/sphinxapi.php'); // Sphinx Search API $cl = new SphinxClient(); $cl->SetServer($config['SphinxServer']); $cl->SetSortMode(SPH_SORT_RELEVANCE); $cl->SetMatchMode(SPH_MATCH_ANY); $articles = $cl->Query('Foo', 'articles delta'); If I then do `var_dump($articles);` it just always returns `bool(false)`. What am I doing wrong? If, from the CLI on the web server, I do `mysql -h <server_name> -P 9306` then it successfully connects and returns queries against 'Foo'.

Member Avatar
Member Avatar
+0 forum 3

I am goign to do a project which needs voice input to be done. I looked through HTML 5 have tags for voice input. I like to use Sphinx 4 to do speech to text conversion? Where do i start? Any help please...

Member Avatar
+0 forum 0

Hey everyone, I'm trying work on a text based game and I'm a little stuck with navigating the rooms. So let's say I'm in a room with another room to the north, east, south, and west. I wanted to create a "navigation" function which takes four parameters, which are the rooms that north, east, south, and west respectively. So here's what I got so far: [CODE]# direction words bank direction_words = ["north", "n", "go north", "east", "e", "go east", "west", "w", "go west", "south", "s", "go south"] north_words = ["north", "n", "go north"] east_words = ["east", "e", "go east"] south_words …

Member Avatar
Member Avatar
+0 forum 1

I have a code for speech recognition but it not work good it has a problem in line 31 what is the solution ??? [code] import edu.cmu.sphinx.frontend.util.Microphone; import edu.cmu.sphinx.recognizer.Recognizer; import edu.cmu.sphinx.result.Result; import edu.cmu.sphinx.util.props.ConfigurationManager; import edu.cmu.sphinx.util.props.PropertyException; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.logging.Level; import java.util.logging.Logger; public class HelloWorld { public static void main(String[] args) throws MalformedURLException, IOException, PropertyException, InstantiationException { URL myURL = new URL("http://purple.com/"); try { // if (args.length > 0) // { // myURL = new File(args[0]).toURI().toURL(); // } //else { // myURL = new URL("http:\\www.google.com"); // } System.out.println("Loading..."); ConfigurationManager cm = new ConfigurationManager(new URL("http:\\www.google.com")); Recognizer …

Member Avatar
Member Avatar
+0 forum 18

I am making a voice recognizer for my media player so as to stop and play the song through my voice .I tried to run a demo program given in the sphinx src through command prompt .I have also used apache ant to build sphinx pgm .when irun the demo pgm through [B]ANT[/B] COMMAND it gives the following error Buildfile:Built.xml doesnot exist. can any one tell how to remove the error. Thanks in Advance.

Member Avatar
Member Avatar
+0 forum 5

please anyone help me i take example from sphinx4-1.0beta6 but when i run it in netbeans this error appear run: Exception in thread "main" Property exception component:'dictionary' property:'fillerPath' - Can't locate resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/fillerdict edu.cmu.sphinx.util.props.InternalConfigurationException: Can't locate resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/fillerdict at edu.cmu.sphinx.util.props.ConfigurationManagerUtils.getResource(ConfigurationManagerUtils.java:483) at edu.cmu.sphinx.linguist.dictionary.FastDictionary.newProperties(FastDictionary.java:149) at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505) at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287) at edu.cmu.sphinx.linguist.language.ngram.SimpleNGramModel.newProperties(SimpleNGramModel.java:97) at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505) at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287) at edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.newProperties(LexTreeLinguist.java:311) at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505) at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287) at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.newProperties(WordPruningBreadthFirstSearchManager.java:204) at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505) at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287) at edu.cmu.sphinx.decoder.AbstractDecoder.newProperties(AbstractDecoder.java:65) at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:37) at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505) at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287) at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:90) at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505) at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:161)

Member Avatar
+0 forum 0

Hi all, I am developing an application which needs to comapre voice and match them through java. I am using jsapi and CMU Sphinx engine.But i need to recognize hindi words from the user. Would anyone let me know how can i achieve this ? Thanks & Regards Sachin

Member Avatar
+0 forum 0

I currently use Sphinx search, and am attempting to sort my results in time segments mode, which means time segments in descending order and then relevance in descending order. Currently I use SPH_SORT_RELEVANCE, and it works fine. But every time I switch to time segments mode, it returns zero results. I am setting sql_date_column in my sphinx.conf file. What am I doing wrong? Am I missing something? Thanks!

Member Avatar
Member Avatar
+0 forum 1

hi, im doing my final year project. im using some api's. i was reasearching on speaker dependent systems. but i wanted to know about speaker independent AP's but after searching for several hours i realised there are some api's so that the user do not have to do those put the words to the application. so those are Sphinx . those its there i want to know if anyone have already used it or something. please help me. if anyone use it. tell me is it really working and is it really efficient. as a example if we say 'test' …

Member Avatar
Member Avatar
+0 forum 2

Hello! There is possible to download automatic speech recognition engine Sphinx4 in two versions, one is bin, the other is src. It is explained how to build Sphinx4 engine with Ant here: [url]http://cmusphinx.sourceforge.net/sphinx4/#how_build[/url] . However there are many applications which use this Sphinx4, e.g. HelloDigits. I'd like to create my own application. To do it, I enter home/mainaccount/tutorial/sphinx4-1.0beta3-src/sphinx4-1.0beta3/src/apps/edu/cmu/sphinx/demo/helloworld in Ubuntu 9.10 and see HelloWorld.java. To create my own application I can copy the whole directory with helloworld to .../demo/myapp, change all names from HelloWorld to myapp and then edit myapp.java file. OK, I've got code of my own application. But …

Member Avatar
Member Avatar
+0 forum 5

Hello :-)! [quote]SUMMARY: How to run pocketsphinx_continuous on mobile phone with Symbian, and how to do it with simulator of mobile phone with Symbian. PocketSphinx can be downloaded for free here, for both Linux and Windows: [url]http://cmusphinx.sourceforge.net/html/download.php[/url] .[/quote] ------------------------------------------------------------------------------------------------------------ SHORT EXPLANATION I'd like to create application for mobile phone and server such that: 1. User runs application on mobile phone with Symbian, this application uses PocketSphinx. It is Automatic Speech Recognition software for devices like mobile phones, written in C. Somebody told me that "Pocketsphinx is used successfully on Symbian with minimal effort". My knowledge about Symbian is limited but …

Member Avatar
+2 forum 0

Hello :-)! I'd like to create application for mobile phone (maximum price of phone would be about 220USD, it is for Central Europe; I will be testing the application on Sony Ericsson k750i and maybe on Motorola V500). The application must recognize speech and properly react for recognized numbers (calculate control sum and respond). I'd like to use CMU Sphinx, but I still need to decide whether it would be [1] or [2]. Solution [1] is as follows: speech recognition on mobile phone (PocketSpinx) and sending results to server (post, httpconnection; I also tried Wireless Messaging API but it didn't …

Member Avatar
Member Avatar
+0 forum 3

Hello :-)! There is a problem with building project in NetBeans. I've got two directories sphinx4-1.0beta3-src and sphinx4-1.0beta3-bin, which are part of speech recognition system CMU Sphinx, Sphinx4 is written in Java. In the directory S:\tutorial\sphinx4-1.0beta3-bin\bin I've got some .jar files, e.g. HelloDigits.jar. In S:\tutorial\sphinx4-1.0beta3-src there is no bin directory, however there are some directories here S:\tutorial\sphinx4-1.0beta3-src\src\apps\edu\cmu\sphinx\demo, e.g. S:\tutorial\sphinx4-1.0beta3-src\src\apps\edu\cmu\sphinx\demo\hellodigits contains five files: digits.gram, hellodigits.config.xml, HelloDigits.java, hellodigits.Manifest, README.html. The file readme is the same as here: [url]http://cmusphinx.sourceforge.net/sphinx4/src/apps/edu/cmu/sphinx/demo/helloworld/README.html[/url] . I'm sure I've got jsapi.jar. In other words in one directory (sphinx4-1.0beta3-bin) I have got executable .jar files (or rather not executable, but …

Member Avatar
+0 forum 0

Hello :-)! I installed Ubuntu in order to install CMU Sphinx ([url]http://www.speech.cs.cmu.edu/sphinx/tutorial.html[/url]). There is one problem with executing perl script and I think it is good place to ask for help. Script make_feats.pl is here [url]http://www.linuxforums.org/forum/attachments/debian-linux-help/2267d1256986736-kde-startx-debian-make_feats.pl.txt[/url] . When I run "perl scripts_pl/make_feats.pl -ctl etc/an4_train.fileids" I see "Configuration (e.g. etc/sphinx_train.cfg) not defined. Compilation failed in require at make_feats.pl line 43. BEGIN failed--compilation aborted at make_feats.pl line 43". I found sphinx_train.cfg in two directories: /home/mainacc/tutorial/SphinxTrain/etc and /home/mainacc/tutorial/an4/etc. It looks like I simply need to define directory where sphinx_train.cfg is stored in the perl script. However I have never created any perl script, …

Member Avatar
+0 forum 0

I thought i post here to see if anybody would like to test new front end for openwebspider the script is PHP and uses the sphinx full text search engine and the smarty template engine for ease of skining new themes. Searh results are returned back lighting fast under a second. I have demo running on linuxhostuk.co.uk/searchdemo thoughts and ideas would be good this would be free script. The demo is on single 64bit running centos 5 and using 2gb memory mysql database on another server serving within lan only thats running another 64bit 3000ghz cpu dual core but thats …

Member Avatar
+0 forum 0

The End.