maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS (https://talk.maemo.org/showthread.php?t=84753)

anthonie 2012-07-26 08:51

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by taixzo (Post 1242705)
Just a guess, but is your phone in Silent mode rather than General?

Hi Taixzo,

I had hoped for such a thing to be the case and I prepared myself for a double, a triple facepalm, but sadly that is not the case.

Any other ideas what could be wrong? I checked all the requirements on the first page at least twice and everything is installed and up to the latest versions.

taixzo 2012-07-26 20:51

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by anthonie (Post 1243133)
Hi Taixzo,

I had hoped for such a thing to be the case and I prepared myself for a double, a triple facepalm, but sadly that is not the case.

Any other ideas what could be wrong? I checked all the requirements on the first page at least twice and everything is installed and up to the latest versions.

Ah, I just remembered something else which might be the cause. There is a bug in Pocketsphinx which can cause the first utterance to be mis-recognized or not recognized at all. I ran into this rarely; when it did happen, it was usually fixable by saying something like "test" directly into the mic. I will see what I can do for the next release, maybe I can just discard the first utterance or something.

anthonie 2012-07-27 13:07

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
You´re right! After a couple of tries it did pick up the signal from the mice. Thanks for the hint, as well as the application, of course!

Edit: Mice? What I meant to say is that it didn´t work at first, training my mouse to operate Saera...

theonelaw 2012-08-05 05:40

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
So if we want to add a function to this,
all we need to do is add two entries
to the two files
saera_processing.py
sentences_english.py
and make sure words are in the vocab and other relevant places ?

taixzo 2012-08-06 03:43

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by theonelaw (Post 1247633)
So if we want to add a function to this,
all we need to do is add two entries
to the two files
saera_processing.py
sentences_english.py
and make sure words are in the vocab and other relevant places ?

Pretty much, yes. In saera_processing.py you should generally try to match keywords instead of the whole sentence, in case it isn't recognized perfectly. But you will have to regenerate the language model if you add words to the vocab. I used the online tool at http://www.speech.cs.cmu.edu/tools/lmtool.html to build the files manually; in the next release Saera will build it herself so that I can support other languages. You will also need to edit two numbers in saera.py to refer to the new .lm and .dic files the tool will generate.

sixwheeledbeast 2012-08-06 16:06

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by taixzo (Post 1248072)
... in the next release Saera will build it herself so that I can support other languages....

Does this mean you have a fixed N900 again? :D

taixzo 2012-08-06 17:07

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by sixwheeledbeast (Post 1248311)
Does this mean you have a fixed N900 again? :D

I wish. Right now I've got it to the point that it will run unmodified on an Ubuntu system, so I'm using that for development.

Side note: If anyone knows some place that repairs N900s in the Northeast USA, please drop me a PM.

regulus 2012-08-06 17:34

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
I wanted to instal Saera today (I use Faster Application Manager). However, I got a message "Some of your packages have unmet dependencies which could not be fixed. See the log for details."

The log is as follows:

Code:

Ign https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Hit http://repository.maemo.org fremantle-1.3/non-free Packages
Hit http://repository.maemo.org fremantle-1.3/free Packages
Hit http://repository.maemo.org fremantle-1.3/non-free Packages
Hit http://repository.maemo.org fremantle/free Packages
Hit http://repository.maemo.org fremantle/non-free Packages
Fetched 9001kB in 1min3s (143kB/s)
Reading package lists...
W: Conflicting distribution: http://repository.maemo.org fremantle-1.3 Release (expected fremantle-1.3 but got )
W: Conflicting distribution: http://repository.maemo.org fremantle-1.3 Release (expected fremantle-1.3 but got )
W: Ignoring Provides line with DepCompareOp for package binutils
W: You may want to run apt-get update to correct these problems
--- 2012-08-06 19:22:55 ---
Start reading package lists
--- 2012-08-06 19:23:10 ---
Finished reading package lists
--- 2012-08-06 19:23:10 ---
Start fetching package dates
--- 2012-08-06 19:23:11 ---
need to fetch date for 2 packages
--- 2012-08-06 19:23:11 ---
sent 2 requests, received 2 replies with 0 errors
--- 2012-08-06 19:23:11 ---
Finished fetching package dates
--- 2012-08-06 19:23:16 ---
Start reading package lists
--- 2012-08-06 19:23:16 ---
No need to read package lists
--- 2012-08-06 19:23:16 ---
Start fetching package dates
--- 2012-08-06 19:23:16 ---
No need to fetch dates
--- 2012-08-06 19:23:58 ---
/usr/bin/apt-get -qsy --allow-unauthenticated -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts="" --auto-remove install saera
--- 2012-08-06 19:24:02 ---
Output from last process:
---
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  saera: Depends: pocketsphinx-utils but it is not going to be installed
        Depends: pocketsphinx-hmm-en-hub4wsj but it is not going to be installed
        Depends: pocketsphinx-lm-en-hub4 but it is not going to be installed
        Depends: gstreamer0.10-pocketsphinx but it is not going to be installed
  wifi-pwner: Depends: kernel-power-flasher but it is not going to be installed or
                      kernel-power-bootimg but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

--- 2012-08-06 19:26:46 ---
/usr/bin/apt-get -qsy --allow-unauthenticated -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts="" --auto-remove install wifi-pwner saera
--- 2012-08-06 19:26:50 ---
Output from last process:
---
Reading package lists...
Building dependency tree...
Reading state information...
wifi-pwner is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  saera: Depends: pocketsphinx-utils but it is not going to be installed
        Depends: pocketsphinx-hmm-en-hub4wsj but it is not going to be installed
        Depends: pocketsphinx-lm-en-hub4 but it is not going to be installed
        Depends: gstreamer0.10-pocketsphinx but it is not going to be installed
  wifi-pwner: Depends: kernel-power-flasher but it is not going to be installed or
                      kernel-power-bootimg but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

--- 2012-08-06 19:27:23 ---
Start reading package lists
--- 2012-08-06 19:27:23 ---
No need to read package lists
--- 2012-08-06 19:27:23 ---
Start fetching package dates
--- 2012-08-06 19:27:23 ---
No need to fetch dates
--- 2012-08-06 19:27:31 ---
/usr/bin/apt-get -qsy --allow-unauthenticated -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts="" --auto-remove install saera
--- 2012-08-06 19:27:34 ---
Output from last process:
---
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  saera: Depends: pocketsphinx-utils but it is not going to be installed
        Depends: pocketsphinx-hmm-en-hub4wsj but it is not going to be installed
        Depends: pocketsphinx-lm-en-hub4 but it is not going to be installed
        Depends: gstreamer0.10-pocketsphinx but it is not going to be installed
  wifi-pwner: Depends: kernel-power-flasher but it is not going to be installed or
                      kernel-power-bootimg but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I noticed it mentions wifi-pwner, so that might be a cause... namely I attempted to instal wifi-pwner a while ago, but cancelled it when it asked me to replace the kernel (or something like that). Now I see this app's icon, but it's not listed as installed, so I don't know how to remove it (in case this is the real cause). How should I proceed?

taixzo 2012-08-06 20:01

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by regulus (Post 1248359)
I wanted to instal Saera today (I use Faster Application Manager). However, I got a message "Some of your packages have unmet dependencies which could not be fixed. See the log for details."

The log is as follows:

Code:

Ign https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Hit http://repository.maemo.org fremantle-1.3/non-free Packages
Hit http://repository.maemo.org fremantle-1.3/free Packages
Hit http://repository.maemo.org fremantle-1.3/non-free Packages
Hit http://repository.maemo.org fremantle/free Packages
Hit http://repository.maemo.org fremantle/non-free Packages
Fetched 9001kB in 1min3s (143kB/s)
Reading package lists...
W: Conflicting distribution: http://repository.maemo.org fremantle-1.3 Release (expected fremantle-1.3 but got )
W: Conflicting distribution: http://repository.maemo.org fremantle-1.3 Release (expected fremantle-1.3 but got )
W: Ignoring Provides line with DepCompareOp for package binutils
W: You may want to run apt-get update to correct these problems
--- 2012-08-06 19:22:55 ---
Start reading package lists
--- 2012-08-06 19:23:10 ---
Finished reading package lists
--- 2012-08-06 19:23:10 ---
Start fetching package dates
--- 2012-08-06 19:23:11 ---
need to fetch date for 2 packages
--- 2012-08-06 19:23:11 ---
sent 2 requests, received 2 replies with 0 errors
--- 2012-08-06 19:23:11 ---
Finished fetching package dates
--- 2012-08-06 19:23:16 ---
Start reading package lists
--- 2012-08-06 19:23:16 ---
No need to read package lists
--- 2012-08-06 19:23:16 ---
Start fetching package dates
--- 2012-08-06 19:23:16 ---
No need to fetch dates
--- 2012-08-06 19:23:58 ---
/usr/bin/apt-get -qsy --allow-unauthenticated -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts="" --auto-remove install saera
--- 2012-08-06 19:24:02 ---
Output from last process:
---
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  saera: Depends: pocketsphinx-utils but it is not going to be installed
        Depends: pocketsphinx-hmm-en-hub4wsj but it is not going to be installed
        Depends: pocketsphinx-lm-en-hub4 but it is not going to be installed
        Depends: gstreamer0.10-pocketsphinx but it is not going to be installed
  wifi-pwner: Depends: kernel-power-flasher but it is not going to be installed or
                      kernel-power-bootimg but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

--- 2012-08-06 19:26:46 ---
/usr/bin/apt-get -qsy --allow-unauthenticated -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts="" --auto-remove install wifi-pwner saera
--- 2012-08-06 19:26:50 ---
Output from last process:
---
Reading package lists...
Building dependency tree...
Reading state information...
wifi-pwner is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  saera: Depends: pocketsphinx-utils but it is not going to be installed
        Depends: pocketsphinx-hmm-en-hub4wsj but it is not going to be installed
        Depends: pocketsphinx-lm-en-hub4 but it is not going to be installed
        Depends: gstreamer0.10-pocketsphinx but it is not going to be installed
  wifi-pwner: Depends: kernel-power-flasher but it is not going to be installed or
                      kernel-power-bootimg but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

--- 2012-08-06 19:27:23 ---
Start reading package lists
--- 2012-08-06 19:27:23 ---
No need to read package lists
--- 2012-08-06 19:27:23 ---
Start fetching package dates
--- 2012-08-06 19:27:23 ---
No need to fetch dates
--- 2012-08-06 19:27:31 ---
/usr/bin/apt-get -qsy --allow-unauthenticated -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts="" --auto-remove install saera
--- 2012-08-06 19:27:34 ---
Output from last process:
---
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  saera: Depends: pocketsphinx-utils but it is not going to be installed
        Depends: pocketsphinx-hmm-en-hub4wsj but it is not going to be installed
        Depends: pocketsphinx-lm-en-hub4 but it is not going to be installed
        Depends: gstreamer0.10-pocketsphinx but it is not going to be installed
  wifi-pwner: Depends: kernel-power-flasher but it is not going to be installed or
                      kernel-power-bootimg but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I noticed it mentions wifi-pwner, so that might be a cause... namely I attempted to instal wifi-pwner a while ago, but cancelled it when it asked me to replace the kernel (or something like that). Now I see this app's icon, but it's not listed as installed, so I don't know how to remove it (in case this is the real cause). How should I proceed?

What happens when you run:
Code:

apt-get -f install

regulus 2012-08-06 20:25

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
Seems to have worked. It removed wifi-pwner and installed a couple of other packages (no idea where those came from...), and afterwards installing Saera in FAM went thru.


All times are GMT. The time now is 18:24.

vBulletin® Version 3.8.8