Vocola 2.6

Vocola 2.6 is now available at http://vocola.net

Changes include:

* Many, many minor bugs have been fixed
* Context statement ":" now clears any existing context
* A small library of string functions has been provided (NatLink\Vocola\Samples\string.vch)
* Toggling the microphone should no longer be necessary to ensure that (new) commands are loaded.
* The Dragon WaitForWindow and HTMLHelp calls are now supported.
* The behavior of Eval has changed slightly; in particular, it no longer assumes that values of the form +digits are integers.

For more details, see the release notes

BIG THANKS to Mark Lillibridge, who did all the work for this release.

Installing this release requires copying some files manually, which will be the case until we have a new NatLink + Vocola installer. Instructions are online.

-Rick

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I would just like to echo

I would just like to echo the "thank you". With vocola (and NatLink), simple and powerful scripting is made available, for free, to users who do not have the professional version of Dragon. It's revolutionized my voice recognition experience and I'm sure others feel the same way.

Once again, thanks!

Per Haglund wrote:I would

Per Haglund wrote:

I would just like to echo the "thank you". With vocola (and NatLink), simple and powerful scripting is made available, for free, to users who do not have the professional version of Dragon. It's revolutionized my voice recognition experience and I'm sure others feel the same way.

Once again, thanks!

Absolutely, this program is a real gem and we are very fortunate that Rick has been prepared to maintain it in tip top condition and make it freely available for those of us who cannot justify the professional versions or simply dont need the bells and whistles... and to Joel Gould and Rick Mohr for all the effort they have put in over the years.

Thank You

Mark

PS.. 2.6 has installed perfectly according to instructions although I have not had a chance to explore the new capabilites as yet.

Thank You Mark for this

Thank You Mark for this great update!!!

Mike

Quote: Install Python,

Quote:

Install Python, version 2.3.X (if not already installed). Note: this is an older version; newer versions will not work.

I want to install Vocola 2.6 on a new computer at work. Small problem, 2.3.x is not available in a windows version!

Fortunately I have a saved copy of ActivePython-2.3.4-233 on my home computer, but the link on Vocola.net is not helpful and points to 2.5.1 with 2.3.6 available only as source code. Do you have another link you can post for the install instructions?

Mark

I am well under way with a

I am well under way with a new combined natlink/vocola/unimacro installer. For python 2.3.

See unimacro pages on new installer.

The wxPython GUI is not ready yet, but you can try the CLI (Command Line Interface) of the natlinkconfigfunctions.py in the folder confignatlinkvocolaunimacro.

If you try this, please report your experiences. You have to get things from SourceForge CVS.

Still experimental, but worth the try, also for others having at least CVS (Tortoise or so) on their system and can read from SourceForge.

Greetings, Quintijn

It appears from the Python web site that you can use 2.3.5

Web page at http://www.python.org/download/releases/2.3.5/

Installer at http://www.python.org/download/releases/2.3.5/Python-2.3.5.exe

I have not personally verified that this works; please post if it works for you.

The link from

The link from http://speechwiki.org/NL/HomePage.html also works for ActivePython 2.3.4 where there is also a link for .netframework, which I presume is still required.

Mark

I was actually trying to

I was actually trying to install everything on a new laptop. The .net framework version 1 is still required, despite versions two and three already being installed in XP. Unfortunately, I get an "error occurred while installer initializing, setup will close" and fail to instal l.net version 1. Would be nice if the dependency on version 1 was removed.

