![]() |
Re: [DEVEL] Saera: Siri clone for Maemo 5
Quote:
Code:
root |
Re: [DEVEL] Saera: Siri clone for Maemo 5
Quote:
BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ root BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash) Enter 'help' for a list of built-in commands. Nokia-N900:~# root root is not in the sudoers file. This incident will be reported. Nokia-N900:~# cd /home/user/MyDocs Nokia-N900:/home/user/MyDocs# dpkg -i saera_0.1-0_all.debBusyBox v1.20.1 (Debian 1.20.1power1) multi-call binary. Usage: sendmail [OPTIONS] [RECIPIENT_EMAIL]... Read email from stdin and send it Standard options: -t Read additional recipients from message body -f SENDER Sender (required) -o OPTIONS Various options. -oi implied, others are ignored -i -oi synonym. implied and ignored Busybox specific options: -v Verbose -w SECS Network timeout -H 'PROG ARGS' Run connection helper Examples: -H 'exec openssl s_client -quiet -tls1 -starttls smtp -connect smtp.gmail.com:25' <email.txt [4<username_and_passwd.txt | -auUSER -apPASS] -H 'exec openssl s_client -quiet -tls1 -connect smtp.gmail.com:465' <email.txt [4<username_and_passwd.txt | -auUSER -apPASS] -S HOST[:PORT] Server -auUSER Username for AUTH LOGIN -apPASS Password for AUTH LOGIN Other options are silently ignored; -oi -t is implied Use makemime to create emails with attachments |
Re: [DEVEL] Saera: Siri clone for Maemo 5
Quote:
http://talk.maemo.org/showpost.php?p...&postcount=120 Quote:
|
Re: [DEVEL] Saera: Siri clone for Maemo 5
Quote:
BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ root BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash) Enter 'help' for a list of built-in commands. Nokia-N900:~# cd /home/user/MyDocs Nokia-N900:/home/user/MyDocs# dpkg -i saera_0.1-0_all.deb Selecting previously deselected package saera. (Reading database ... 28326 files and directories currently installed.) Unpacking saera (from saera_0.1-0_all.deb) ... Setting up saera (0.1-0) ... generating *.pyc files Listing /opt/saera ... Listing /opt/saera/model ... Compiling /opt/saera/portrait.py ... Compiling /opt/saera/saera.py ... /opt/saera/saera.py:189: SyntaxWarning: name 'able_to_listen' is used prior to global declaration global able_to_listen Compiling /opt/saera/saera_processing.py ... Listing /opt/saera/sentences ... Compiling /opt/saera/sentences/sentences_portuguese.py ... Nokia-N900:/home/user/MyDocs# |
Re: [DEVEL] Saera: Siri clone for Maemo 5
Hi. I just tried installing and got this error. Please can someone point me in the right direction?
file /var/lib/dpkg/tmp.c1/digsigsums cannot be opened No digsigsums file.. .... then lots of not in digsigsums -- warning dpkg: dependency problems prevent configuration of saera.. Package pocketsphinx-utils is not installed and such like. I copied the file from the first post and placed in N9 |
Re: [DEVEL] Saera: Siri clone for Maemo 5
Quote:
Greetings |
Re: [DEVEL] Saera: Siri clone for Maemo 5
Quote:
Video of Saera running: http://www.youtube.com/watch?v=ghVOH-6X1yg Quote:
|
Re: [DEVEL] Saera: Siri clone for Maemo 5
Sorry, blonde moments here! *down, Boy, down !*
|
Re: [DEVEL] Saera: Siri clone for Maemo 5
Ok... Automagically Saera waits for the complete number again but i think it has a problem: althought it tells that "phone numbers have 10 or 11 caracters", it dials only 7 characters numbers... And, no ofense here (i dont know what is the first language of who makes that), but the portuguese translation of the sentences_portuguese.py isn't very good.
Still testing :) |
Re: [DEVEL] Saera: Siri clone for Maemo 5
So ModRana now has quite a few new CLI options for use by Saeri (and any other program or script):
Code:
usage: modrana.py [-h] [-d device ID] [-u GUI ID] The search options work in two modes: If --return-static-map-url is used, modRana loads only the most essential modules, handles the query and exits after printing the Url pointing to a static-map with the result to stdout. If --return-static-map-url is not used, modRana starts normally and shows the search results. Exit codes If everything went fine, modRana returns 0, as expected. If something went wrong, modRana exits with one of the codes below: Code:
SYNTAX_ERROR = 2 When modRana does local search and no --local-search-location is specified, it starts the GPS and waits for up to 30 seconds for it to supply valid location coordinates. If the current location is not determined within the 30 second time limit, modRana uses the last known position (if available). Results If more results are returned for --return-static-map-url, modRana just returns Url for the first one (this is also usually the result with the best accuracy). It also shouldn't be difficult to add support for returning multiple results or to return coordinates or other information to stdout (maybe URL + result title ?). Other supported options It is also possible to set the zoom level, make modRana focus on a set of coordinates or center on current position. Routing There are not yet CLI options for routing, but will be added in near future. :) How to use Example - show address search result in GTK UI on zoom level 10: Code:
python /opt/modrana/modrana.py -d n900 -u GTK --address-search "Prague" --set-zl 10 Code:
python /opt/modrana/modrana.py --local-search "pizza" --return-static-map-url You need the latest modRana version (V0.32) from Extras-Devel to use the new CLI options. Feedback Don't hesitate to let me know if you hit any issues or if you have any ideas for improvements. :) EDIT: added usage examples |
All times are GMT. The time now is 18:23. |
vBulletin® Version 3.8.8