Simulating the enter key

I want to add a speech command for the enter key. The command should be invoked when saying Computer neue Zeile.

neue-zeile

1. Press the Commands button.
2. Press New Command.
3. The type of the command will be Shortcut.
4. The name will be neue Zeile.
5. The enter key will be simulated.

The word Zeile isn’t part of the shadow vocabulary. I take a look into the /home/liberty/.kde/share/apps/simon/model/shadow.voca:

Teile t aI l @

So it follows:
Zeile = ts aI l @
neue = n O I @

In my opinion, maybe the nodes O and I should be treated as one single node OI? Take a look into the Wiktionary:

[ɔɪ̯] = U+0254, U+026A, U+032F (examples: Heu /[hɔɪ̯]/, Läufer /[ˈlɔɪ̯fɐ]/, neu /[nɔɪ̯]/)

The phone [ɔɪ̯] consists of three unicode characters (U+0254, U+026A, U+032F). But it is one single phone. In the shadow dictionary it should be treated not as two phones, but as one phone.

But of course, I could be wrong. It is my theoretical point of view. When you look at ts aI l @, you can see that the aI is just one single node. Compare this with the Wiktionary:

[aɪ̯] = U+0061 (a), U+026A, U+032F (examples: Leim /[laɪ̯m]/, Mais /[maɪ̯s]/)

Tags: , , , ,

3 Responses to “Simulating the enter key”

  1. producer says:

    In the Wikipedia, they use ɔʏ (example: Heu) instead of [ɔɪ̯].

  2. Peter Grasch says:

    I agree on OI… I’ll adjust the import process…

  3. [...] neue Zeile. 4. Let’s take a closer look at the command neue Zeile. 5. This command should trigger the enter key. Obviously, simon stores internally the element <text>Enter</text>. Is it really that [...]