de.l3s.boilerpipe.extractors
Class ArticleSentencesExtractor

java.lang.Object
  extended by de.l3s.boilerpipe.extractors.ExtractorBase
      extended by de.l3s.boilerpipe.extractors.ArticleSentencesExtractor
All Implemented Interfaces:
BoilerpipeExtractor, BoilerpipeFilter

public final class ArticleSentencesExtractor
extends ExtractorBase

A full-text extractor which is tuned towards extracting sentences from news articles.

Author:
Christian Kohlsch??tter

Field Summary
static ArticleSentencesExtractor INSTANCE
           
 
Constructor Summary
ArticleSentencesExtractor()
           
 
Method Summary
static ArticleSentencesExtractor getInstance()
          Returns the singleton instance for ArticleSentencesExtractor.
 boolean process(TextDocument doc)
          Processes the given document doc.
 
Methods inherited from class de.l3s.boilerpipe.extractors.ExtractorBase
getText, getText, getText, getText, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ArticleSentencesExtractor INSTANCE
Constructor Detail

ArticleSentencesExtractor

public ArticleSentencesExtractor()
Method Detail

getInstance

public static ArticleSentencesExtractor getInstance()
Returns the singleton instance for ArticleSentencesExtractor.


process

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

Parameters:
doc - The TextDocument that is to be processed.
Returns:
true if changes have been made to the TextDocument.
Throws:
BoilerpipeProcessingException