|
-
Jun 14th, 2005, 08:50 AM
#1
Thread Starter
Hyperactive Member
Using VB to find how many times 2 words appear in the same sentence together?
Hello,
I have this program where the user finds plays the game to find combinations - now what I need the computer to do is have the answers so that when the user clicks on a combination the computer will know whether or not it is a combination?
Now what I mean by combination is:
Example:
I have a whole database of words/sentences.
All I need the computer to do is tell me how many times each word appear with the other word in the same line of text (.txt file)
So lets say I have a sentence like this:
Jake and Alexa went to the movies.
Sam and Alexa are siblings to Jake
---------------------------------------
So "Alexa and Jake" appeared in the same sentence 2 times
Except I need it to get all the other words also and tell me how many times they appear together in 2 word combinations.
Can this even be done?
Thank you for any suggestions info or code! 
Stilekid007
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|