Initial Proof of Concept code and build

19 views
Skip to first unread message

William Colen

unread,
May 9, 2010, 11:37:30 PM5/9/10
to SpeechOO
Just posted the initial code and a build for download (only for Linux
64!)

I created an OOo Writer Extension that monitors an native library
(that later should be Coruja) to get sentences and write it to the
current document. This can be enabled by a new button in the tool
bar.

I'm using Maven to build the code.

http://code.google.com/p/speechoo/source/browse/trunk/SpeechOO/CorujaJNI/java/src/main/java/org/speechoo/coruja/CorujaJNI.java
JNI wrapper to access the native code

http://code.google.com/p/speechoo/source/browse/trunk/SpeechOO/CorujaJNI/native/src/main/native/CorujaJNI.cpp
This native code will call Coruja API. Should be modified like
following:
* "recognized" method should be passed to Coruja
"setOnRecognizeAction";
* "Java_org_speechoo_coruja_CorujaJNI_enableDictation" should call
"startRecognition" and "stopRecognition" according to "enable" arg

http://code.google.com/p/speechoo/source/browse/trunk/SpeechOO/SpeechOO/src/org/speechoo/SpeechOO.java
The OOo extension main class

I'll do some code cleanup and code comments later.
Hope we can connect to Coruja soon!

Regards
William
Reply all
Reply to author
Forward
0 new messages