C# Class NBoilerpipe.Extractors.ExtractorBase

The base class of Extractors.
The base class of Extractors. Also provides some helper methods to quickly retrieve the text that remained after processing.
Inheritance: BoilerpipeExtractor
Afficher le fichier Open project: oganix/NBoilerpipe

Méthodes publiques

Méthode Description
GetText ( NBoilerpipe.Document.TextDocument doc ) : string

Extracts text from the given NBoilerpipe.Document.TextDocument object.

GetText ( string html ) : string

Extracts text from the HTML code given as a String.

Extracts text from the HTML code given as a String.

Process ( NBoilerpipe.Document.TextDocument arg1 ) : bool

Method Details

GetText() public méthode

Extracts text from the given NBoilerpipe.Document.TextDocument object.
NBoilerpipe.BoilerpipeProcessingException ///
public GetText ( NBoilerpipe.Document.TextDocument doc ) : string
doc NBoilerpipe.Document.TextDocument /// The /// NBoilerpipe.Document.TextDocument /// . ///
Résultat string

GetText() public méthode

Extracts text from the HTML code given as a String.
Extracts text from the HTML code given as a String.
NBoilerpipe.BoilerpipeProcessingException ///
public GetText ( string html ) : string
html string The HTML code as a String.
Résultat string

Process() public abstract méthode

public abstract Process ( NBoilerpipe.Document.TextDocument arg1 ) : bool
arg1 NBoilerpipe.Document.TextDocument
Résultat bool