de.l3s.boilerpipe.filters.simple
Class SurroundingToContentFilter

java.lang.Object
  extended by de.l3s.boilerpipe.filters.simple.SurroundingToContentFilter
All Implemented Interfaces:
BoilerpipeFilter

public class SurroundingToContentFilter
extends java.lang.Object
implements BoilerpipeFilter


Field Summary
static SurroundingToContentFilter INSTANCE_TEXT
           
 
Constructor Summary
SurroundingToContentFilter(TextBlockCondition cond)
           
 
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

INSTANCE_TEXT

public static final SurroundingToContentFilter INSTANCE_TEXT
Constructor Detail

SurroundingToContentFilter

public SurroundingToContentFilter(TextBlockCondition cond)
Method Detail

process

public boolean process(TextDocument doc)
                throws BoilerpipeProcessingException
Description copied from interface: BoilerpipeFilter
Processes the given document doc.

Specified by:
process in interface BoilerpipeFilter
Parameters:
doc - The TextDocument that is to be processed.
Returns:
true if changes have been made to the TextDocument.
Throws:
BoilerpipeProcessingException