re: Offset in paragraphs
re: Offset in paragraphs
- Subject: re: Offset in paragraphs
- From: Stephen Fitchett <email@hidden>
- Date: Fri, 24 Nov 2000 18:18:48 +1200
Sorry this is such a late reply. I've been busy with many things, mainly
homework and configuring my new computer - And, of course, AppleScript
(just working on some other scripts). Thanks for your feedback and also to
Arthur J Knapp for his reply.
>
>I'm using AppleScript 1.1.1 but will have 1.1.2 in a week or so.
Turns out I actually have 1.3.6 (yay!)
>
You may want to use a scriptable text editor to save the output of
>
such a script if it gets to the point where it's a snappy
>
conversationalist!
Unfortunately I don't have any scriptable text editors, but I might do that
when I do.
>
offset of return in theStr
>
--> 15
>
>
offset of {return} in theStr
>
--> {15, 26, 27, 60, 61, 108}
Second one doesn't work in AS 1.3.6 -It just returns 15 like the first.
Anyone know when this was introduced, or an alternative way to do it in
1.3.6, without repeat statements? When I saw this I had a great idea to
improve the random saying the computer generates to do with what you say.
>
If this helps, great! And please send me a working script if it
>
turns out well. Always interested in AI stuff.
Depends on the speed, it could be quite slow. Of course, when I last tested
it it was on my 25 MhZ 68K machine...
What I'm doing right now is just to see if I can. If I can, I'll work at it
to make it better. So at the moment the performance isn't a great issue for
me.
>
You may want to use Apple's Text To Speech in such a project.
>
If so, you should take a look at my preliminary speech library
>
which helps correct pronunciation of known problematic words and
>
is easily extensible.
Where do you get Text To Speech and how does it work? Doesn't seem to be on
my mac. Is it part of the speech software that gets installed with the OS?
That isn't installed on my mac (It's not my fault, I was out when Dad
installed it so didn't get to choose what to install).
--------------------------------------------------------------------------------
----
BCNUL8R,
Stephen Fitchett
"The way to make a small fortune in the commodities market is to start with
a large fortune"
--------------------------------------------------------------------------------
----