C# Class NBoilerpipe.Filters.Heuristics.LabelFusion

Fuses adjacent blocks if their labels are equal.
Fuses adjacent blocks if their labels are equal.
Inheritance: BoilerpipeFilter
ファイルを表示 Open project: oganix/NBoilerpipe

Public Properties

Property Type Description
INSTANCE NBoilerpipe.Filters.Heuristics.LabelFusion

Public Methods

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

Creates a new LabelFusion instance.

Process ( NBoilerpipe.Document.TextDocument doc ) : bool

Private Methods

Method Description
EqualLabels ( ICollection labels, ICollection labels2 ) : bool
MarkupLabelsOnly ( ICollection set1 ) : ICollection

Method Details

LabelFusion() public method

Creates a new LabelFusion instance.
public LabelFusion ( 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.LabelFusion INSTANCE
return NBoilerpipe.Filters.Heuristics.LabelFusion