The page I am working on has a javascript function executed to print parts of the page. For some reason, printing in Safari, causes the window to somehow update. I say somehow, because it does not really refresh as in reload the page, but rather it starts the "rendering" of the page from start, i.e. scroll to top, flash animations start from 0, and so forth. The effect is reproduced by this fiddle: http://jsfiddle.net/fYmnB/ Clicking the print button and finishing or cancelling a print in Safari causes the screen to "go white" for a sec, which in my real website manifests itself as something "like" a reload. While running print button with, let's say, Firefox, just opens and closes the print dialogue without affecting the fiddle page in any way. Is there something with my way of calling the browsers print method that causes this, or how can it be explained - and preferably, avoided? P.S.: On my real site the same occurs with Chrome. In the ex
Pocketsphinx can run on Android. See
ReplyDeletehttp://cmusphinx.sourceforge.net
See demo project
http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/PocketSphinxAndroidDemo/
As far as i know, speech recognition requires vast amounts of data for the analysis, and it is probably not suited for an offline application running on a phone.
ReplyDeleteIf the speech recognizer has limited vocabulary (as in a simple voice user interface) and is limited few samples - it maybe possible. Applications such as Transcription is not a likely task to be performed on Android (in offline mode). Also DSP is required for Voice Recognition ... A limited vocabulary and limited to very few samples might be your best bet.
ReplyDeleteIf you really want to invest time and manpower for your goal, look at the Java-Project Java Speech API 2.0 (JSR 113).
ReplyDeleteIt is used on "normal" mobile phones for voice commands and works offline.
Unfortunately, the project is discontinued.
Windows mobile has an offline voice command, I believe with the same initiative an android version can be invented/built.
ReplyDeleteI really hope this happens. My 4 year old HTC Diamond running Windows Mobile 6.0 has offline voice recognition. I may not be able to dictate to it like Froyo’s attempt (which is 50% accurate at the most in my experience) but it COULD call anyone in my contact list, tell me the time of my next appointment, callback, redial, etc – all without a single training session needed.
ReplyDeleteRecording, compressing, uploading, transcribing, downloading then interpreting just seems dam clumsy to me.
Additionally, the transcriber has no frame of reference as it doesn’t have access to my contact list so when I say “Roland McDaniels” and it hears “Ronald McDonald” it can’t check to see if I have a contact called that before settling on it.
Very disappointed as I really want to go Android!
You're not going to be happy with this workaround but here goes: Record the speech & store it for later. When an internet connection is available, connect to the internet, playback the recorded speech and convert it to text.
ReplyDeleteHey, it's the easiest way I can think of and might work for some applications, like dictation and memos.