A method and program product to generate summaries for text documents. A user
can
also specify a query, topic, and terms that he/she is interested in. This method
determines the importance of each sentence by using the linguistic salience of
the word to the user profile, the similarity among the word, the query and topic
provided by a user and the sum of scores of the sentence comprising the word. After
computing the score for each word, this method computes the score for each sentence
in the set of sentences according to the score of words composing it and the position
of the sentence in a section and a paragraph.