I want to rank sentences in a text based on weights.. for example i want to extract certain important sentences from a text based on its weights(importance).. please help if possible with an executable algorithm...
sautap4u 0 Newbie Poster
Recommended Answers
Jump to Postread sentences add weights
? ;) Post a bit more information if you don't know how to do one of the two steps above and maybe even a bit of code?
Jump to PostSo..
Read the sentences For each sentence for each word add wordscore to sentencescore for each sentence if setencescore > level, output sentence
Something like that perhaps? Go ahead, code something. It's okay to make mistakes.
All 5 Replies
Clockowl 56 Posting Whiz
sautap4u 0 Newbie Poster
Clockowl 56 Posting Whiz
ArkM 1,090 Postaholic
nucleon 114 Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.