[EMAIL PROTECTED] suggested (thank you):
> Why don't you try useing a hard space character instead of just a normal
> space to delimit sentences. A hard space is a blank ascii character of fixed
> width that wont wrap at the end of a line. At least on the mac you make them
> by typing option
It appears that on 2/1/00 12:07 PM, Nicolas R Cueto [EMAIL PROTECTED]
wrote:
>The text is already delimited, with a "/".
You could pre-process the text to apply the group style, creating an
associative array along the way to make it easy to extract the
appropriate values. Assuming that the "
> Nicolas R Cueto <[EMAIL PROTECTED]> asked.
>
> Hello.
>
> When a user clicks on a word in a sentence (not a cr-line but a
> grammatical sentence), how could I find out the number of that sentence?
> I'd like to create sound files for each of the sentences in a paragraph,
> and then label each so
Dave Cragg wrote:
> I'm sure there's no way to accurately identify an English sentence
> through a script unless you can doctor your text in some way with
> your own delimeters. (Double spaces between sentences and only
> between sentences, for example.)
The text is already delimited, with a "/
Here's an approach that handles text where all sentences end with a
period (.) - admittedly not very real-world, but maybe it will stir some
thoughts. This handler converts the user's click on a word to a sentence
number:
on mouseUp
set the itemDelimiter to "."
put the clickChunk into tTextCh
At 8:16 PM +0900 1/2/2000, Nicolas R Cueto wrote:
>Hello.
>
>When a user clicks on a word in a sentence (not a cr-line but a
>grammatical sentence), how could I find out the number of that sentence?
>I'd like to create sound files for each of the sentences in a paragraph,
>and then label each soun