|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.l3s.boilerpipe.filters.heuristics.ExpandTitleToContentFilter
public final class ExpandTitleToContentFilter
Marks all TextBlock
s "content" which are between the headline and the part that
has already been marked content, if they are marked TextBlockLabel.MIGHT_BE_CONTENT
.
This filter is quite specific to the news domain.
Field Summary | |
---|---|
static ExpandTitleToContentFilter |
INSTANCE
|
Constructor Summary | |
---|---|
ExpandTitleToContentFilter()
|
Method Summary | |
---|---|
static ExpandTitleToContentFilter |
getInstance()
Returns the singleton instance for ExpandTitleToContentFilter. |
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 |
Field Detail |
---|
public static final ExpandTitleToContentFilter INSTANCE
Constructor Detail |
---|
public ExpandTitleToContentFilter()
Method Detail |
---|
public static ExpandTitleToContentFilter getInstance()
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 |