|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.l3s.boilerpipe.filters.heuristics.DocumentTitleMatchClassifier
public final class DocumentTitleMatchClassifier
Marks TextBlock
s which contain parts of the HTML
<TITLE>
tag, using some heuristics which are quite
specific to the news domain.
Constructor Summary | |
---|---|
DocumentTitleMatchClassifier(java.lang.String title)
|
Method Summary | |
---|---|
java.util.Set<java.lang.String> |
getPotentialTitles()
|
boolean |
process(TextDocument doc)
Processes the given document doc . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentTitleMatchClassifier(java.lang.String title)
Method Detail |
---|
public java.util.Set<java.lang.String> getPotentialTitles()
public boolean process(TextDocument doc) throws BoilerpipeProcessingException
BoilerpipeFilter
doc
.
process
in interface BoilerpipeFilter
doc
- The TextDocument
that is to be processed.
true
if changes have been made to the
TextDocument
.
BoilerpipeProcessingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |