关闭

C# text summarize -- 2

该项目收到5 来自天才威客的竞标,平均竞标价格为£24 GBP

为像这样的项目获取免费报价
雇主工作
项目预算
£10 - £20 GBP
全部竞标
5
项目描述

A C# console application, that lets the user input a text file, the used then enters the percent summarization factor (numbered %) the users file is read line by line and stop words need to be removed based on their frequency and the new text needs to be saved as a new text file.

More detail:

Extractive methods - selecting important sentences, paragraphs etc. from the original

document and concatenating them into a shorter form. The importance of sentences is

decided based on statistical and linguistic features of sentences.

Application must be console based

1. Prompt the user to enter an input filename (eg [url removed, login to view]) and a percent summarization

factor, SF (where SF = summarizedWordLength x 100 / inputWordLength).

2. Read the text from [url removed, login to view] [url removed, login to view] and process the text from [url removed, login to view]

accordingly.

3. Output the summary text to file (eg [url removed, login to view]) and display to console some

appropriate statistics.

Count the occurrence of different words in the document, copying the words into a list

which is ordered by frequency with the most common word at the top of the list.

 Copy each sentence in the document into a second list.

 Remove (filter) those words from the word frequency list which are very common and

of little use in classifying the document. These are called ‘stop words’ and include

words such as such as the, is, at, which, and on. There is no definitive listing of what

defines a stop word as it could be document specific, however the file ‘[url removed, login to view]’

is provided containing a listing of generic common stop words

For each sentence, count the number of the words that matches the top word

(most frequent) in the filtered word list.

 Find the sentence that has the highest number of occurrences of the most

frequent word.

 If the length of words in the summary text added to the current selected

sentence word length exceeds the summary word length limit the sentence is

ignored.

 Else add the sentence to the summary text. Remove the word from the top of

the frequency word list and the sentence from the listing of word sentences.

}

 Output summary text to file and display appropriate statistics, including actual SF.

需要技能

在寻找赚取金钱的机会?

  • 设定您的预算和时间框架
  • 大致描述您的建议方案
  • 为您的工作领取工资

雇用同样在该项目上竞标的威客

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online