Speech recognition tools

by Luis Uebel » Fri, 05 Jun 2009 03:12:12 GMT


Sponsored Links
 Hi folks,

I would port Android speech recognizer in Brazilian Portuguese.
Are there any tools to build acoustic models?
And for language modeling?


Luis

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Random phone restarts, anyone else experience this?

Hi,

Not sure if anyone else is experiencing this. My G1 will randomly
restart itself up to two times a day. Found this in DDMS as the
possible cause. I'm wondering if my app has anything to do with it,
but I doubt it since my app is usually closed or will have been idle
for hours when this happens (and only uses at most 5mb of memory):


The tag for all these messages is "AndroidRuntime":

11-21 09:06:49.811: ERROR/LockPatternKeyguardView(3813): Failed to
bind to GLS while checking for account
11-21 09:06:49.831: ERROR/dalvikvm-heap(3813): 614400-byte external
allocation too large for this process.
11-21 09:06:49.831: ERROR/(3813): VM won't let us allocate 614400
bytes
11-21 09:06:49.881: WARN/dalvikvm(3813): threadid=37: thread exiting
with uncaught exception (group=0x4000fe70)
11-21 09:06:49.881: ERROR/AndroidRuntime(3813): Uncaught handler:
thread WindowManagerPolicy exiting due to uncaught exception
11-21 09:06:49.881: ERROR/AndroidRuntime(3813): *** EXCEPTION IN
SYSTEM PROCESS.  System will crash.
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):
java.lang.OutOfMemoryError: bitmap size exceeds VM budget
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:363)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:212)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
android.graphics.drawable.Drawable.createFromResourceStream
(Drawable.java:663)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
android.content.res.Resources.loadDrawable(Resources.java:1637)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
android.content.res.Resources.getDrawable(Resources.java:535)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
android.app.ApplicationContext.getWallpaper(ApplicationContext.java:
505)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
com.android.internal.policy.impl.LockPatternKeyguardView.<init>
(LockPatternKeyguardView.java:265)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
com.android.internal.policy.impl.LockPatternKeyguardViewProperties.createKeyguardView
(LockPatternKeyguardViewProperties.java:48)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
com.android.internal.policy.impl.KeyguardViewManager.show
(KeyguardViewManager.java:123)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
com.android.internal.policy.impl.KeyguardViewMediator.handleShow
(KeyguardViewMediator.java:860)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
com.android.internal.policy.impl.KeyguardViewMediator.access$500
(KeyguardViewMediator.java:85)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
com.android.internal.policy.impl.KeyguardViewMediator$2.handleMessage
(KeyguardViewMediator.java:770)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
android.os.Handler.dispatchMessage(Handler.java:99)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
android.os.Looper.loop(Looper.java:123)
11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
com.android.server.WindowManagerService$PolicyThread.run
(WindowManagerService.java:474)

-- 

2. Got exception when using MediaRecorder.AudioSource.VOICE_CALL

Hi All,

I am trying to write a recorder app (android 1.6).

I have used the following code:

 recorder.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
 recorder.setOutputFile("/sdcard/record.3gp");
                         try {
                                        recorder.prepare();


                                } catch (IllegalStateException e) {
                                        // TODO Auto-generated catch block
                                        e.printStackTrace();
                                } catch (IOException e) {
                                        // TODO Auto-generated catch block
                                        e.printStackTrace();
                                }
                         recorder.start();

I am getting the following exception.

Can any one please help to solve this?

E/AndroidRuntime( 1437): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime( 1437): java.lang.RuntimeException: start failed.
E/AndroidRuntime( 1437):     at android.media.MediaRecorder.start
(Native Method)
E/AndroidRuntime( 1437):     at
com.Recorder.MyRecorder.PrepareAudioRecorder(MyRecorder.java:241)
E/AndroidRuntime( 1437):     at com.Recorder.MyRecorder.HandleEvent
(MyRecorder.java:288)
E/AndroidRuntime( 1437):     at
com.Recorder.RecorderForMyApp.HandleAudioRecorderEvent
(RecorderForMyApp.java:327)
E/AndroidRuntime( 1437):     at com.Recorder.RecorderForMyApp.access$1
(RecorderForMyApp.java:322)
E/AndroidRuntime( 1437):     at com.Recorder.RecorderForMyApp$2.onClick
(RecorderForMyApp.java:170)
E/AndroidRuntime( 1437):     at android.view.View.performClick
(View.java:2344)
E/AndroidRuntime( 1437):     at android.view.View.onTouchEvent
(View.java:4133)
E/AndroidRuntime( 1437):     at android.widget.TextView.onTouchEvent
(TextView.java:6504)
E/AndroidRuntime( 1437):     at android.view.View.dispatchTouchEvent
(View.java:3672)
E/AndroidRuntime( 1437):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
E/AndroidRuntime( 1437):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
E/AndroidRuntime( 1437):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
E/AndroidRuntime( 1437):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
E/AndroidRuntime( 1437):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
E/AndroidRuntime( 1437):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
E/AndroidRuntime( 1437):     at
com.android.internal.policy.impl.PhoneWindow
$DecorView.superDispatchTouchEvent(PhoneWindow.java:1712)
E/AndroidRuntime( 1437):     at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent
(PhoneWindow.java:1202)
E/AndroidRuntime( 1437):     at android.app.Activity.dispatchTouchEvent
(Activity.java:1987)
E/AndroidRuntime( 1437):     at
com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchTouchEvent(PhoneWindow.java:1696)
E/AndroidRuntime( 1437):     at android.view.ViewRoot.handleMessage
(ViewRoot.java:1658)
E/AndroidRuntime( 1437):     at android.os.Handler.dispatchMessage
(Handler.java:99)
E/AndroidRuntime( 1437):     at android.os.Looper.loop(Looper.java:
123)
E/AndroidRuntime( 1437):     at android.app.ActivityThread.main
(ActivityThread.java:4203)
E/AndroidRuntime( 1437):     at java.lang.reflect.Method.invokeNative
(Native Method)
E/AndroidRuntime( 1437):     at java.lang.reflect.Method.invoke
(Method.java:521)
E/AndroidRuntime( 1437):     at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 1437):     at com.android.internal.os.ZygoteInit.main
(ZygoteInit.java:549)
E/AndroidRuntime( 1437):     at dalvik.system.NativeStart.main(Native
Method)

-- 

3. possible to remove a linearlayout ?

4. "On Android nobody is maki ng significant revenue.鈥???

5. methods not working (force closing), is there something wrong?

6. methods not working (force closing), is there something wrong?

7. Ported android patches to 2.6.31. Boots fine with non android FS. Panics with Android FS (images)