Textractor API textractor-720 (20091120123250)

textractor.util
Interface SentenceFilter

All Known Implementing Classes:
NullSentenceFilter, SentenceLengthFilter, SentenceParenthesesFilter, SentenceReferenceFilter

public interface SentenceFilter

User: Fabien Campagne Date: Nov 7, 2004 Time: 10:08:02 AM


Method Summary
 boolean filterSentence(CharSequence text)
          Determine if a sentence should be removed from the index, based on the text that it contains.
 boolean filterSentence(TextractorDocument document)
          Determine if a sentence should be removed from the index, based on the text that it contains.
 

Method Detail

filterSentence

boolean filterSentence(CharSequence text)
Determine if a sentence should be removed from the index, based on the text that it contains.

Parameters:
text - Text of the sentence
Returns:
True if the sentence should be removed from the index, False if the sentence should be indexed.

filterSentence

boolean filterSentence(TextractorDocument document)
Determine if a sentence should be removed from the index, based on the text that it contains.

Parameters:
document - Document to be filtered
Returns:
True if the sentence should be removed from the index, False if the sentence should be indexed.

Textractor API textractor-720 (20091120123250)

Copyright © 2003-2008 Institute for Computational Biomedicine, All Rights Reserved.