Differentiating in the Dictionary

F

fdde

Hi all,

I have a brilliant question. Is it possible to distuinguish between proper
nouns and regular words using the Word Dictionary in VBA?

I mean, I am looking for a function that will give me a result like this:
IsItName("John")=True
IsItName("Anything")=False
IsItName("Kerry")=True

Thank you for your time.

Vince
 
W

Word Heretic

G'day "fdde" <[email protected]>,

I friggin wish ;-) You can find [A-Z][a-z]@ to get all Title Case
words, then discard those:

* preceded by either a period & spaces or start of para
* sitting in a non body-text style

This will come close. Unfortunately grammar tools are provided by a
3rd party so I cannot see any such joy in the near future. Man, would
it make NLP easier.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


fdde reckoned:
 
F

fdde

I knew I was asking for too much! Well, your idea would work for sentences
like 'John Kerry gave a sizzling speech at the convention'. However, the
sentences that I have to break down are more like 'John Kerry Gave A
Sizzling Speech At The Convention'. So basically, I would need to find the
names and insert a marker just after the name, something like 'John Kerry ^
Gave A Sizzling Speech At The Convention'. Of course, the noun could appear
in any order, anywhere in the sentence! So, I guess, I'ld have to think of
some other magical solution or better yet, scrap the idea!

Thanks for your reply.


Word Heretic said:
G'day "fdde" <[email protected]>,

I friggin wish ;-) You can find [A-Z][a-z]@ to get all Title Case
words, then discard those:

* preceded by either a period & spaces or start of para
* sitting in a non body-text style

This will come close. Unfortunately grammar tools are provided by a
3rd party so I cannot see any such joy in the near future. Man, would
it make NLP easier.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


fdde reckoned:
Hi all,

I have a brilliant question. Is it possible to distuinguish between proper
nouns and regular words using the Word Dictionary in VBA?

I mean, I am looking for a function that will give me a result like this:
IsItName("John")=True
IsItName("Anything")=False
IsItName("Kerry")=True

Thank you for your time.

Vince
 
W

Word Heretic

G'day "fdde" <[email protected]>,

<Quietly advises scrapping the idea as supporting tech is not in place
yet>

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


fdde reckoned:
I knew I was asking for too much! Well, your idea would work for sentences
like 'John Kerry gave a sizzling speech at the convention'. However, the
sentences that I have to break down are more like 'John Kerry Gave A
Sizzling Speech At The Convention'. So basically, I would need to find the
names and insert a marker just after the name, something like 'John Kerry ^
Gave A Sizzling Speech At The Convention'. Of course, the noun could appear
in any order, anywhere in the sentence! So, I guess, I'ld have to think of
some other magical solution or better yet, scrap the idea!

Thanks for your reply.


Word Heretic said:
G'day "fdde" <[email protected]>,

I friggin wish ;-) You can find [A-Z][a-z]@ to get all Title Case
words, then discard those:

* preceded by either a period & spaces or start of para
* sitting in a non body-text style

This will come close. Unfortunately grammar tools are provided by a
3rd party so I cannot see any such joy in the near future. Man, would
it make NLP easier.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


fdde reckoned:
Hi all,

I have a brilliant question. Is it possible to distuinguish between proper
nouns and regular words using the Word Dictionary in VBA?

I mean, I am looking for a function that will give me a result like this:
IsItName("John")=True
IsItName("Anything")=False
IsItName("Kerry")=True

Thank you for your time.

Vince
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top