ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] TTS of weather
Steve Rauco
Sat, 12 Feb 2000 08:18:32 -0800 (PST)

Would love to see what you have.  My weather reporting is a bit
inconsistent.


On Sat, 12 Feb 2000 11:00:33 -0500, ecs-list@netbloc.com wrote:

>  Well, after about an hour and a half of tweaking, I am able to get the
>  reading of the weather report close to perfect.  Many thanks to Kevin
Keast
>  who sent me his script for parsing out the weather info, which most of
this
>  is based on.
>  
>  I also went into the Lexicon for the TTS item and changed the following:
>  
>  wind - winned
>  winds - winneds
>  pop - percent of precipitation
>  est - eastern standard time
>  mon - monday
>  tue - tuesday
>  wed - wensday  (pronunciation, not spelling  ;-)
>  thu - thursday
>  fri - friday
>  sat - saturday
>  
>  I didn't put one in for sun, incase the weather report says something
like
>  'increasing sun'
>  
>  I figured out that the pause at the end of the lines was not caused by
the
>  EOL itself, but because EDM saves the text file in a double-spaced
format.
>  I came up with the lengthy solution which you'll see below of g:3 / d g:4
/
>  d, etc.  I'm sure that there's a shorter way to do this, but frankly, I
got
>  tired of reading the edm.hlp and trying to decipher it!!  This way works,
so
>  it's good enough for me.  The af command appends a closing sentence for
>  "Hank" to read:  "This has been Hank with your local weather repot."  ;-)
>  
>  -=A.J.
>  
>  EDM Script:
>  bell
>  r wpdl.htm
>  f MIDDLESEX
>  d-
>  d
>  g:1
>  d3
>  f =
>  d+
>  CA/ ... ,
>  c/.' ' ..
>  c/ .
>  g:2
>  d
>  g:3
>  d
>  g:4
>  d
>  g:5
>  d
>  g:6
>  d
>  g:7
>  d
>  g:8
>  d
>  g:9
>  d
>  g:10
>  d
>  g:11
>  d
>  g:12
>  d
>  g:13
>  d
>  g:14
>  d
>  g:15
>  d
>  g:16
>  d
>  b
>  af wxend.txt
>  w wxtemp.txt
>  q
>  





_______________________________________________________
Get 100% FREE Internet Access powered by Excite
Visit http://freeworld.excite.com


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.