Page 1 of 1

Speak symbols like greater than, less than and dollar signs

PostPosted: Sun May 24, 2009 2:49 pm
by marnold
Hello

I bought a Cepstral voice about a month ago and I am quite happy with it, however there is one nagging problem i am having. I am a programmer and hence tend to have a lot of code read through Cepstral, it reads correctly in most cases, but anything starting with a greater than or dollar sign isn't spoken at all. This is a problem for statements like
Code: Select all
if a < b:
  pass

I only hear "If a, b pass". it is worse in Perl and Php where i don't hear any variable uses at all eg
Code: Select all
if ($a) {
  do_foo($a)
}

i only hear "if open curly do underscore foo close curly"

is it possible to fix this so it speaks the dollar signs as "dollar sign" and greater than and less than as "greater" and "less" respectively

PostPosted: Tue May 26, 2009 1:29 pm
by clafayette
Try reading your program by specifying text mode. On the command line, type
Code: Select all
swift -m text -f file-to-read