|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.l3s.boilerpipe.filters.heuristics.LabelFusion
public final class LabelFusion
Fuses adjacent blocks if their labels are equal.
| Field Summary | |
|---|---|
static LabelFusion |
INSTANCE
|
| Constructor Summary | |
|---|---|
LabelFusion(java.lang.String labelPrefix)
Creates a new LabelFusion instance. |
|
| Method Summary | |
|---|---|
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 LabelFusion INSTANCE
| Constructor Detail |
|---|
public LabelFusion(java.lang.String labelPrefix)
LabelFusion instance.
maxBlocksDistance - The maximum distance in blocks.contentOnly - | Method Detail |
|---|
public boolean process(TextDocument doc)
throws BoilerpipeProcessingException
BoilerpipeFilterdoc.
process in interface BoilerpipeFilterdoc - 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 | |||||||||