|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.l3s.boilerpipe.filters.english.TerminatingBlocksFinder
public class TerminatingBlocksFinder
Finds blocks which are potentially indicating the end of an article text and
marks them with DefaultLabels.INDICATES_END_OF_TEXT
. This can be used
in conjunction with a downstream IgnoreBlocksAfterContentFilter
.
IgnoreBlocksAfterContentFilter
Field Summary | |
---|---|
static TerminatingBlocksFinder |
INSTANCE
|
Constructor Summary | |
---|---|
TerminatingBlocksFinder()
|
Method Summary | |
---|---|
static TerminatingBlocksFinder |
getInstance()
Returns the singleton instance for TerminatingBlocksFinder. |
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 TerminatingBlocksFinder INSTANCE
Constructor Detail |
---|
public TerminatingBlocksFinder()
Method Detail |
---|
public static TerminatingBlocksFinder 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 |