C# Class NBoilerpipe.Filters.Heuristics.AddPrecedingLabelsFilter

Adds the labels of the preceding block to the current block, optionally adding a prefix.
Adds the labels of the preceding block to the current block, optionally adding a prefix.
Inheritance: BoilerpipeFilter
Datei anzeigen Open project: oganix/NBoilerpipe

Public Properties

Property Type Description
INSTANCE NBoilerpipe.Filters.Heuristics.AddPrecedingLabelsFilter
INSTANCE_PRE NBoilerpipe.Filters.Heuristics.AddPrecedingLabelsFilter

Public Methods

Method Description
AddPrecedingLabelsFilter ( string labelPrefix ) : System.Collections.Generic

Creates a new AddPrecedingLabelsFilter instance.

Process ( NBoilerpipe.Document.TextDocument doc ) : bool

Method Details

AddPrecedingLabelsFilter() public method

Creates a new AddPrecedingLabelsFilter instance.
public AddPrecedingLabelsFilter ( string labelPrefix ) : System.Collections.Generic
labelPrefix string
return System.Collections.Generic

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 NBoilerpipe.Filters.Heuristics.AddPrecedingLabelsFilter INSTANCE
return NBoilerpipe.Filters.Heuristics.AddPrecedingLabelsFilter

INSTANCE_PRE public_oe static_oe property

public static NBoilerpipe.Filters.Heuristics.AddPrecedingLabelsFilter INSTANCE_PRE
return NBoilerpipe.Filters.Heuristics.AddPrecedingLabelsFilter