C# Класс 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.
Наследование: BoilerpipeExtractor
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

GetText() публичный Метод

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 /// . ///
Результат string

GetText() публичный Метод

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.
Результат string

Process() публичный абстрактный Метод

public abstract Process ( NBoilerpipe.Document.TextDocument arg1 ) : bool
arg1 NBoilerpipe.Document.TextDocument
Результат bool