rtexttext-miningsummarization

Text summarization in R language


I have long text file using help of R language I want to summarize text in at least 10 to 20 line or in small sentences. How to summarize text in at least 10 line with R language ?


Solution

  • You may try this (from the LSAfun package):

    genericSummary(D,k=1)
    

    whereby 'D' specifies your text document and 'k' the number of sentences to be used in the summary. (Further modifications are shown in the package documentation).

    For more information: http://search.r-project.org/library/LSAfun/html/genericSummary.html