Skip to content

linkzy/OpenTextSummarizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenTextSummarizer

.Net Standard verison of OpenTextSummarizer forked from vrittis.

Usage

Basic

To use the original OpenTextSummarizer algorithm, just call the static Summarize method on the summarizer. You can pass content through a IContentProvider implementation. There are two implementations matching what existed in the original library, DirectTextContentProvider and FileContentProvider. The second argument is a ISummarizerArguments implementation, the default one being SummarizerArguments.

var summarizedDocument = OpenTextSummarizer.Summarizer.Summarize(
	new OpenTextSummarizer.FileContentProvider("TextualData\\AutomaticSummarization.txt"),
	new SummarizerArguments() 
	{
		Language = "en",
		MaxSummarySentences = 5
	});

Here is a Blog Post on how to use this package in your .NET project.

About

fork of .net port and adaptation of libots, initially by PatrickBurrows

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%