Thank you, Florian.
Please copy and paste the following into a blank askSam document and try
Actions/Other Searches/Proximity for John and Mary in the same sentence.
Name[ John Smith
Address[ 1 Smith Street, John.stown
CommentsA[ John likes seafood.
CommentsB[ But Mary doesn't. John likes Mary
CommentsC[John.Mary.JohnMary.John,Mary .John&Mary.John!Mary. John! Mary.
It would seem that a sentence must have a period space, or a period <CR>, or
an exclamation mark space, or an exclamation mark <CR> to delimit it.
But this means that a sentence can have a carriage return in it, or even a
new field in it. Inexplicably. This is what is causing me problems in my
application on WebPublisher.
The period in John.stown is, as you say, not recognising the end of the
sentence, although the John is treated as a valid word. So a word is
delimited by a space or a period or any other punctuation mark (presumably)
or a carriage return.
It looks as though to solve my problem (unless the good folk at askSam might
be sympathetic and alter their parsing rules) for every document I will need
to end every field with a period, if I want to avoid, in Web Publisher, the
"Context" search results cell displaying the entire document!
Health to you!
Prahran Naturopathic, Melbourne, Australia
----- Original Message -----
From: "Florian Gehrke" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Tuesday, February 18, 2003 12:14 AM
Subject: Re: What defines a sentence?
> in my experience with AS it works like this...
> WORD: A coherent string of alphabetic, numeric or other characters
> consisting of at least one character. Characters that have been defined as
> punctuation characters in the Index Options have no logic value but are
> still to be found through the Search Line and menu commands. With regard
> wildcard searches, the * character represents multiple characters (up to
> eighty). The ? character takes the place of a single character.
> SENTENCE: A string of WORDS that ends with a period. Two sentences have to
> be limited by a blank space. For example...
> Mary was sitting on a chair. Joe was eating an apple.
> When searching "Joe", Proximity Search will find "Joe" in the second
> sentence. When the blank space between the two sentences is being omitted,
> they will be recognized as one sentence. According to that, "Mary" will
> also be found as part of the second sentence. Thus, AS will find a string
> like "1.000" within the same sentence. The period in here does not
> as a delimiter to the sentence.
> PARAGRAPH: At least one or an unlimited amount of SENTENCES that end with
> paragraph mark. The paragraph mark is not visible. It can be searched with
> EDIT | FIND and EDIT | REPLACE using ^p (just a makeshift, doesn't work
> very properly).
> > Further...when the askSam document is searched in WebPublisher?
> Sorry, got no experience with WebPublisher.
> Co-Moderator of the askSam forum at http://ratman.at