iLanguage / Aublog

Automatically exported from code.google.com/p/aublog
1 stars 1 forks source link

Machine transcription for dicatation #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I want to get machine transcriptions for my dictations, and I want to decide if 
they get imported into my blog entry.

What version of the AuBlog are you using? On what Android version (2.2,
3.0), and which device (HTC Desire, Motorola Xoom)?
Aublog v1.0

Original issue reported on code.google.com by a...@ilanguage.ca on 10 Sep 2011 at 2:44

GoogleCodeExporter commented 9 years ago
Possible solutions:
*use pocketsphinx on the Android device (pocketsphinx demo is available 
https://github.com/iLanguage/AndroidPocketSphinx and working but requires an 
expert in pocketsphinx to dissect it into accepting file input rather than 
microphone input) (preferred solution)
*use sphinx running on an external server (adopted solution)

This feature was implemented in three sections 
Contact Transcription Server's API  (services and broadcast receivers)
Query transcription API for current status (javascript UI)
Import transcription logic (EditBlogEntry activity)

Implementation:
*Transcription server API  https://github.com/cesine/nodejs-pocketsphinx
*NotifyingTranscriptionIntentService to contact external transcription server's 
API via Post to 
** send audio
** send and receive transcription results/updates
*using javascript to query the Transcription Server API switching over the four 
transcription states to trigger  the EditBlogEntry activity to coordinate the 
transcription process with the NotifyingTranscriptionIntentService via 
broadcasts and broadcast receivers

Original comment by gina.c.c...@gmail.com on 10 Sep 2011 at 4:27

GoogleCodeExporter commented 9 years ago

Original comment by gina.c.c...@gmail.com on 10 Sep 2011 at 4:28