Class DocumentTitleMatchClassifier
java.lang.Object
de.l3s.boilerpipe.filters.heuristics.DocumentTitleMatchClassifier
- All Implemented Interfaces:
BoilerpipeFilter
Marks
TextBlocks which contain parts of the HTML
<TITLE> tag, using some heuristics which are quite
specific to the news domain.- Author:
- Christian Kohlschütter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(TextDocument doc) Processes the given documentdoc.
-
Constructor Details
-
DocumentTitleMatchClassifier
-
-
Method Details
-
getPotentialTitles
-
process
Description copied from interface:BoilerpipeFilterProcesses the given documentdoc.- Specified by:
processin interfaceBoilerpipeFilter- Parameters:
doc- TheTextDocumentthat is to be processed.- Returns:
trueif changes have been made to theTextDocument.- Throws:
BoilerpipeProcessingException
-