Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

Correct Sentence count under word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mel_la_Bel - 03 Dec 2004 15:19 GMT
Hi all,

why does the Document.Sentences.Count results in a different value than for
examlpe range.sentences.count ? (Range is set to the whole doc of course!)

For example this sentence:
"In order to get a basis to let the logic of the tool work, a small
framework has to be implemented that provides the main functionality, e.g.
word/sentence/paragraph count, reading index calculation and so on."
is recogized as two sentences, because of "e.g. "! After a "." with a
following space, " ", it counts a new word!

Does anybody has some hints, tutorials, code?
Many, many thanks in advance,

Mel
Word Heretic - 05 Dec 2004 02:09 GMT
G'day "Mel_la_Bel" <MellaBel@discussions.microsoft.com>,

I have some commercial code I can provide if interested that does a
much better job of counting the sentences in stuff like Would Dr. T.
J. Smith please review document version 1.3 at 11.15.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice

Mel_la_Bel reckoned:

>Hi all,
>
[quoted text clipped - 12 lines]
>
>Mel
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.