(Unfortunately I've not had the chance to troubleshoot this properly)

In the end I had no problem

In the end I had no problem installing version 1.1 of .net once I logged in to the laptop while it was off-line from the office network, must have been some permissioning problem.

I am dictating this using the new (temporary) laptop, with an exported user profile, my vocola macros, unimacro, mouseless browsing. Not too painful to get everything up and running, I am really looking forward to Quintijn's new installer though!

You can try the Beta

Per Haglund wrote:

I am really looking forward to Quintijn's new installer though!

You can try the Beta version: not an installer yet, but an executable zip-file, and not a configure GUI yet.

But I think the needed functionality is there.

See natlink/vocola and unimacro new install.

Greetings, Quintijn

Hello all, in my

Hello all,

in my \macrosystem-folder two files for every *.vcl-file are now generated. e. g.
_vocola_vcl0.py
_vocola_vcl1.py
Is that correct?

Second, my DNS9.51 crashed now when I use the new Split() for generating my emails:

Split(string, separator, index) :=
  Eval('str($string).split(str($separator))[int($index)]');

(1) Udo E-Mail <glEMailAddrs> =  Split( $1, "; ", 1 ) ;
(2) Udo Hallo <glEMailAddrs> = Split( $1, "; ", 0 ) "," {Enter} ;

<glEMailAddrs> := {
...
                  | Quintijn       = "Hello Quintijn" "; " "secret@antenna.nl"
...
                  } ;

(1) works, (2) crashes.

I'm not sure whether that's an problem of DNS9.51 or Vocola 2.6. Any hints?

Thanks and greetings
Udo

Hi Udo, First: I was

Hi Udo,

First: I was suspecting this was NOT correct, and changed the choice of vocola commands files to be tranlated to only the first in the list of command file directories (in the 3.1.charlie release of natlink, combined with unimacro and vocola). So only _vcl0.py should appear. This is IMHO a tricky part of _vocola_main.py.

Second: As to the split: I would in general think these sort of constructs are too difficult for a - supposed to be easy - language like Vocola. I am preparing a few mails on the voicecoder list on this.

Third: did you try the new installer already???

Quintijn

Hello Quintijn, as always

Hello Quintijn,

as always thanks for your fast answer.

First: "changed the choice of vocola commands" - is there any option/setting?

Second: It works well with my DNS9.1 and the old Vocola. I'm testing Vocola 2.6 on my notebook, and on that notebook I'm testing DNS9.51, too (mmh, since many months now).
That Split() was the most valuable development of my SR-Commands, so I don't want to miss it anymore.

Third: No, I caught a cold, so limited "fighting spirit" at the moment...

Thanks and greetings
Udo

First: No, no option, this

First: No, no option, this part deserves discussion and testing. I did not have the time to study this part more

Greetings, Quintijn

in my \macrosystem-folder

in my \macrosystem-folder two files for every *.vcl-file are now generated. e. g.
_vocola_vcl0.py
_vocola_vcl1.py
Is that correct?

No, foo.vcl in the first command folder (usually <Natlink>\vocola\commands) produces foo_vcl0.py whereas foo.vcl in the second command folder (usually my documents\natlink\vocola) produces foo_vcl1.py. This allows use of two different foo.vcl's. A single foo.vcl should not produce both files.

The above is standard Vocola 2.6 under the old installers; I don't know what command folders Q's installer uses.

Hello again mdl, all my

Hello again mdl,

all my *.vcl-files are in folder
...\Vocola-NYPC\NatLink150\Vocola\Commands
and the *.py/*.pyc-files in folder
...\Vocola-NYPC\NatLink150\macrosystem

In
...\my documents\natlink\vocola
there is only one file: wmplayer.vcl

Of course I have backup-folders at the moment.

After I have seen the doubled results of the first conversion I deleted all files, but exactly the same files are generated again. The content of any pair is exactly the same.

Thanks and greetings
Udo

Something is wrong then; how

Something is wrong then; how did you install Vocola?

Hello mdl, Vocola was

Hello mdl,

Vocola was already installed, I'm just renaming the directories when I switch between the old one and V2.6, so there is always one working- and one backup-dir.

Thanks and greetings
Udo

I'm going to guess that when

I'm going to guess that when you originally ran the installer, you told it to put your command files in /vocola/commands; this would put that folder in your path twice with the results you are seeing.

Can you handle running regedit and seeing what value HKEY_CURRENT_USER, Software\NatLink is set to?

Hello mdl, there are two

Hello mdl,

there are two entries,
UserDirectory=...\Vocola-NYPC\NatLink150
VocolaUserDirectory=...\Vocola-NYPC\NatLink150\Vocola\Commands

"this would put that folder in your path twice" - where can I see that?

Thanks and greetings
Udo

How about trying the new

How about trying the new installer?

See new pages on installer

Maybe somebody can update the speechwiki website as well. Did not get much feedback on the 3.1.beta installer yet. Is it working? Do people have trouble with it???

Quintijn.

Still waiting for my new

Still waiting for my new laptop, sorry.

Yup. I was right. The

Yup. I was right. The Vocola user directory should point somewhere outside your NatLink installation.

You can probably fix this by using regedit. Alternatively, you can try reinstalling with an installer. I believe Quintijn's may work well for this purpose.

Hello mdl, so the path given

Hello mdl,

so the path given by the UserDirectory is sufficient?

Thanks and greetings
Udo

You need to change that

You need to change that field (VocolaUserDirectory) to point somewhere else like .../my Documents/natlink/vocola

(1) works, (2) crashes. You

(1) works, (2) crashes.

You know the drill :-); please isolate the code that crashes into a file by itself, the smaller the better, and post both it and it's translated version (the .py file) and a description of the crash symptoms you are seeing.

Particularly try the same commands with fewer elements in the email list.

Hello mdl, the problem is

Hello mdl,

the problem is solved meanwhile, have had some problems accessing the Forum.
There have been different reasons, the main one was my user profile. And I need a Wait( ... ) due to my faster notebook.

Thanks and greetings
Udo

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.




view recent posts