textractor.sentence
Interface SentenceConsumer
- All Superinterfaces:
- SentenceProcessor, TextractorProcessor
- All Known Implementing Classes:
- AbstractSentenceConsumer, DatabaseTextConsumer, DocumentStoreBuilder, Indexer, QueueTextConsumer, SentenceWriter, TextConsumer
public interface SentenceConsumer
- extends SentenceProcessor
A sentence consumer processes Sentences along with
their associated Article. Consumers are encouraged to accept
SentenceProcessingCompleteEvent objects
from their corresponding SentenceProducer or
SentenceTransformer.
consume
void consume(Article article,
Collection<Sentence> sentences)
throws SentenceProcessingException
- Process sentences along with their associated article.
- Parameters:
article - The article assoicated with the sentences.sentences - A collection of Sentences to process.
- Throws:
SentenceProcessingException - If there was an error condition
in the textractor sentence processing pipeline
Copyright © 2003-2008 Institute for Computational Biomedicine, All Rights Reserved.