C# Class NBoilerpipe.Filters.English.MinFulltextWordsFilter

Keeps only those content blocks which contain at least k full-text words (measured by HeuristicFilterBase.GetNumFullTextWords(NBoilerpipe.Document.TextBlock) ). k is 30 by default.
Inheritance: NBoilerpipe.Filters.English.HeuristicFilterBase, BoilerpipeFilter
ファイルを表示 Open project: oganix/NBoilerpipe

Public Properties

Property Type Description
DEFAULT_INSTANCE MinFulltextWordsFilter

Public Methods

Method Description
GetDefaultInstance ( ) : MinFulltextWordsFilter
MinFulltextWordsFilter ( int minWords ) : NBoilerpipe
Process ( NBoilerpipe.Document.TextDocument doc ) : bool

Method Details

GetDefaultInstance() public static method

public static GetDefaultInstance ( ) : MinFulltextWordsFilter
return MinFulltextWordsFilter

MinFulltextWordsFilter() public method

public MinFulltextWordsFilter ( int minWords ) : NBoilerpipe
minWords int
return NBoilerpipe

Process() public method

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

Property Details

DEFAULT_INSTANCE public_oe static_oe property

public static MinFulltextWordsFilter,NBoilerpipe.Filters.English DEFAULT_INSTANCE
return MinFulltextWordsFilter