Given a document select a relevant snippet.

Posted by BCS on Stack Overflow See other posts from Stack Overflow or by BCS
Published on 2010-05-13T18:30:20Z Indexed on 2010/05/13 18:34 UTC
Read the original article Hit count: 195

When I ask a question here, the tool tips for the question returned by the auto search given the first little bit of the question, but a decent percentage of them don't give any text that is any more useful for understanding the question than the title. Does anyone have an idea about how to make a filter to trim out useless bits of a question?

My first idea is to trim any leading sentences that contain only words in some list (for instance, stop words, plus words from the title, plus words from the SO corpus that have very weak correlation with tags, that is that are equally likely to occur in any question regardless of it's tags)

© Stack Overflow or respective owner

Related posts about text

Related posts about natural-language