Most relevant passage retrieval

S

sysindex

I need to write an algorithm to retrieve most relevant passage from a
large body of text. The passage needs to relevant to the search term.
Sort of like what Google displays on their search results page as the
summary of the page. Thanks in advance.
 
V

Victor Bazarov

sysindex said:
I need to write an algorithm to retrieve most relevant passage from a
large body of text. The passage needs to relevant to the search term.
Sort of like what Google displays on their search results page as the
summary of the page. Thanks in advance.

What does it have to do with C++ language? Display three words
before the word you find and three words after, you'll get your
"passage".
 

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top