C# Class NBoilerpipe.Extractors.LargestContentExtractor

A full-text extractor which extracts the largest text component of a page.
A full-text extractor which extracts the largest text component of a page. For news articles, it may perform better than the DefaultExtractor , but usually worse than ArticleExtractor .
Inheritance: ExtractorBase
ファイルを表示 Open project: oganix/NBoilerpipe

Public Properties

Property Type Description
INSTANCE LargestContentExtractor

Public Methods

Method Description
GetInstance ( ) : LargestContentExtractor

Returns the singleton instance for LargestContentExtractor .

LargestContentExtractor ( ) : NBoilerpipe.Document
Process ( NBoilerpipe.Document.TextDocument doc ) : bool

Method Details

GetInstance() public static method

Returns the singleton instance for LargestContentExtractor .
public static GetInstance ( ) : LargestContentExtractor
return LargestContentExtractor

LargestContentExtractor() public method

public LargestContentExtractor ( ) : NBoilerpipe.Document
return NBoilerpipe.Document

Process() public method

public Process ( NBoilerpipe.Document.TextDocument doc ) : bool
doc NBoilerpipe.Document.TextDocument
return bool

Property Details

INSTANCE public_oe static_oe property

public static LargestContentExtractor,NBoilerpipe.Extractors INSTANCE
return LargestContentExtractor