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 / June 2007

Tip: Looking for answers? Try searching our database.

Get the word class

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
K - 29 Jun 2007 16:52 GMT
I would appreciate help in this matter.

I wonder how you can get the word class (part-of-speech tag) for one word,
or all words. I understand it must exist since it's used in grammar checking.

Is this also possible both through VBA and Javascript?

I am using Word 2002, Swedish version.

Best regards,
K
Shauna Kelly - 30 Jun 2007 04:49 GMT
Hi K

Word does not expose any functionality that will tell you whether the
selected word is, say, a noun or an adjective. Word may be able to determine
that information internally and use it, as you say, in the grammar checker.
But it is not exposed in the object model.

Hope this helps.

Shauna Kelly.  Microsoft MVP.
http://www.shaunakelly.com/word

>I would appreciate help in this matter.
>
[quoted text clipped - 8 lines]
> Best regards,
> K
K - 30 Jun 2007 15:44 GMT
Thanks for the answer, I've wondered for a long time.

K

> Hi K
>
[quoted text clipped - 20 lines]
> > Best regards,
> > K

Rate this thread:






 
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.